coreboot-kgpe-d16/payloads/libpayload/drivers
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
..
i8042 libpayload/drivers/i8042: Add error handling 2019-12-13 09:05:07 +00:00
serial libpayload/serial/qcs405: Mark uart console as such 2019-07-26 08:41:38 +00:00
storage libpayload: ahci: Prevent memory leaks when failing on init 2019-05-15 17:54:02 +00:00
timer Remove MIPS architecture 2019-11-20 10:10:48 +00:00
udc Change all clrsetbits_leXX() to clrsetbitsXX() 2019-12-04 14:11:17 +00:00
usb libpayload: usbmsc: update return value of CSW transfer 2019-11-11 10:25:24 +00:00
video libpayload: cbgfx: Allow rotation of the display 2019-08-08 03:20:06 +00:00
Makefile.inc Remove imgtec/pistachio SoC 2019-11-20 10:10:44 +00:00
cbmem_console.c libpayload: Implement reading from CBMEM console 2019-12-16 09:47:38 +00:00
hid.c
mouse_cursor.c payloads: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-07 17:15:30 +00:00
nvram.c payloads: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-07 17:15:30 +00:00
options.c libpayload/option table: Don't pad string entries with garbage 2019-04-11 12:03:07 +00:00
pci.c
speaker.c