![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | rom_header |
struct | pci_data |
Macros | |
#define | PCI_ROM_HDR 0xAA55 |
#define | PCI_DATA_HDR ((uint32_t) (('R' << 24) | ('I' << 16) | ('C' << 8) | 'P')) |
#define | PCI_RAM_IMAGE_START 0xD0000 |
#define | PCI_VGA_RAM_IMAGE_START 0xC0000 |
Functions | |
void | vga_oprom_preload (void) |
struct rom_header * | pci_rom_probe (const struct device *dev) |
struct rom_header * | pci_rom_load (struct device *dev, struct rom_header *rom_header) |
unsigned long | pci_rom_write_acpi_tables (const struct device *device, unsigned long current, struct acpi_rsdp *rsdp) |
void | pci_rom_ssdt (const struct device *device) |
void | map_oprom_vendev_rev (u32 *vendev, u8 *rev) |
u32 | map_oprom_vendev (u32 vendev) |
int | verified_boot_should_run_oprom (struct rom_header *rom_header) |
#define PCI_DATA_HDR ((uint32_t) (('R' << 24) | ('I' << 16) | ('C' << 8) | 'P')) |
Definition at line 17 of file pci_rom.c.
References BARCELO_VBIOS_VID_DID, BIOS_NOTICE, CEZANNE_VBIOS_VID_DID, printk, and SA_IGD_OPROM_VENDEV.
Referenced by pci_rom_probe().
Definition at line 16 of file pci_rom.c.
References BIOS_NOTICE, PICASSO_VBIOS_REV, PICASSO_VBIOS_VID_DID, printk, RAVEN2_VBIOS_REV, RAVEN2_VBIOS_VID_DID, and soc_is_raven2().
Referenced by pci_rom_probe().
struct rom_header* pci_rom_load | ( | struct device * | dev, |
struct rom_header * | rom_header | ||
) |
Definition at line 153 of file pci_rom.c.
References BIOS_DEBUG, device::class, rom_header::data, pci_data::ilen, pci_data::indicator, memcpy(), NULL, PCI_CLASS_DISPLAY_VGA, pci_ram_image_start, PCI_VGA_RAM_IMAGE_START, printk, rom_header::size, pci_data::type, and vga_pri.
Referenced by graphics_set_resources().
struct rom_header* pci_rom_probe | ( | const struct device * | dev | ) |
Definition at line 52 of file pci_rom.c.
References BIOS_DEBUG, BIOS_ERR, BIOS_SPEW, cbfs_boot_map_optionrom(), cbfs_boot_map_optionrom_revision(), device::class, pci_data::class_hi, pci_data::class_lo, CONFIG, rom_header::data, dev_path(), device::device, pci_data::device, map_oprom_vendev(), map_oprom_vendev_rev(), NULL, PCI_CLASS_DISPLAY_VGA, pci_read_config32(), pci_read_config8(), PCI_REVISION_ID, PCI_ROM_ADDRESS, PCI_ROM_ADDRESS_ENABLE, PCI_ROM_ADDRESS_MASK, PCI_ROM_HDR, pci_write_config32(), printk, rom_header::signature, rom_header::size, pci_data::type, device::vendor, and pci_data::vendor.
Referenced by graphics_set_resources().
Referenced by graphics_fill_ssdt(), pcie_generic_fill_ssdt(), and pcie_rtd3_device_acpi_fill_ssdt().
unsigned long pci_rom_write_acpi_tables | ( | const struct device * | device, |
unsigned long | current, | ||
struct acpi_rsdp * | rsdp | ||
) |
int verified_boot_should_run_oprom | ( | struct rom_header * | rom_header | ) |
Definition at line 19 of file pci_rom.c.
References BIOS_DEBUG, cbfs_preload(), CONFIG, name, and printk.