Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
4e9bb3308e811000eb089be6b03658e4cb9a4717
/
.
/
src
/
mainboard
/
emulation
/
qemu-power8
/
cbmem.c
blob: 15c20f8de426ffabf96952415ab25152dcd960a5 [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-only */
#include
<cbmem.h>
void
*
cbmem_top_chipset
(
void
)
{
/* Top of cbmem is at lowest usable DRAM address below 4GiB. */
/* For now, last 1M of 4G */
void
*
ptr
=
(
void
*)
((
1ULL
<<
32
)
-
1048576
);
return
ptr
;
}