Some grepping later..
On Tue, Apr 08, 2008 at 06:47:44AM -0400, joe@smittys.pointclark.net wrote:
Anyone know from what file the vga device init code is from???
Initializing devices... Root Device init PCI: 00:00.0 init Northbridge init PCI: 00:02.0 init <<<- WHERE IS THIS???
src/devices/device.c dev_initialize() which calls ops->init which is pci_device.c pci_dev_init() for most if not all devices.
rom address for PCI: 00:02.0 = fff00000 PCI Expansion ROM, signature 0xaa55, INIT size 0x10000, data ptr 0x0040 PCI ROM Image, Vendor 8086, Device 3577, PCI ROM Image, Class Code 030000, Code Type 00 copying VGA ROM Image from 0xfff00000 to 0xc0000, 0x10000 bytes entering emulator halt_sys: file /home/joe/coreboot-v2/src/devices/emulator/x86emu/ops.c, line 4387
These are from pci_rom_probe() and pci_rom_load() in pci_rom.c and run_bios() in emulator/biosemu.c.
//Peter