From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2sGc-00058F-Qj for qemu-devel@nongnu.org; Wed, 29 Feb 2012 17:45:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2sGa-0007xA-Vc for qemu-devel@nongnu.org; Wed, 29 Feb 2012 17:45:02 -0500 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Wed, 29 Feb 2012 23:44:58 +0100 Message-Id: <1330555499-11726-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] pc: make user-triggerable exit conditional to DEBUG_BIOS define List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Anthony Liguori , =?UTF-8?q?Herv=C3=A9=20Poussineau?= The port 0x501 is (at least) used by SCO Xenix 2.3.4 installer. Signed-off-by: Herv=C3=A9 Poussineau --- hw/pc.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 12c02f2..113a38a 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -565,7 +565,10 @@ static void bochs_bios_write(void *opaque, uint32_t = addr, uint32_t val) /* LGPL'ed VGA BIOS messages */ case 0x501: case 0x502: +#ifdef DEBUG_BIOS exit((val << 1) | 1); +#endif + break; case 0x500: case 0x503: #ifdef DEBUG_BIOS --=20 1.7.9