summaryrefslogtreecommitdiff
path: root/src/devices/emulator
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2006-10-27 18:22:13 +0000
committerRonald G. Minnich <rminnich@gmail.com>2006-10-27 18:22:13 +0000
commitf044ede24656e7cf52eb8baca647ed3db851c874 (patch)
treecae4bb02306177dc8569dff13d3104ab9e60b23d /src/devices/emulator
parentcf201870797d542915b2c52fa596b27c1616a821 (diff)
This change fixes a long-standing bug, whereby we do not set ret for an
un-inited vector, which we should have done. Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2479 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/emulator')
-rw-r--r--src/devices/emulator/biosemu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/emulator/biosemu.c b/src/devices/emulator/biosemu.c
index d6ad4e23a0..e38541edd3 100644
--- a/src/devices/emulator/biosemu.c
+++ b/src/devices/emulator/biosemu.c
@@ -122,6 +122,7 @@ void do_int(int num)
case 0x6D:
if (getIntVect(num) == 0x0000) {
printk_debug("un-inited int vector\n");
+ ret = 1;
}
if (getIntVect(num) == 0xFF065) {
//ret = int42_handler();