Changeset 101 for trunk/Softwares/Common/src/asm/thread_info.s
- Timestamp:
- Jan 15, 2009, 6:19:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/Common/src/asm/thread_info.s
r81 r101 10 10 _get_thread_id : 11 11 l.jr r9 12 l.mfspr r11,r0, 0xF801 /* R11 <- SPR[31][1] */13 12 l.mfspr r11,r0,22 /* R11 <- SPR[0][22] */ 13 14 14 .global _set_thread_id 15 15 _set_thread_id : 16 16 l.jr r9 17 l.mtspr r0 ,r3, 0xF801 /* SPR[31][1] <- r3 */17 l.mtspr r0 ,r3,22 /* SPR[0][22] <- r3 */ 18 18 19 19 .global _get_thread_priority 20 20 _get_thread_priority : 21 21 l.jr r9 22 l.mfspr r11,r0, 0xF802 /* R11 <- SPR[31][2] */22 l.mfspr r11,r0,23 /* R11 <- SPR[0][23] */ 23 23 24 24 .global _set_thread_priority 25 25 _set_thread_priority : 26 26 l.jr r9 27 l.mtspr r0 ,r3, 0xF802 /* SPR[31][2] <- r3 */27 l.mtspr r0 ,r3,23 /* SPR[0][23] <- r3 */ 28 28
Note: See TracChangeset
for help on using the changeset viewer.