Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1702 | Rev 1780 | ||
|---|---|---|---|
| Line 49... | Line 49... | ||
| 49 | #include <console/kconsole.h> |
49 | #include <console/kconsole.h> |
| 50 | 50 | ||
| 51 | size_t hardcoded_unmapped_ktext_size = 0; |
51 | size_t hardcoded_unmapped_ktext_size = 0; |
| 52 | size_t hardcoded_unmapped_kdata_size = 0; |
52 | size_t hardcoded_unmapped_kdata_size = 0; |
| 53 | 53 | ||
| 54 | __address last_frame = 0; |
54 | uintptr_t last_frame = 0; |
| 55 | 55 | ||
| 56 | static void init_e820_memory(pfn_t minconf) |
56 | static void init_e820_memory(pfn_t minconf) |
| 57 | { |
57 | { |
| 58 | int i; |
58 | int i; |
| 59 | pfn_t start, conf; |
59 | pfn_t start, conf; |
| Line 97... | Line 97... | ||
| 97 | if (e820table[i].type <= MEMMAP_MEMORY_UNUSABLE) |
97 | if (e820table[i].type <= MEMMAP_MEMORY_UNUSABLE) |
| 98 | name = e820names[e820table[i].type]; |
98 | name = e820names[e820table[i].type]; |
| 99 | else |
99 | else |
| 100 | name = "invalid"; |
100 | name = "invalid"; |
| 101 | printf("%.*p %#.16llXB %s\n", |
101 | printf("%.*p %#.16llXB %s\n", |
| 102 | sizeof(__native) * 2, |
102 | sizeof(unative_t) * 2, |
| 103 | (__native) e820table[i].base_address, |
103 | (unative_t) e820table[i].base_address, |
| 104 | (__u64) e820table[i].size, |
104 | (uint64_t) e820table[i].size, |
| 105 | name); |
105 | name); |
| 106 | } |
106 | } |
| 107 | return 0; |
107 | return 0; |
| 108 | } |
108 | } |
| 109 | 109 | ||