coreboot-kgpe-d16/payloads/libpayload/libc
Yi Chou 582c2a7980 libpayload: Add dma_allocator_range()
Some sensitive data may remain DMA buffer, we will want to zero out
everything on the DMA buffer before we jump into the kernel to
prevent leaking sensitive data into the kernel.

To accomplish that, we will need this function to get the range of
memory that can be allocated by the dma allocator.

BUG=b:248610274
TEST=emerge-cherry libpayload
BRANCH=none

Signed-off-by: Yi Chou <yich@google.com>
Change-Id: I8f3058dfd861ed44f716623967201b8cabe8d166
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78407
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
2023-11-21 13:50:53 +00:00
..
Makefile.inc libpayload/libc/getopt_long: Use common GCD 2023-11-04 17:09:36 +00:00
args.c
console.c
coreboot.c
ctype.c
die.c
exec.c
fmap.c
fpmath.c
getopt_long.c libpayload/libc/getopt_long: Use common GCD 2023-11-04 17:09:36 +00:00
hexdump.c
ipchecksum.c
lib.c libpayload: Add vboot and reboot utility functions 2023-09-18 15:42:31 +00:00
libgcc.c
lp_vboot.c libpayload: Add vboot and reboot utility functions 2023-09-18 15:42:31 +00:00
malloc.c libpayload: Add dma_allocator_range() 2023-11-21 13:50:53 +00:00
memory.c
printf.c libpayload: Fix clang fallthrough warning 2023-08-28 02:12:25 +00:00
qsort.c
rand.c
readline.c
string.c
strlcpy.c
sysinfo.c
time.c libpayload/libc/time: Fix possible overflow in multiplication 2023-11-07 19:25:23 +00:00