[coreboot] How can I call the interrupt of SeaBIOS in coreboot?

Stefan Reinauer stepan at coresystems.de
Tue Jul 15 18:18:20 CEST 2008


Zhang Rui wrote:
> Hello Kevin,
>
> I can use SeaBIOS to initialize vga and return to coreboot now.
>
> But when I returned to coreboot and call int19, nothing happens.
> It can boot correctly when call int19 in SeaBIOS.
> Maybe it has something to do with the stack?
> How can I call the interrupt of SeaBIOS in coreboot?
>   
How are you doing this currently?
Maybe coreboot-v2/src/mainboard/via/epia-m/vgabios.c:void
vga_enable_console()
(around line 233) helps?


>> But pci_dev_init() is executed more than one time so vga is
>> initialized more than one time in SeaBIOS. A flag variable would be
>> used to run SeaBIOS only once.
>>
>>     
> This is fixed now.
>   

How are you doing it? I think the correct way is to only initialize one
given device for every call into the init function.



Stefan

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the coreboot mailing list