Changeset ba18512 in mainline for src/mm/vm.c
- Timestamp:
- 2005-08-30T21:33:09Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b524f816
- Parents:
- fa0dfaf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mm/vm.c
rfa0dfaf rba18512 67 67 src_ptl0 = (pte_t *) PA2KA((__address) GET_PTL0_ADDRESS()); 68 68 dst_ptl0 = (pte_t *) frame_alloc(FRAME_KA | FRAME_PANIC); 69 // memsetb((__address) dst_ptl0, PAGE_SIZE, 0);70 // memcopy((__address) &src_ptl0[KAS_START_INDEX], (__address) &dst_ptl0[KAS_START_INDEX], KAS_INDICES*sizeof(pte_t));71 69 memcopy((void *)PA2KA((__address) dst_ptl0), (void *)GET_PTL0_ADDRESS() , PAGE_SIZE); 72 70 m->ptl0 = (pte_t *) KA2PA((__address) dst_ptl0);
Note:
See TracChangeset
for help on using the changeset viewer.