[PATCH v6 00/12] Improve sbi_console

Xiang W wxjstz at 126.com
Mon Jun 12 01:09:47 PDT 2023


v5 changes:
- PATCH12: fix printf("%%") missing USED_TBUF;  
- add PATCH14, Fix invalid directive print

v4 changes:
- PATCH11: Simplify printc
- add PATCH13, handle special case

v3 changes:
- PATCH11: Simplify get info->type
- PATCH12: Change the way to keep USED_TBUF by and to reset it by use_tbuf

v2 changes:
- add patch 10-12

Xiang W (12):
  lib: sbi: Fix how print gets flags
  lib: sbi: print not fill '0' when left-aligned
  lib: sbi: Add '+' flags for print
  lib: sbi: Add ' ' '\'' flags for print
  lib: sbi: implifying the parameters of printi
  lib: sbi: print add 'o' type
  lib: sbi: Fix printi
  lib: sbi: Simplify prints
  lib: sbi: sbi_console.c code re-layout
  lib: sbi: Add print_info for sbi_console.c
  lib: sbi: Fix timing of clearing tbuf
  lib: sbi: Fix missing '\0' when buffer szie equal 1

 lib/sbi/sbi_console.c | 413 ++++++++++++++++++++++--------------------
 1 file changed, 212 insertions(+), 201 deletions(-)

-- 
2.39.2




More information about the opensbi mailing list