coreboot/payloads/libpayload/include
Yu-Ping Wu e5cce00552 libpayload: Remove default empty implementations in mock cache.h
The mock/arch/cache.h file exists for libpayload unit tests. However,
the default implementations (as empty macros) in it make these functions
difficult to mock in unit tests.

Therefore, we follow what's done for mock/arch/io.h, by only including
function declarations in the header. Each test is expected to implement
mocks for these cache functions when required.

Change-Id: Ie4383bf95435fd7d74d624b19b79b5a117cf6d00
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84608
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Hsuan-ting Chen <roccochen@google.com>
2024-10-02 02:30:12 +00:00
..
arm/arch
arm64/arch
arpa
mock/arch libpayload: Remove default empty implementations in mock cache.h 2024-10-02 02:30:12 +00:00
pci
storage
sys
udc
usb
x86/arch libpayload/x86: Add x86-64 support to rdtsc() 2024-07-11 15:27:30 +00:00
archive.h
assert.h libpayload: Use __func__ instead of old __FUNCTION__ 2023-02-17 16:19:44 +00:00
boot_device.h
cbfs.h libpayload: Remove legacy CBFS API 2024-02-22 21:18:39 +00:00
cbfs_glue.h cbfs/vboot: Adapt to new vb2_digest API 2022-09-02 23:51:29 +00:00
cbgfx.h
coreboot_tables.h libpayload: Switch to commonlib ipchksum() algorithm 2024-02-02 22:48:48 +00:00
ctype.h
delay.h libpayload: Outsource delay function into own header 2023-08-24 13:35:02 +00:00
die.h treewide: Move stdlib.h to commonlib 2024-03-15 10:09:43 +00:00
endian.h libpayload/include/endian.h: Add 64 bit enc/dec 2024-06-22 03:59:03 +00:00
errno.h
exception.h
fmap.h
fpmath.h
gdb.h
getopt.h
inttypes.h
kconfig.h
keycodes.h
libpayload.h libpayload: Include commonlib/helpers.h in libpayload.h for GPL builds 2024-03-25 08:23:35 +00:00
limits.h
lp_vboot.h libpayload: Add vboot and reboot utility functions 2023-09-18 15:42:31 +00:00
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h
queue.h
stdarg.h libpayload/include/stdarg.h: Add va_copy builtin 2023-08-17 16:46:07 +00:00
stdbool.h
stddef.h libpayload: Outsource delay function into own header 2023-08-24 13:35:02 +00:00
stdint.h libpayload: Add missing SIZE_MAX define 2024-08-19 23:20:00 +00:00
stdio.h
stdlib.h treewide: Move stdlib.h to commonlib 2024-03-15 10:09:43 +00:00
string.h commonlib/bsd: Add strcat() and strncat() functions 2024-08-14 03:09:20 +00:00
strings.h libpayload: strings.h: Use builtin __ffs instead of included one 2023-03-07 17:11:05 +00:00
sysinfo.h libpayload: add cse_*info pointer to lib_sysinfo 2024-06-21 19:59:39 +00:00
term.h
time.h
unistd.h
video_console.h
wchar.h