Changeset 1124 for trunk/core/main.c
- Timestamp:
- 04/03/11 01:06:55 (2 years ago)
- File:
-
- 1 edited
-
trunk/core/main.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/main.c
r1119 r1124 51 51 52 52 int core_get_free_memory() { 53 int size, l_size, d; 53 #if defined(OPT_EXMEM_MALLOC) && !defined(OPT_EXMEM_TESTING) 54 // If using the exmem / suba memory allocation system then don't need 55 // to try allocating memory to find out how much is available 56 // Call function to scan free list for the largest free block available. 57 extern int exmem_largest_block(); 58 return exmem_largest_block(); 59 #else 60 int size, l_size, d; 54 61 char* ptr; 55 62 … … 84 91 } 85 92 return size-1; 93 #endif 86 94 } 87 95
Note: See TracChangeset
for help on using the changeset viewer.