[PATCH v5 00/14] Improve sbi_console

Xiang W wxjstz at 126.com
Thu Jun 8 20:34:16 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 (14):
  lib: sbi: Fix missing contine in print
  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: Fix invalid directive print

 lib/sbi/sbi_console.c | 421 ++++++++++++++++++++++--------------------
 1 file changed, 218 insertions(+), 203 deletions(-)

-- 
2.39.2




More information about the opensbi mailing list