Subversion Repositories HelenOS-historic

Rev

Rev 1196 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1196 Rev 1224
Line 43... Line 43...
43
void memory_print_map(void)
43
void memory_print_map(void)
44
{
44
{
45
    __u8 i;
45
    __u8 i;
46
   
46
   
47
    for (i=0;i<e820counter;i++) {
47
    for (i=0;i<e820counter;i++) {
48
        printf("E820 base: %#llX size: %lld type: ", e820table[i].base_address, e820table[i].size);
48
        printf("E820 base: %#.16llx size: %#.16llx type: ", e820table[i].base_address, e820table[i].size);
49
        switch (e820table[i].type) {
49
        switch (e820table[i].type) {
50
            case MEMMAP_MEMORY_AVAILABLE:
50
            case MEMMAP_MEMORY_AVAILABLE:
51
                printf("available memory\n");
51
                printf("available memory\n");
52
                break;
52
                break;
53
            case MEMMAP_MEMORY_RESERVED:
53
            case MEMMAP_MEMORY_RESERVED: