[coreboot] How can I call the interrupt of SeaBIOS in coreboot?
kevin at koconnor.net
Thu Jul 17 04:08:31 CEST 2008
On Thu, Jul 17, 2008 at 09:58:59AM +0800, Zhang Rui wrote:
> I wrote a function in SeaBIOS:
> void VISIBLE32 boot_coreboot()
> and then use run_address() to execute this boot_coreboot() function in coreboot.
If you want to return to seabios to invoke int19, then you'll need to
load seabios' gdt and stack prior to running any C code. (Just like
is done for the other 32bit seabios entry points.)
> If I manually change to 16bit mode then call int19 in coreboot, will it be OK?
> If it does, the 16bit mode option rom codes can use the int handler of SeaBIOS?
It should work.
More information about the coreboot