Rev 4055 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4055 | Rev 4537 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | } |
55 | } |
56 | 56 | ||
57 | void frame_arch_init(void) |
57 | void frame_arch_init(void) |
58 | { |
58 | { |
59 | pfn_t minconf = 2; |
59 | pfn_t minconf = 2; |
60 | count_t i; |
60 | size_t i; |
61 | pfn_t start, conf; |
61 | pfn_t start, conf; |
62 | size_t size; |
62 | size_t size; |
63 | 63 | ||
64 | for (i = 0; i < bootinfo.memmap.count; i++) { |
64 | for (i = 0; i < bootinfo.memmap.count; i++) { |
65 | start = ADDR2PFN(ALIGN_UP(bootinfo.memmap.zones[i].start, FRAME_SIZE)); |
65 | start = ADDR2PFN(ALIGN_UP(bootinfo.memmap.zones[i].start, FRAME_SIZE)); |