Changes in kernel/arch/sparc64/src/mm/sun4v/frame.c [d99c1d2:b781cb29] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/sun4v/frame.c
rd99c1d2 rb781cb29 41 41 #include <macros.h> 42 42 43 /** Create memory zones according to information stored in bootinfo.43 /** Create memory zones according to information stored in memmap. 44 44 * 45 * Walk the bootinfomemory map and create frame zones according to it.45 * Walk the memory map and create frame zones according to it. 46 46 */ 47 47 void frame_arch_init(void) … … 51 51 52 52 if (config.cpu_active == 1) { 53 for (i = 0; i < bootinfo.memmap.count; i++) {54 uintptr_t start = bootinfo.memmap.zones[i].start;55 size_t size = bootinfo.memmap.zones[i].size;53 for (i = 0; i < memmap.cnt; i++) { 54 uintptr_t start = (uintptr_t) memmap.zones[i].start; 55 size_t size = memmap.zones[i].size; 56 56 57 57 /*
Note:
See TracChangeset
for help on using the changeset viewer.