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