summaryrefslogtreecommitdiff
path: root/src/post.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-05-08 18:32:32 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-05-08 18:44:35 -0400
commit3fcabf0281bb89f3e54d4f2ffad14fca22def6ae (patch)
treefde3f0515b943a425530084381700e9f5c0f2b0e /src/post.c
parent9d0d08c8debe560eadec5079def966874e90f026 (diff)
downloadqemu-seabios-3fcabf0281bb89f3e54d4f2ffad14fca22def6ae.tar.gz
Fix int 1589 calls when CONFIG_ENTRY_EXTRASTACK is enabled.
The int 1589 call is entered in real mode and returns in protected mode. However, the code to use the "extra stack" does not support that. Fix this by never using the "extra stack" on int 1589 calls. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/post.c')
-rw-r--r--src/post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post.c b/src/post.c
index 0d9e66f..0fdd28e 100644
--- a/src/post.c
+++ b/src/post.c
@@ -61,7 +61,7 @@ ivt_init(void)
SET_IVT(0x12, FUNC16(entry_12));
SET_IVT(0x13, FUNC16(entry_13_official));
SET_IVT(0x14, FUNC16(entry_14));
- SET_IVT(0x15, FUNC16(entry_15));
+ SET_IVT(0x15, FUNC16(entry_15_official));
SET_IVT(0x16, FUNC16(entry_16));
SET_IVT(0x17, FUNC16(entry_17));
SET_IVT(0x18, FUNC16(entry_18));