Changeset 86ffa27f in mainline for kernel/arch/mips32/src
- Timestamp:
- 2011-08-07T11:21:44Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc574511
- Parents:
- 15f3c3f (diff), e8067c0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/arch/mips32/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/cache.c
r15f3c3f r86ffa27f 27 27 */ 28 28 29 /** @addtogroup mips32 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ -
kernel/arch/mips32/src/cpu/cpu.c
r15f3c3f r86ffa27f 37 37 #include <arch.h> 38 38 #include <arch/cp0.h> 39 #include <print.h> 39 #include <print.h> 40 40 41 41 struct data_t { -
kernel/arch/mips32/src/fpu_context.c
r15f3c3f r86ffa27f 27 27 */ 28 28 29 /** @addtogroup mips32 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 40 40 41 41 void fpu_disable(void) 42 { 42 { 43 43 #ifdef CONFIG_FPU 44 44 cp0_status_write(cp0_status_read() & ~cp0_status_fpu_bit); -
kernel/arch/mips32/src/mm/as.c
r15f3c3f r86ffa27f 61 61 /* 62 62 * Install ASID. 63 */ 63 */ 64 64 hi.value = cp0_entry_hi_read(); 65 65 66 66 hi.asid = as->asid; 67 cp0_entry_hi_write(hi.value); 67 cp0_entry_hi_write(hi.value); 68 68 } 69 69 -
kernel/arch/mips32/src/mm/tlb.c
r15f3c3f r86ffa27f 73 73 tlbwi(); 74 74 } 75 75 76 76 /* 77 77 * The kernel is going to make use of some wired … … 386 386 ASSERT(pte->w || access != PF_ACCESS_WRITE); 387 387 return pte; 388 break;389 388 case AS_PF_DEFER: 390 389 *pfrc = AS_PF_DEFER; 391 390 return NULL; 392 break;393 391 case AS_PF_FAULT: 394 392 *pfrc = AS_PF_FAULT; 395 393 return NULL; 396 break;397 394 default: 398 395 panic("Unexpected rc (%d).", rc); -
kernel/arch/mips32/src/start.S
r15f3c3f r86ffa27f 222 222 223 223 /* move $k0 pointer to kernel stack */ 224 lui $k0, %hi(supervisor_sp) 225 ori $k0, $k0, %lo(supervisor_sp) 224 la $k0, supervisor_sp 226 225 227 226 /* move $k0 (supervisor_sp) */
Note:
See TracChangeset
for help on using the changeset viewer.
