- Timestamp:
- 2005-08-30T19:44:27Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d0c30f7
- Parents:
- 8fc0d455
- Location:
- src/mm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mm/frame.c
r8fc0d455 r9c0a9b3 44 44 45 45 #include <arch/asm.h> 46 #include <arch.h> 46 47 47 48 count_t frames = 0; -
src/mm/heap.c
r8fc0d455 r9c0a9b3 34 34 #include <arch/types.h> 35 35 #include <arch/asm.h> 36 #include <arch.h> 36 37 37 38 /* -
src/mm/page.c
r8fc0d455 r9c0a9b3 33 33 #include <typedefs.h> 34 34 #include <arch/asm.h> 35 #include <memstr.h> 36 35 37 36 38 void page_init(void) -
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.