Changeset 625 for trunk/hal/tsar_mips32/core/hal_uspace.c
- Timestamp:
- Apr 10, 2019, 10:09:39 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_uspace.c
r610 r625 249 249 ".set noreorder \n" 250 250 "move $13, %1 \n" /* $13 <= str */ 251 "mfc2 $15, $1 \n" /* $15 <= DTLB and ITLB off*/251 "mfc2 $15, $1 \n" /* $15 <= MMU_MODE (DTLB off) */ 252 252 "ori $14, $15, 0x4 \n" /* $14 <= mode DTLB on */ 253 253 "1: \n" 254 254 "mtc2 $14, $1 \n" /* set DTLB on */ 255 "lb $12, 0($13) \n" /* read char from user space*/255 "lb $12, 0($13) \n" /* $12 <= one byte from u_space */ 256 256 "mtc2 $15, $1 \n" /* set DTLB off */ 257 257 "addi $13, $13, 1 \n" /* increment address */
Note: See TracChangeset
for help on using the changeset viewer.