Changeset 939dfd7 in mainline for arch/mips32/src/mm/frame.c
- Timestamp:
- 2005-12-09T18:29:34Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 705b4149
- Parents:
- ef0e259
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/src/mm/frame.c
ref0e259 r939dfd7 34 34 #include <panic.h> 35 35 #include <print.h> 36 #include <arch/drivers/arc.h> 36 37 38 /** Create memory zones 39 * 40 * If ARC is known, read information from ARC, otherwise 41 * assume some defaults. 42 * - blacklist first FRAME because there is an exception vector 43 */ 37 44 void frame_arch_init(void) 38 45 { 39 zone_create_in_region(KA2PA(KERNEL_LOAD_ADDRESS), config.memory_size & ~(FRAME_SIZE-1)); 46 /* Blacklist first 4KB, exception vector */ 47 frame_region_not_free(0, FRAME_SIZE); 48 49 if (arc_enabled()) 50 arc_frame_init(); 51 else 52 zone_create_in_region(KA2PA(KERNEL_LOAD_ADDRESS), 53 config.memory_size & ~(FRAME_SIZE-1)); 40 54 }
Note:
See TracChangeset
for help on using the changeset viewer.