Changeset 43b1e86 in mainline for kernel/arch/ia32/src/mm/frame.c
- Timestamp:
- 2008-02-01T14:11:18Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9652bd59
- Parents:
- acfdcb0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/mm/frame.c
racfdcb0 r43b1e86 97 97 static int cmd_e820mem(cmd_arg_t *argv) 98 98 { 99 int i;99 unsigned int i; 100 100 char *name; 101 101 102 printf("Base Size Name\n"); 103 printf("------------------ ------------------ ---------\n"); 104 102 105 for (i = 0; i < e820counter; i++) { 103 106 if (e820table[i].type <= MEMMAP_MEMORY_UNUSABLE) … … 105 108 else 106 109 name = "invalid"; 107 printf("%.*p %#.16llXB %s\n", sizeof(unative_t) * 2,108 (unative_t) e820table[i].base_address,109 (uint64_t)e820table[i].size, name);110 111 printf("%#18llx %#18llx %s\n", e820table[i].base_address, 112 e820table[i].size, name); 110 113 } 111 114 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.