[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH] pc: make user-triggerable exit conditional to DEB
From: |
Hervé Poussineau |
Subject: |
[Qemu-trivial] [PATCH] pc: make user-triggerable exit conditional to DEBUG_BIOS define |
Date: |
Wed, 29 Feb 2012 23:44:58 +0100 |
The port 0x501 is (at least) used by SCO Xenix 2.3.4 installer.
Signed-off-by: Hervé Poussineau <address@hidden>
---
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
--
1.7.9
- [Qemu-trivial] [PATCH] pc: make user-triggerable exit conditional to DEBUG_BIOS define,
Hervé Poussineau <=