Changeset 9c0a9b3 in mainline for src/mm/vm.c
- Timestamp:
- 2005-08-30T19:44:27Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d0c30f7
- Parents:
- 8fc0d455
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mm/vm.c
r8fc0d455 r9c0a9b3 41 41 #include <arch/asm.h> 42 42 #include <debug.h> 43 #include <memstr.h> 44 #include <arch.h> 43 45 44 46 #define KAS_START_INDEX PTL0_INDEX(KERNEL_ADDRESS_SPACE_START) … … 67 69 // memsetb((__address) dst_ptl0, PAGE_SIZE, 0); 68 70 // memcopy((__address) &src_ptl0[KAS_START_INDEX], (__address) &dst_ptl0[KAS_START_INDEX], KAS_INDICES*sizeof(pte_t)); 69 memcopy( PA2KA((__address) GET_PTL0_ADDRESS()), (__address) dst_ptl0, PAGE_SIZE);71 memcopy((void *)PA2KA((__address) dst_ptl0), (void *)GET_PTL0_ADDRESS() , PAGE_SIZE); 70 72 m->ptl0 = (pte_t *) KA2PA((__address) dst_ptl0); 71 73 }
Note:
See TracChangeset
for help on using the changeset viewer.