[LinuxBIOS] [PATCH] Support other than 0xC000 ROMs in VM86

Alex Beregszaszi alex at rtfs.hu
Tue Sep 4 18:57:20 CEST 2007


this patch changes the real_mode_switch_call_vga() function to jump to
the addr given as an argument instead the hardcoded 0xc000.

Also it changes the function to inline assembly and passes the arguments
through that.

This patch includes the changes from my previous patch "[PATCH] vgabios:
use same interface for biosemu.c and vm86.c", but should be committed

Btw, I think it would be a good idea to export the interrupt handlers to
a common file (biosints.c?) and let it be hooked up by both vm86 and
x86emu implementations.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vm86-extra.diff
Type: text/x-patch
Size: 6222 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070904/88e572f1/attachment.diff>

More information about the coreboot mailing list