Changeset 9ea8a7ca in mainline for arch/mips32/src/mm/page.c


Ignore:
Timestamp:
2006-02-02T12:47:40Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
758e065
Parents:
4e147a6
Message:

mips32 is not supposed to allocate page table.
This is done by the generic code now.
Remove PTL0 pointer as it is not needed.

Remove GET_PTL0_ADDRESS from kernel.

Update sparc64 comments in barrier.h.

File:
1 edited

Legend:

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

    r4e147a6 r9ea8a7ca  
    2929#include <arch/mm/page.h>
    3030#include <genarch/mm/page_pt.h>
    31 #include <arch/mm/frame.h>
    32 #include <mm/frame.h>
    3331#include <mm/page.h>
    34 #include <arch/types.h>
    35 #include <memstr.h>
    36 
    37 pte_t *PTL0 = NULL;
    3832
    3933void page_arch_init(void)
    4034{
    41         __address ptl0;
    42 
    4335        page_operations = &page_pt_operations;
    44        
    45         ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME, NULL);
    46         memsetb(ptl0, FRAME_SIZE, 0);
    47        
    48         SET_PTL0_ADDRESS(KA2PA(ptl0));
    4936}
Note: See TracChangeset for help on using the changeset viewer.