Changes in kernel/arch/sparc64/src/mm/sun4u/frame.c [d99c1d2:4872160] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/sun4u/frame.c
rd99c1d2 r4872160 43 43 uintptr_t last_frame = NULL; 44 44 45 /** Create memory zones according to information stored in bootinfo.45 /** Create memory zones according to information stored in memmap. 46 46 * 47 * Walk the bootinfomemory map and create frame zones according to it.47 * Walk the memory map and create frame zones according to it. 48 48 */ 49 49 void frame_arch_init(void) … … 53 53 54 54 if (config.cpu_active == 1) { 55 for (i = 0; i < bootinfo.memmap.count; i++) {56 uintptr_t start = bootinfo.memmap.zones[i].start;57 size_t size = bootinfo.memmap.zones[i].size;55 for (i = 0; i < memmap.cnt; i++) { 56 uintptr_t start = (uintptr_t) memmap.zones[i].start; 57 size_t size = memmap.zones[i].size; 58 58 59 59 /*
Note:
See TracChangeset
for help on using the changeset viewer.