[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New frame buffer detection algorithm and loadrom command for
From: |
Bean |
Subject: |
Re: [PATCH] New frame buffer detection algorithm and loadrom command for efi platform |
Date: |
Wed, 25 Mar 2009 23:42:06 +0800 |
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
loadbios_2.diff
Description: Binary data