Changeset 238 for soft/giet_vm/sys/switch.s
- Timestamp:
- May 29, 2013, 1:24:09 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/sys/switch.s
r199 r238 1 1 /****************************************************************************** 2 2 * This function receives two arguments that are the current task context 3 * physical addresses and the next task context physical address. 4 * The DTLB is temporary desactivated... 3 * (virtual) addresses and the next task context (virtual) address. 5 4 ******************************************************************************/ 6 5 … … 10 9 11 10 _task_switch: 12 13 /* desactivate DTLB */14 ori $27, $0, 0xB15 mtc2 $27, $1 /* DTLB desactivated */16 11 17 12 /* save _current task context */ … … 113 108 mtc2 $26, $0 /* restore PTPR */ 114 109 115 /* activate DTLB */116 ori $27, $0, 0xF117 mtc2 $27, $1118 119 110 /* returns to caller */ 120 111 jr $31
Note: See TracChangeset
for help on using the changeset viewer.