Changeset 3335


Ignore:
Timestamp:
Sep 27, 2012, 2:49:12 AM (2 years ago)
Author:
wmb
Message:

OLPC ARM - Renamed l2$-efr to l2$-efr! (no existing users so rename is innocuous), added l2$-efr@ (the register is readable despite what the manual says).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/scc.fth

    r2685 r3335  
    6767code clean&flush-l2$-pa       ( pa -- )  mcr p15,1,tos,cr7,cr15,3  pop tos,sp  c; 
    6868 
     69\ L2 Cache Extra Features Register 
    6970\ Bit 24 is L2 prefetch disable, bit 23 is L2 ECC enable 
    70 code l2$-efr  ( n -- )  mcr p15,1,tos,cr15,cr1,0  pop tos,sp  c;   
     71\ Bit 8 (undocumented) enables write-coalescing 
     72code l2$-efr!  ( n -- )              mcr p15,1,tos,cr15,cr1,0  pop tos,sp  c;   
     73code l2$-efr@  ( -- n )  psh tos,sp  mrc p15,1,tos,cr15,cr1,0  c; 
    7174 
    7275code l2$-lockdown-way   ( bits -- )  mcr p15,1,tos,cr15,cr10,7  pop tos,sp  c; 
Note: See TracChangeset for help on using the changeset viewer.