Changeset bc73be3 in mainline for kernel/genarch/src/mm/as_pt.c
- Timestamp:
- 2019-06-27T08:51:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8add15e0
- Parents:
- ad40b74b (diff), aeba767 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/genarch/src/mm/as_pt.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/as_pt.c
rad40b74b rbc73be3 76 76 PA2KA(frame_alloc(PTL0_FRAMES, FRAME_LOWMEM, PTL0_SIZE - 1)); 77 77 78 if (flags & FLAG_AS_KERNEL)79 memsetb(dst_ptl0, PTL0_SIZE, 0); 80 else{78 memsetb(dst_ptl0, PTL0_SIZE, 0); 79 80 if (!KERNEL_SEPARATE_PTL0 && !(flags & FLAG_AS_KERNEL)) { 81 81 /* 82 82 * Copy the kernel address space portion to new PTL0. … … 93 93 &dst_ptl0[PTL0_INDEX(KERNEL_ADDRESS_SPACE_START)]; 94 94 95 memsetb(dst_ptl0, PTL0_SIZE, 0);96 95 memcpy((void *) dst, (void *) src, 97 96 PTL0_SIZE - (src - (uintptr_t) src_ptl0));
Note:
See TracChangeset
for help on using the changeset viewer.
