Changeset 3624


Ignore:
Timestamp:
Mar 25, 2013, 11:50:45 PM (19 months ago)
Author:
wmb
Message:

ARM - added mp-id@ word to get the processor ID in a multiprocessor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/scc.fth

    r3335 r3624  
    66code cache-type@        ( -- n )   psh tos,sp  mrc p15,0,tos,cr0,cr0,1  c; 
    77code tlb-type@          ( -- n )   psh tos,sp  mrc p15,0,tos,cr0,cr0,3  c; 
     8code mp-id@             ( -- n )   psh tos,sp  mrc p15,0,tos,cr0,cr0,5  c; 
    89code control@           ( -- n )   psh tos,sp  mrc p15,0,tos,cr1,cr0,0  c; 
    910code aux-control@       ( -- n )   psh tos,sp  mrc p15,0,tos,cr1,cr0,1  c; 
Note: See TracChangeset for help on using the changeset viewer.