Changeset 7f341820 in mainline for kernel/arch/mips32/src/mm/tlb.c
- Timestamp:
- 2009-02-17T14:09:31Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 30e2bba
- Parents:
- 85156d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mm/tlb.c
r85156d3 r7f341820 27 27 */ 28 28 29 /** @addtogroup mips32mm 29 /** @addtogroup mips32mm 30 30 * @{ 31 31 */ … … 42 42 #include <arch.h> 43 43 #include <symtab.h> 44 #include <synch/ spinlock.h>44 #include <synch/mutex.h> 45 45 #include <print.h> 46 46 #include <debug.h> … … 93 93 pte_t *pte; 94 94 int pfrc; 95 95 96 96 badvaddr = cp0_badvaddr_read(); 97 98 spinlock_lock(&AS->lock);97 98 mutex_lock(&AS->lock); 99 99 asid = AS->asid; 100 spinlock_unlock(&AS->lock);101 100 mutex_unlock(&AS->lock); 101 102 102 page_table_lock(AS, true); 103 103 104 104 pte = find_mapping_and_check(badvaddr, PF_ACCESS_READ, istate, &pfrc); 105 105 if (!pte) {
Note:
See TracChangeset
for help on using the changeset viewer.