coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
media.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
#include <
boot_device.h
>
4
5
/* Maps directly to NOR flash up to ROM size. */
6
static
const
struct
mem_region_device
boot_dev
=
7
MEM_REGION_DEV_RO_INIT
((
void
*)0x0, CONFIG_ROM_SIZE);
8
9
const
struct
region_device
*
boot_device_ro
(
void
)
10
{
11
return
&
boot_dev
.
rdev
;
12
}
boot_device.h
boot_device_ro
const struct region_device * boot_device_ro(void)
Definition:
media.c:9
boot_dev
static const struct mem_region_device boot_dev
Definition:
media.c:6
MEM_REGION_DEV_RO_INIT
#define MEM_REGION_DEV_RO_INIT(base_, size_)
Definition:
region.h:208
mem_region_device
Definition:
region.h:182
mem_region_device::rdev
struct region_device rdev
Definition:
region.h:184
region_device
Definition:
region.h:81
src
mainboard
emulation
qemu-aarch64
media.c
Generated by
1.9.1