mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
refine: remove redundant data type definition
remove data defination of mmio_addr_t, vaddr_t, paddr_t, and ioport_t. Signed-off-by: Zheng, Gen <gen.zheng@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
This commit is contained in:
@@ -171,7 +171,7 @@ void console_dump_bytes(const void *p, unsigned int len)
|
||||
/* dump all bytes */
|
||||
while (x < e) {
|
||||
/* write the address of the first byte in the row */
|
||||
printf("%08x: ", (vaddr_t) x);
|
||||
printf("%08x: ", (uint64_t) x);
|
||||
/* print one row (16 bytes) as hexadecimal values */
|
||||
for (i = 0; i < 16; i++)
|
||||
printf("%02x ", x[i]);
|
||||
|
||||
Reference in New Issue
Block a user