41956b5742
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> |
||
---|---|---|
.. | ||
i8042 | ||
serial | ||
storage | ||
timer | ||
udc | ||
usb | ||
video | ||
Makefile.inc | ||
cbmem_console.c | ||
hid.c | ||
mouse_cursor.c | ||
nvram.c | ||
options.c | ||
pci.c | ||
speaker.c |