Changeset 4cc631db in rtems for c/src/exec/libcsupport/src/malloc.c
- Timestamp:
- 08/11/95 14:33:04 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 8d47a15
- Parents:
- 4e58d80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/libcsupport/src/malloc.c
r4e58d80 r4cc631db 54 54 rtems_status_code status; 55 55 void *starting_address; 56 rtems_unsigned32 old_address; 56 57 rtems_unsigned32 u32_address; 57 58 … … 74 75 75 76 if (u32_address & (CPU_ALIGNMENT-1)) { 77 old_address = u32_address; 76 78 u32_address = (u32_address + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1); 77 /* XXX: if we do any alignment .. then length should be shortened */ 79 80 /* 81 * Adjust the length by whatever we aligned by 82 */ 83 84 length -= u32_address - old_address; 78 85 } 79 86
Note: See TracChangeset
for help on using the changeset viewer.