Author: wmb Date: Mon Mar 25 23:50:45 2013 New Revision: 3624 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3624
Log: ARM - added mp-id@ word to get the processor ID in a multiprocessor.
Modified: cpu/arm/scc.fth
Modified: cpu/arm/scc.fth ============================================================================== --- cpu/arm/scc.fth Mon Mar 25 23:36:14 2013 (r3623) +++ cpu/arm/scc.fth Mon Mar 25 23:50:45 2013 (r3624) @@ -5,6 +5,7 @@ code scc-id@ ( -- n ) psh tos,sp mrc p15,0,tos,cr0,cr0,0 c; code cache-type@ ( -- n ) psh tos,sp mrc p15,0,tos,cr0,cr0,1 c; code tlb-type@ ( -- n ) psh tos,sp mrc p15,0,tos,cr0,cr0,3 c; +code mp-id@ ( -- n ) psh tos,sp mrc p15,0,tos,cr0,cr0,5 c; code control@ ( -- n ) psh tos,sp mrc p15,0,tos,cr1,cr0,0 c; code aux-control@ ( -- n ) psh tos,sp mrc p15,0,tos,cr1,cr0,1 c; code coprocessor-access@ ( -- n ) psh tos,sp mrc p15,0,tos,cr1,cr0,2 c;
openfirmware@openfirmware.info