Changeset 9ebc238 in mainline for generic/src/mm/frame.c
- Timestamp:
- 2005-12-04T21:02:53Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4457455
- Parents:
- cf585c9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/frame.c
rcf585c9 r9ebc238 39 39 #include <arch.h> 40 40 #include <print.h> 41 #include <align.h> 41 42 42 43 spinlock_t zone_head_lock; /**< this lock protects zone_head list */ … … 63 64 if (config.cpu_active == 1) { 64 65 zone_init(); 65 frame_region_not_free(config.base, config. base + config.kernel_size + CONFIG_STACK_SIZE);66 frame_region_not_free(config.base, config.kernel_size); 66 67 } 67 68 … … 212 213 213 214 if (size % FRAME_SIZE != 0) { 214 size = size + (FRAME_SIZE - size %FRAME_SIZE);215 size = ALIGN(size, FRAME_SIZE); 215 216 } 216 217 ASSERT(size % FRAME_SIZE == 0);
Note:
See TracChangeset
for help on using the changeset viewer.