Ignore:
Timestamp:
Jan 15, 2009, 6:19:08 PM (15 years ago)
Author:
rosiere
Message:

1) Add soc test
2) fix bug (Pc management, Decod and execute, Update prediction ...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Softwares/Common/src/asm/thread_info.s

    r81 r101  
    1010_get_thread_id :
    1111        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       
    1414        .global _set_thread_id
    1515_set_thread_id :
    1616        l.jr    r9
    17         l.mtspr r0 ,r3,0xF801                   /* SPR[31][1] <- r3  */
     17        l.mtspr r0 ,r3,22                       /* SPR[0][22] <- r3  */
    1818
    1919        .global _get_thread_priority
    2020_get_thread_priority :
    2121        l.jr    r9
    22         l.mfspr r11,r0,0xF802                   /* R11 <- SPR[31][2] */
     22        l.mfspr r11,r0,23                       /* R11 <- SPR[0][23] */
    2323
    2424        .global _set_thread_priority
    2525_set_thread_priority :
    2626        l.jr    r9
    27         l.mtspr r0 ,r3,0xF802                   /* SPR[31][2] <- r3  */
     27        l.mtspr r0 ,r3,23                       /* SPR[0][23] <- r3  */
    2828       
Note: See TracChangeset for help on using the changeset viewer.