![]() |
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.
Macros | |
#define | rom_base ((void *)(uintptr_t)(0x100000000ULL-CONFIG_ROM_SIZE)) |
Functions | |
const struct region_device * | boot_device_ro (void) |
uint32_t | spi_flash_get_mmap_windows (struct flash_mmap_window *table) |
Variables | |
static const struct mem_region_device | boot_dev |
Definition at line 8 of file mmap_boot.c.
const struct region_device* boot_device_ro | ( | void | ) |
Definition at line 13 of file mmap_boot.c.
References boot_dev, and mem_region_device::rdev.
uint32_t spi_flash_get_mmap_windows | ( | struct flash_mmap_window * | table | ) |
Definition at line 18 of file mmap_boot.c.
References flash_mmap_window::flash_base, flash_mmap_window::host_base, rom_base, and flash_mmap_window::size.
Referenced by lb_spi_flash().
|
static |
Definition at line 1 of file mmap_boot.c.
Referenced by boot_device_ro().