Changeset 101 for trunk/Softwares/Common/src/asm/cpu_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/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
Note: See TracChangeset
for help on using the changeset viewer.