Changeset 99cfdc2d in rtems
- Timestamp:
- 11/28/00 21:47:27 (23 years ago)
- Children:
- 079b1f4
- Parents:
- e5aeae7b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/src/heapallocate.c
re5aeae7b r99cfdc2d 44 44 void *ptr; 45 45 unsigned32 offset; 46 46 47 /* 48 * Catch the case of a user allocating close to the limit of the 49 * unsigned32. 50 */ 51 52 if ( size >= (-1 - HEAP_BLOCK_USED_OVERHEAD) ) 53 return( NULL ); 54 47 55 excess = size % the_heap->page_size; 48 56 the_size = size + the_heap->page_size + HEAP_BLOCK_USED_OVERHEAD;
Note: See TracChangeset
for help on using the changeset viewer.