Rev 2267 | Rev 3908 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2267 | Rev 2745 | ||
---|---|---|---|
Line 46... | Line 46... | ||
46 | * |
46 | * |
47 | * Walk the bootinfo memory map and create frame zones according to it. |
47 | * Walk the bootinfo memory map and create frame zones according to it. |
48 | */ |
48 | */ |
49 | void frame_arch_init(void) |
49 | void frame_arch_init(void) |
50 | { |
50 | { |
51 | int i; |
51 | unsigned int i; |
52 | pfn_t confdata; |
52 | pfn_t confdata; |
53 | 53 | ||
54 | if (config.cpu_active == 1) { |
54 | if (config.cpu_active == 1) { |
55 | for (i = 0; i < bootinfo.memmap.count; i++) { |
55 | for (i = 0; i < bootinfo.memmap.count; i++) { |
56 | uintptr_t start = bootinfo.memmap.zones[i].start; |
56 | uintptr_t start = bootinfo.memmap.zones[i].start; |