- Timestamp:
- 2006-02-08T13:13:04Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c3243e
- Parents:
- 085d973
- Location:
- arch/ia64
- Files:
-
- 2 edited
-
include/types.h (modified) (1 diff)
-
src/mm/frame.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/types.h
r085d973 r5e3757d 43 43 44 44 typedef __u64 __address; 45 typedef __u64 pfn_t; 45 46 46 47 typedef __u64 ipl_t; -
arch/ia64/src/mm/frame.c
r085d973 r5e3757d 41 41 void frame_arch_init(void) 42 42 { 43 zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0); 44 45 43 46 /* 44 47 * Workaround to prevent slab allocator from allocating frame 0. … … 46 49 * identity mapped. 47 50 */ 48 frame_ region_not_free(0, FRAME_SIZE);51 frame_mark_unavailable(0, 1); 49 52 50 53 /* 51 54 * Blacklist ROM regions. 52 55 */ 53 frame_region_not_free(ROM_BASE, ROM_SIZE); 54 55 zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE-1)); 56 frame_mark_unavailable(ADDR2PFN(ROM_BASE), ROM_SIZE >> FRAME_WIDTH); 56 57 }
Note:
See TracChangeset
for help on using the changeset viewer.
