Rev 4153 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4153 | Rev 4581 | ||
---|---|---|---|
Line 68... | Line 68... | ||
68 | if (((base + size) >> 32) != 0) |
68 | if (((base + size) >> 32) != 0) |
69 | size = 0xffffffff - base; |
69 | size = 0xffffffff - base; |
70 | 70 | ||
71 | #endif |
71 | #endif |
72 | pfn_t pfn; |
72 | pfn_t pfn; |
73 | count_t count; |
73 | size_t count; |
74 | 74 | ||
75 | if (e820table[i].type == MEMMAP_MEMORY_AVAILABLE) { |
75 | if (e820table[i].type == MEMMAP_MEMORY_AVAILABLE) { |
76 | /* To be safe, make available zone possibly smaller */ |
76 | /* To be safe, make available zone possibly smaller */ |
77 | pfn = ADDR2PFN(ALIGN_UP(base, FRAME_SIZE)); |
77 | pfn = ADDR2PFN(ALIGN_UP(base, FRAME_SIZE)); |
78 | count = SIZE2FRAMES(ALIGN_DOWN(size, FRAME_SIZE)); |
78 | count = SIZE2FRAMES(ALIGN_DOWN(size, FRAME_SIZE)); |