Changeset 5e3757d in mainline
- Timestamp:
- 2006-02-08T13:13:04Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c3243e
- Parents:
- 085d973
- Files:
-
- 9 edited
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 } -
arch/mips32/src/mm/frame.c
r085d973 r5e3757d 29 29 #include <arch/mm/frame.h> 30 30 #include <mm/frame.h> 31 #include <arch/asm/boot.h>32 #include <arch/mm/page.h>33 31 #include <config.h> 34 #include <panic.h>35 #include <print.h>36 32 #include <arch/drivers/arc.h> 37 33 … … 47 43 arc_frame_init(); 48 44 else { 49 zone_create(1, (config.memory_size >> PAGE_WIDTH)-1,1,0);45 zone_create(1, (config.memory_size >> FRAME_WIDTH)-1,1,0); 50 46 } 51 47 } -
arch/ppc32/include/types.h
r085d973 r5e3757d 40 40 41 41 typedef __u32 __address; 42 typedef __u32 pfn_t; 42 43 43 44 typedef __u32 ipl_t; -
arch/ppc32/src/mm/frame.c
r085d973 r5e3757d 34 34 void frame_arch_init(void) 35 35 { 36 zone_create _in_region(0, config.memory_size & ~(FRAME_SIZE-1));36 zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0); 37 37 } -
arch/sparc64/include/types.h
r085d973 r5e3757d 40 40 41 41 typedef __u64 __address; 42 typedef __u64 pfn_t; 42 43 43 44 typedef __u64 ipl_t; -
arch/sparc64/src/mm/frame.c
r085d973 r5e3757d 33 33 void frame_arch_init(void) 34 34 { 35 zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0); 36 35 37 /* 36 38 * Workaround to prevent slab allocator from allocating frame 0. … … 39 41 * b) would be confused with NULL error return code 40 42 */ 41 frame_region_not_free(0, FRAME_SIZE); 42 43 zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE - 1)); 43 frame_mark_unavailable(0, 1); 44 44 } -
genarch/src/mm/page_ht.c
r085d973 r5e3757d 31 31 #include <arch/mm/page.h> 32 32 #include <mm/frame.h> 33 #include <mm/ heap.h>33 #include <mm/slab.h> 34 34 #include <mm/as.h> 35 35 #include <arch/mm/asid.h> -
generic/src/mm/buddy.c
r085d973 r5e3757d 200 200 /* 201 201 * Return the other half to buddy system. Mark the first part 202 * full, so that it won't coal sce again.202 * full, so that it won't coalesce again. 203 203 */ 204 204 b->op->mark_busy(b, res);
Note:
See TracChangeset
for help on using the changeset viewer.