Changeset f5926ad9 in mainline
- Timestamp:
- 2006-11-20T22:29:23Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- abc9fc5
- Parents:
- 91d6d28
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/frame.c
r91d6d28 rf5926ad9 46 46 * 47 47 * Walk the bootinfo memory map and create frame zones according to it. 48 * The first frame is not blacklisted here as it is done in generic49 * frame_init().50 48 */ 51 49 void frame_arch_init(void) … … 63 61 * It already contains no holes. 64 62 */ 65 63 66 64 confdata = ADDR2PFN(start); 67 65 if (confdata == ADDR2PFN(KA2PA(PFN2ADDR(0)))) … … 70 68 last_frame = max(last_frame, start + ALIGN_UP(size, FRAME_SIZE)); 71 69 } 70 71 /* 72 * On sparc64, physical memory can start on a non-zero address. 73 * The generic frame_init() only marks PFN 0 as not free, so we 74 * must mark the physically first frame not free explicitly here, 75 * no matter what is its address. 76 */ 77 frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1); 72 78 } 73 79 74 /*75 * On sparc64, physical memory can start on a non-zero address.76 * The generic frame_init() only marks PFN 0 as not free, so we77 * must mark the physically first frame not free explicitly here,78 * no matter what is its address.79 */80 frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1);81 80 } 82 81
Note:
See TracChangeset
for help on using the changeset viewer.