mbox series

[v5,00/14] Improve sbi_console

Message ID 20230609033430.84471-1-wxjstz@126.com
Headers show
Series Improve sbi_console | expand

Message

Xiang W June 9, 2023, 3:34 a.m. UTC
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(-)