Changeset cc205f1 in mainline for arch/mips32/src/mm/vm.c


Ignore:
Timestamp:
2005-10-06T12:45:22Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fd3c9e5
Parents:
bca1b47
Message:

Add mm/mapping1 test.
(Will not make it past TLB Invalid exception on mips32.)
Fixes in asid.c.
Make TLB register types union with u32 value.
Implement tlb_invalidate() for mips32.
(TLB invalidation and shootdown path will have to be revised.)

File:
1 edited

Legend:

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

    rbca1b47 rcc205f1  
    3232#include <arch/cp0.h>
    3333#include <arch.h>
    34 #include <print.h>
    3534
    3635/** Install ASID of the current VM
     
    4241void vm_install_arch(vm_t *vm)
    4342{
    44         struct entry_hi hi;
     43        entry_hi_t hi;
    4544        pri_t pri;
    4645       
    47         *((__u32 *) &hi) = cp0_entry_hi_read();
     46        hi.value = cp0_entry_hi_read();
    4847
    4948        pri = cpu_priority_high();
Note: See TracChangeset for help on using the changeset viewer.