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
This commit is contained in:
committed by
Stefan Reinauer
parent
46a895e633
commit
074356ec81
@ -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:
|
||||
|
Reference in New Issue
Block a user