Changeset ba18512 in mainline for src/mm/vm.c


Ignore:
Timestamp:
2005-08-30T21:33:09Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b524f816
Parents:
fa0dfaf
Message:

Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.

Cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mm/vm.c

    rfa0dfaf rba18512  
    6767                        src_ptl0 = (pte_t *) PA2KA((__address) GET_PTL0_ADDRESS());
    6868                        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));
    7169                        memcopy((void *)PA2KA((__address) dst_ptl0), (void *)GET_PTL0_ADDRESS() , PAGE_SIZE);
    7270                        m->ptl0 = (pte_t *) KA2PA((__address) dst_ptl0);
Note: See TracChangeset for help on using the changeset viewer.