From 074356ec819be284fb1e8d18a68678b72c5282da Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sun, 25 Oct 2009 19:50:47 +0000 Subject: 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 Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4852 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/x86emu/x86_interrupts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util/x86emu/x86_interrupts.c') 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: -- cgit v1.2.3