Changeset 4037847 in mainline for arch/ppc32/src/mm/memory_init.c
- Timestamp:
- 2006-03-24T19:14:12Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c715e9b
- Parents:
- 5201199
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/src/mm/memory_init.c
r5201199 r4037847 27 27 */ 28 28 29 #include <arch/boot/ memmap.h>29 #include <arch/boot/boot.h> 30 30 #include <arch/mm/memory_init.h> 31 31 #include <typedefs.h> 32 32 #include <print.h> 33 33 34 memmap_t memmap;35 36 34 37 35 size_t get_memory_size(void) 38 36 { 39 return memmap.total;37 return bootinfo.memmap.total; 40 38 } 41 39 … … 45 43 count_t i; 46 44 47 for (i = 0; i < memmap.count; i++)48 printf("base: %L size: %L\n", memmap.zones[i].start,memmap.zones[i].size);45 for (i = 0; i < bootinfo.memmap.count; i++) 46 printf("base: %L size: %L\n", bootinfo.memmap.zones[i].start, bootinfo.memmap.zones[i].size); 49 47 }
Note:
See TracChangeset
for help on using the changeset viewer.