Changeset 184 for soft/giet_vm/sys
- Timestamp:
- Jul 27, 2012, 4:22:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/sys/vm_handler.c
r171 r184 121 121 "li $27, 0xFFFFFFFE \n" /* Mask for IE bits */ 122 122 "mfc0 $8, $12 \n" /* $8 <= SR */ 123 "and $26, $26, $27 \n" /* disable Interrupts */ 123 "and $26, $8, $27 \n" /* $26 <= SR && 0xFFFFFFE */ 124 "mtc0 $26, $12 \n" /* disable Interrupts */ 125 124 126 "move $27, %2 \n" /* $27 <= pte2 */ 125 127 "li $26, 0xB \n" /* DTLB unactivated */ … … 129 131 "li $26, 0xF \n" 130 132 "mtc2 $26, $1 \n" /* DTLB activated */ 133 131 134 "or $26, $8, $0 \n" /* SR previous state */ 132 135 :"=r"(flags_value), "=r"(ppn_value)
Note: See TracChangeset
for help on using the changeset viewer.