Changeset a1a03f9 in mainline for arch/mips/src
- Timestamp:
- 2005-07-14T22:10:05Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 26649537
- Parents:
- ff9f858
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips/src/mm/page.c
rff9f858 ra1a03f9 28 28 29 29 #include <arch/types.h> 30 #include <arch/mm/page.h> 31 #include <arch/mm/frame.h> 32 #include <mm/frame.h> 30 33 #include <mm/page.h> 34 35 pte_t *PTL0 = NULL; 36 37 void page_arch_init(void) 38 { 39 __address ptl0; 40 41 ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC); 42 memsetb(ptl0, FRAME_SIZE, 0); 43 44 SET_PTL0_ADDRESS(KA2PA(ptl0)); 45 }
Note:
See TracChangeset
for help on using the changeset viewer.