coreboot-kgpe-d16/payloads/libpayload/include
Yu-Ping Wu 41956b5742 libpayload: Implement reading from CBMEM console
To support showing CBMEM logs on recovery screen, add a function
cbmem_console_snapshot() to copy the CBMEM console to an allocated
buffer. Non-printable characters are automatically replaced with '?' to
ensure the returned string is printable.

BRANCH=none
BUG=b:146105976
TEST=emerge-nami libpayload

Change-Id: Ie324055f5fd8276f1d833fc9d04f60a792dbb9f6
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37667
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
2019-12-16 09:47:38 +00:00
..
arm/arch
arm64/arch libpayload: arm64: Make exception handling closer to arm32 2018-10-12 20:17:28 +00:00
arpa
pci
storage payloads: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-07 17:15:30 +00:00
sys libpayload/sys/types.h: Add definition for off_t 2019-02-13 12:03:03 +00:00
udc
usb libpayload/usb: add USB 3.1 GEN2 support 2019-08-27 07:21:00 +00:00
x86/arch libpayload/apic: Only ACK interrupts triggered by the APIC 2018-10-04 15:24:20 +00:00
archive.h
assert.h
cbfs.h
cbfs_core.h util/cbfstool: Add optional argument ibb 2019-10-18 15:37:37 +00:00
cbfs_ram.h
cbgfx.h
compiler.h Make common macros double-evaluation safe 2019-04-04 19:38:31 +00:00
coreboot_tables.h libpayload: refactor fetching cbmem pointers 2019-10-03 15:27:30 +00:00
ctype.h
die.h
endian.h endian: Replace explicit byte swapping with compiler builtin 2019-12-06 15:08:50 +00:00
errno.h
exception.h libpayload/x86/exception: Add ability to handle user defined interrupts 2018-09-10 15:01:04 +00:00
fmap_serialized.h fmap: Add FMAP_AREA_PRESERVE 2019-03-04 13:25:01 +00:00
gdb.h libpayload: gdb: Factor out gdb_handle_reentrant_exception() from arm32 2018-10-12 20:17:40 +00:00
getopt.h
inttypes.h
ipchksum.h
kconfig.h Add new CONFIG(XXX) macro to replace IS_ENABLED(CONFIG_XXX) 2019-03-07 17:06:28 +00:00
keycodes.h
libpayload.h libpayload: Implement reading from CBMEM console 2019-12-16 09:47:38 +00:00
limits.h libpayload: limits.h: Provide reliable definitions for all XXX_MAX/MIN 2019-04-10 10:43:27 +00:00
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h
queue.h payloads: Remove/fix trailing whitespace 2018-09-04 12:38:40 +00:00
stdarg.h
stddef.h libpayload/libc/time: Add an arch_ndelay() 2018-09-12 14:15:18 +00:00
stdint.h
stdio.h
stdlib.h libpayload: Deduplicate strtol and strtoull 2019-04-10 10:44:31 +00:00
string.h libpayload/libc: Tidy utf16le_to_ascii 2019-07-23 09:09:45 +00:00
strings.h
sysinfo.h lib/coreboot_table: Add CBMEM_ID_VBOOT_WORKBUF pointer to coreboot table 2019-12-02 13:00:45 +00:00
term.h
time.h
unistd.h
video_console.h