![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <boot_device.h>
#include <commonlib/region.h>
#include <console/console.h>
#include <fmap.h>
#include <intelblocks/fast_spi.h>
#include <spi_flash.h>
Go to the source code of this file.
Functions | |
static void | bios_mmap_init (void) |
const struct region_device * | boot_device_ro (void) |
uint32_t | spi_flash_get_mmap_windows (struct flash_mmap_window *table) |
Variables | |
static size_t | bios_size |
static struct region_device | shadow_dev |
static struct xlate_region_device | real_dev |
static struct xlate_window | real_dev_window |
Definition at line 49 of file mmap_boot.c.
References base, BIOS_CRIT, bios_size, fast_spi_get_bios_region(), fmap_locate_area(), GiB, KiB, printk, rdev_chain_mem(), real_dev, real_dev_window, region_is_subregion(), region_offset(), region_sz(), shadow_dev, xlate_window::sub_region, xlate_region_device_ro_init(), and xlate_window_init().
Referenced by boot_device_ro(), and spi_flash_get_mmap_windows().
const struct region_device* boot_device_ro | ( | void | ) |
Definition at line 88 of file mmap_boot.c.
References bios_mmap_init(), xlate_region_device::rdev, and real_dev.
uint32_t spi_flash_get_mmap_windows | ( | struct flash_mmap_window * | table | ) |
Definition at line 95 of file mmap_boot.c.
References bios_mmap_init(), flash_mmap_window::flash_base, flash_mmap_window::host_base, rdev_mmap_full(), real_dev_window, region_offset(), region_sz(), shadow_dev, flash_mmap_window::size, and xlate_window::sub_region.
|
static |
Definition at line 43 of file mmap_boot.c.
Referenced by bios_mmap_init(), fast_spi_cache_bios_region(), fast_spi_get_bios_region(), and sb800_cimx_config().
|
static |
Definition at line 43 of file mmap_boot.c.
Referenced by bios_mmap_init(), and boot_device_ro().
|
static |
Definition at line 43 of file mmap_boot.c.
Referenced by bios_mmap_init(), and spi_flash_get_mmap_windows().
|
static |
Definition at line 43 of file mmap_boot.c.
Referenced by bios_mmap_init(), and spi_flash_get_mmap_windows().