Hi,

The new patch have some adjustment:

1, The loadbios code is moved out of linux.c, it's in a standalone
module loadbios.mod, you could use:

fakebios

or

loadbios /VBIOS.bin

Both will fake acpi and dmi information, loadbios loads video bios rom
from external file as well.

2, loadbios doesn't load ivt.bin anymore, you need to set INT13 with
command write_dword in module memrw. First, use hexdump to get the
INT13 vector from pc boot:

sudo hexdump /dev/mem -e '1/4 "0x%x\n"' -s 0x40 -n 4

Result is something like this:
0xc0000014

The high word should always be 0xc000.

In grub2, use write_dword to change INT13:

write_dword 0x40 0xc0000014

-- 
Bean

Attachment: loadbios_2.diff
Description: Binary data

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to