armv7-m: Implement SYSRESETREQ
commite192becdc7b05276a41ebef9fe11e6c30ddb91e3
authorMichael Davidsaver <mdavidsaver@gmail.com>
Tue, 3 Nov 2015 13:49:41 +0000 (3 13:49 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Nov 2015 13:49:41 +0000 (3 13:49 +0000)
tree328e7fc27d02dbe94412e95ccbe45d313c89da67
parent20c59c38927902a8e2c67da7d9a24b5222a31cb7
armv7-m: Implement SYSRESETREQ

Implement the SYSRESETREQ bit of the AIRCR register
for armv7-m (ie. cortex-m3) to trigger a GPIO out.

Signed-off-by: Michael Davidsaver <mdavidsaver@gmail.com>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/armv7m_nvic.c