Changeset 101 for trunk/Softwares/Common/src/asm
- Timestamp:
- Jan 15, 2009, 6:19:08 PM (16 years ago)
- Location:
- trunk/Softwares/Common/src/asm
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/Common/src/asm/cpu_info.s
r81 r101 10 10 _get_cpu_id : 11 11 l.jr r9 12 l.mfspr r11,r0, 0xF800 /* R11 <- SPR[31][0] */13 12 l.mfspr r11,r0,21 /* R11 <- SPR[0][21] */ 13 14 14 .global _set_cpu_id 15 15 _set_cpu_id : 16 16 l.jr r9 17 l.mtspr r0 ,r3, 0xF800 /* SPR[31][0] <- r3 */17 l.mtspr r0 ,r3,21 /* SPR[0][21] <- r3 */ 18 18 -
trunk/Softwares/Common/src/asm/find_one.s
r81 r101 12 12 l.ff1 r11,r3 13 13 14 /* 14 /* 15 15 .global _find_last_one 16 16 _find_last_one : -
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.