From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsXij-0003xx-Gm for qemu-devel@nongnu.org; Sat, 31 Oct 2015 11:05:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsXie-0002Wt-D2 for qemu-devel@nongnu.org; Sat, 31 Oct 2015 11:05:29 -0400 Received: from mail-qg0-x22c.google.com ([2607:f8b0:400d:c04::22c]:36406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsXie-0002Wp-9T for qemu-devel@nongnu.org; Sat, 31 Oct 2015 11:05:24 -0400 Received: by qgad10 with SMTP id d10so84414886qga.3 for ; Sat, 31 Oct 2015 08:05:23 -0700 (PDT) From: Michael Davidsaver Date: Sat, 31 Oct 2015 10:05:08 -0500 Message-Id: Subject: [Qemu-devel] [PATCH v4 0/3] armv7-m: exit on external reset request List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, crosthwaitepeter@gmail.com, Michael Davidsaver , alistair23@gmail.com Resending patch set. The only change from v3 is to the message of #3. Changes armv7-m to implement the SYSRESETREQ register as GPIO. This necessitates some refactoring of armv7m_init() and the board code which calls it to allow the additional named GPIO to be used in board code. The Stellaris board installs a handler which calls qemu_system_reset_request(). Michael Davidsaver (3): armv7-m: Return DeviceState* from armv7m_init() armv7-m: Implement SYSRESETREQ arm: stellaris: exit on external reset request hw/arm/armv7m.c | 9 ++------- hw/arm/stellaris.c | 41 ++++++++++++++++++++++++++++++----------- hw/arm/stm32f205_soc.c | 15 ++++++++------- hw/intc/armv7m_nvic.c | 9 ++++++++- include/hw/arm/arm.h | 2 +- 5 files changed, 49 insertions(+), 27 deletions(-) -- 2.1.4