Changeset 94d614e in mainline for kernel/arch/sparc64/src/mm/memory_init.c
- Timestamp:
- 2006-07-13T17:32:38Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a5f76758
- Parents:
- 63cda71
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/memory_init.c
r63cda71 r94d614e 34 34 35 35 #include <arch/mm/memory_init.h> 36 #include < genarch/ofw/memory_init.h>36 #include <arch/boot/boot.h> 37 37 #include <typedefs.h> 38 38 39 /** Return total size of available memory in bytes. 40 * 41 * @return Size of available memory in bytes. 42 */ 39 43 size_t get_memory_size(void) 40 44 { 41 return ofw_get_memory_size();45 return bootinfo.memmap.total; 42 46 } 43 47 44 48 /** @} 45 49 */ 46
Note:
See TracChangeset
for help on using the changeset viewer.