Ignore:
Timestamp:
Jan 15, 2009, 6:19:08 PM (16 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/cpu_info.s

    r81 r101  
    1010_get_cpu_id :
    1111        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       
    1414        .global _set_cpu_id
    1515_set_cpu_id :
    1616        l.jr    r9
    17         l.mtspr r0 ,r3,0xF800  /* SPR[31][0] <- r3  */
     17        l.mtspr r0 ,r3,21  /* SPR[0][21] <- r3  */
    1818
Note: See TracChangeset for help on using the changeset viewer.