Changeset e0b241f in mainline for kernel/arch/sparc64/include/trap/mmu.h
- Timestamp:
- 2006-08-31T11:55:19Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ed166f7
- Parents:
- beb3926a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/trap/mmu.h
rbeb3926a re0b241f 35 35 */ 36 36 37 #ifndef __sparc64_MMU_TRAP_H__38 #define __sparc64_MMU_TRAP_H__37 #ifndef KERN_sparc64_MMU_TRAP_H_ 38 #define KERN_sparc64_MMU_TRAP_H_ 39 39 40 40 #include <arch/stack.h> … … 52 52 #ifdef __ASM__ 53 53 .macro FAST_INSTRUCTION_ACCESS_MMU_MISS_HANDLER 54 save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp 55 call fast_instruction_access_mmu_miss 56 nop 57 restore 58 retry 54 /* 55 * First, try to refill TLB from TSB. 56 */ 57 ! TODO 58 59 wrpr %g0, PSTATE_PRIV_BIT | PSTATE_AG_BIT, %pstate 60 PREEMPTIBLE_HANDLER fast_instruction_access_mmu_miss 59 61 .endm 60 62 … … 102 104 103 105 .macro FAST_DATA_ACCESS_PROTECTION_HANDLER 104 save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp 105 call fast_data_access_protection 106 nop 107 restore 108 retry 106 wrpr %g0, PSTATE_PRIV_BIT | PSTATE_AG_BIT, %pstate 107 PREEMPTIBLE_HANDLER fast_data_access_protection 109 108 .endm 110 109 #endif /* __ASM__ */
Note:
See TracChangeset
for help on using the changeset viewer.