Rev 3973 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3973 | Rev 4490 | ||
---|---|---|---|
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)); |