Changeset 879585a3 in mainline for kernel/arch/mips32/src/mm/as.c
- Timestamp:
- 2007-03-31T22:22:50Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 31d8e10
- Parents:
- 563c2dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mm/as.c
r563c2dd r879585a3 35 35 #include <arch/mm/as.h> 36 36 #include <genarch/mm/as_pt.h> 37 #include <genarch/mm/page_pt.h> 37 38 #include <genarch/mm/asid_fifo.h> 38 39 #include <arch/mm/tlb.h> … … 40 41 #include <mm/as.h> 41 42 #include <arch/cp0.h> 42 #include <arch.h>43 43 44 44 /** Architecture dependent address space init. */ … … 58 58 { 59 59 entry_hi_t hi; 60 ipl_t ipl;61 60 62 61 /* … … 65 64 hi.value = cp0_entry_hi_read(); 66 65 67 ipl = interrupts_disable();68 spinlock_lock(&as->lock);69 66 hi.asid = as->asid; 70 67 cp0_entry_hi_write(hi.value); 71 spinlock_unlock(&as->lock);72 interrupts_restore(ipl);73 68 } 74 69
Note:
See TracChangeset
for help on using the changeset viewer.