diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-04-19 12:22:22 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-05-06 12:10:36 -0400 |
commit | 6c68e7adfa6255268a80522ea39dfef4aa20ca70 (patch) | |
tree | fe7f741029166626daf5d21930d1f499ac37dcda /src/util.h | |
parent | d85c22e44ee4e24f2be19d579ea8fa0066a85fbb (diff) | |
download | seabios-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |