summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
80ddda5)
- Also added some commenting
}
itoa(tmpBuf, val, 10, minSize, pad);
goto printString;
}
itoa(tmpBuf, val, 10, minSize, pad);
goto printString;
GETVAL();
itoa(tmpBuf, val, 10, minSize, pad);
goto printString;
GETVAL();
itoa(tmpBuf, val, 10, minSize, pad);
goto printString;
+ case 'P': // Physical Address
+ PUTCH('0');
+ PUTCH('x');
+ if(sizeof(tPAddr) > 4) isLongLong = 1;
+ GETVAL();
+ itoa(tmpBuf, val, 16, minSize, pad);
+ goto printString;
+ case 'X': // Hex
if(BITS == 64)
isLongLong = 1; // TODO: Handle non-x86 64-bit archs
GETVAL();
itoa(tmpBuf, val, 16, minSize, pad);
goto printString;
if(BITS == 64)
isLongLong = 1; // TODO: Handle non-x86 64-bit archs
GETVAL();
itoa(tmpBuf, val, 16, minSize, pad);
goto printString;
+ case 'x': // Lower case hex
GETVAL();
itoa(tmpBuf, val, 16, minSize, pad);
goto printString;
GETVAL();
itoa(tmpBuf, val, 16, minSize, pad);
goto printString;
GETVAL();
itoa(tmpBuf, val, 8, minSize, pad);
goto printString;
GETVAL();
itoa(tmpBuf, val, 8, minSize, pad);
goto printString;