coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cbmem.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
cbmem.h
>
4
5
void
*
cbmem_top_chipset
(
void
)
6
{
7
/* Top of cbmem is at lowest usable DRAM address below 4GiB. */
8
/* For now, last 1M of 4G */
9
void
*ptr = (
void
*) ((1ULL << 32) - 1048576);
10
return
ptr;
11
}
cbmem.h
cbmem_top_chipset
void * cbmem_top_chipset(void)
Definition:
cbmem.c:6
src
mainboard
emulation
qemu-power8
cbmem.c
Generated by
1.9.1