aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-04-19 12:22:22 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-05-06 12:10:36 -0400
commit6c68e7adfa6255268a80522ea39dfef4aa20ca70 (patch)
treefe7f741029166626daf5d21930d1f499ac37dcda /src/util.h
parentd85c22e44ee4e24f2be19d579ea8fa0066a85fbb (diff)
downloadseabios-6c68e7adfa6255268a80522ea39dfef4aa20ca70.tar.gz
If an int 1587 call is made from an option rom, stay in bigreal mode.
Modify the int 1587 handler to check if the POST phase is still running. If it is, use bigreal mode segment limits so that the caller remains in bigreal mode when the 1587 handler completes. This helps with SeaVGABIOS' use of "direct" framebuffer accesses (an option rom may attempt to display text during its option rom execution which can cause SeaVGABIOS to make the int 1587 calls). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 9557581b..0cbea485 100644
--- a/src/util.h
+++ b/src/util.h
@@ -178,6 +178,7 @@ void process_key(u8 key);
// misc.c
extern struct bios_config_table_s BIOS_CONFIG_TABLE __aligned(1);
extern u8 BiosChecksum;
+int in_post(void);
void mathcp_setup(void);
// mouse.c