bsp: xil_printf: Handle 'p' conversions

Treat 'p' conversions as alias of 'x'. Strictly, not fully correct, but
better than ignoring them.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
This commit is contained in:
Soren Brinkmann 2015-06-09 14:55:38 -07:00 committed by Nava kishore Manne
parent b0c3014a99
commit 3620711f05
4 changed files with 4 additions and 0 deletions

View file

@ -285,6 +285,7 @@ void xil_printf( const char8 *ctrl1, ...)
}
Check = 1;
break;
case 'p':
case 'X':
case 'x':
outnum((s32)va_arg(argp, s32), 16L, &par);

View file

@ -274,6 +274,7 @@ void xil_printf( const char8 *ctrl1, ...)
}
Check = 1;
break;
case 'p':
case 'X':
case 'x':
outnum((s32)va_arg(argp, s32), 16L, &par);

View file

@ -285,6 +285,7 @@ void xil_printf( const char8 *ctrl1, ...)
}
Check = 1;
break;
case 'p':
case 'X':
case 'x':
outnum((s32)va_arg(argp, s32), 16L, &par);

View file

@ -285,6 +285,7 @@ void xil_printf( const char8 *ctrl1, ...)
}
Check = 1;
break;
case 'p':
case 'X':
case 'x':
outnum((s32)va_arg(argp, s32), 16L, &par);