max physical addr size is 48 bit so print less characters
This commit is contained in:
parent
97de484efb
commit
66c9274bdb
@ -380,7 +380,7 @@ BOCHSAPI extern logfunc_t *genlog;
|
||||
#endif
|
||||
|
||||
#if BX_PHY_ADDRESS_LONG
|
||||
#define FMT_PHY_ADDRX FMT_ADDRX64
|
||||
#define FMT_PHY_ADDRX FMT_PHY_ADDRX64
|
||||
#else
|
||||
#define FMT_PHY_ADDRX FMT_ADDRX32
|
||||
#endif
|
||||
|
@ -55,10 +55,12 @@ extern "C" {
|
||||
#define FMT_LL "%ll"
|
||||
#define FMT_TICK "%011llu"
|
||||
#define FMT_ADDRX64 "%016llx"
|
||||
#define FMT_PHY_ADDRX64 "%012llx"
|
||||
#else
|
||||
#define FMT_LL "%I64"
|
||||
#define FMT_TICK "%011I64u"
|
||||
#define FMT_ADDRX64 "%016I64x"
|
||||
#define FMT_PHY_ADDRX64 "%012I64x"
|
||||
#endif
|
||||
|
||||
// always return regular file.
|
||||
|
Loading…
Reference in New Issue
Block a user