mbox series

[v2,0/3] print befor sbi_console_init

Message ID 20240624141903.2305676-1-wxjstz@126.com
Headers show
Series print befor sbi_console_init | expand

Message

Xiang W June 24, 2024, 2:18 p.m. UTC
v2 changes:
- Moved the console initialization on crash to a separate patch as
suggested by Himanshu Chauhan
- Add console buffer size configuration in kconfig as suggested by
Himanshu Chauhan
- Fixed some code comments and formatting

This patch is used to output information to the console before
sbi_console_init

Xiang W (3):
  lib: sbi: print before sbi_console_init
  lib: sbi: dump logs when crash
  lib: sbi: Make the console print buffer size configurable

 lib/sbi/Kconfig       |  4 ++++
 lib/sbi/sbi_console.c | 31 ++++++++++++++++++++++++++++++-
 lib/sbi/sbi_hart.c    |  4 ++++
 3 files changed, 38 insertions(+), 1 deletion(-)