repo.or.cz
/
coreboot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git]
/
src
/
mainboard
/
emulation
/
qemu-power8
/
cbmem.c
blob
15c20f8de426ffabf96952415ab25152dcd960a5
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
}