Changeset a1a03f9 in mainline for arch/mips/src


Ignore:
Timestamp:
2005-07-14T22:10:05Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26649537
Parents:
ff9f858
Message:

Begin MIPS implementation of 4-level page table interface.

Add email address to each item in doc/AUTHORS.

Correct type names in comments in mm/vm.c.
Introduce ptl0 pointer in vm_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips/src/mm/page.c

    rff9f858 ra1a03f9  
    2828
    2929#include <arch/types.h>
     30#include <arch/mm/page.h>
     31#include <arch/mm/frame.h>
     32#include <mm/frame.h>
    3033#include <mm/page.h>
     34
     35pte_t *PTL0 = NULL;
     36
     37void 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.