Changeset 43b1e86 in mainline for kernel/arch/ia32/src/mm/frame.c


Ignore:
Timestamp:
2008-02-01T14:11:18Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9652bd59
Parents:
acfdcb0
Message:

prettyprint output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/mm/frame.c

    racfdcb0 r43b1e86  
    9797static int cmd_e820mem(cmd_arg_t *argv)
    9898{
    99         int i;
     99        unsigned int i;
    100100        char *name;
    101 
     101       
     102        printf("Base               Size               Name\n");
     103        printf("------------------ ------------------ ---------\n");
     104               
    102105        for (i = 0; i < e820counter; i++) {
    103106                if (e820table[i].type <= MEMMAP_MEMORY_UNUSABLE)
     
    105108                else
    106109                        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);
    110113        }                       
    111114        return 0;
Note: See TracChangeset for help on using the changeset viewer.