Revert "bsp: a53: added support for 64bit print in xil_printf"
This reverts commit 546c719e6729eb90daea3027269373542b198668.
This commit is contained in:
parent
456ed53663
commit
0ce98191e9
1 changed files with 5 additions and 5 deletions
|
@ -86,15 +86,15 @@ static void outs(const charptr lp, params_t *par)
|
|||
/* as directed by the padding and positioning flags. */
|
||||
/* */
|
||||
|
||||
static void outnum( const s64 n, const s32 base, params_t *par)
|
||||
static void outnum( const s32 n, const s32 base, params_t *par)
|
||||
{
|
||||
charptr cp;
|
||||
s32 negative;
|
||||
s32 i;
|
||||
char8 outbuf[64];
|
||||
char8 outbuf[32];
|
||||
const char8 digits[] = "0123456789ABCDEF";
|
||||
u64 num;
|
||||
for(i = 0; i < 64; i++) {
|
||||
u32 num;
|
||||
for(i = 0; i<32; i++) {
|
||||
outbuf[i] = '0';
|
||||
}
|
||||
|
||||
|
@ -282,7 +282,7 @@ void xil_printf( const char8 *ctrl1, ...)
|
|||
case 'X':
|
||||
case 'x':
|
||||
par.unsigned_flag = 1;
|
||||
outnum((s64)va_arg(argp, s64), 16L, &par);
|
||||
outnum((s32)va_arg(argp, s32), 16L, &par);
|
||||
Check = 1;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue