diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-10-25 19:50:47 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-10-25 19:50:47 +0000 |
commit | 074356ec819be284fb1e8d18a68678b72c5282da (patch) | |
tree | 9f92a9da412d3cb8be7958390164fe44d4b7ec16 /util/x86emu/x86_interrupts.c | |
parent | 46a895e633a6b4bd3f4a8391529cc069a8a8d04b (diff) | |
download | coreboot-074356ec819be284fb1e8d18a68678b72c5282da.tar.xz |
Option ROM init x86/x86emu update
- use default display in int 15 5f35
- move REALMODE_BASE to 0x600, 0x500 can be BDA
- add regparm for assembler functions
- use memset instead of own implementation
- YABEL: copy back the IVT, BDA and VBIOS. Some Xorg drivers require this.
- YABEL: use hardware timer instead of emulated timer, because the emulated
timer's base is never initialized (leading to division by zero if the
timer is really used)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4852 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/x86emu/x86_interrupts.c')
-rw-r--r-- | util/x86emu/x86_interrupts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/x86emu/x86_interrupts.c b/util/x86emu/x86_interrupts.c index 1582ef1ec1..556e81043a 100644 --- a/util/x86emu/x86_interrupts.c +++ b/util/x86emu/x86_interrupts.c @@ -206,6 +206,7 @@ int int15_handler(struct eregs *regs) regs->eax = 0x860f; break; /* And now Intel IGD code */ +#define BOOT_DISPLAY_DEFAULT 0 #define BOOT_DISPLAY_CRT (1 << 0) #define BOOT_DISPLAY_TV (1 << 1) #define BOOT_DISPLAY_EFP (1 << 2) @@ -217,7 +218,7 @@ int int15_handler(struct eregs *regs) case 0x5f35: regs->eax = 0x5f; - regs->ecx = BOOT_DISPLAY_LCD|BOOT_DISPLAY_CRT; + regs->ecx = BOOT_DISPLAY_DEFAULT; res = 0; break; case 0x5f40: |