summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/spr.h
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2009-05-21 11:43:37 +0000
committerraj <raj@FreeBSD.org>2009-05-21 11:43:37 +0000
commit84c7ebbafb3a322fc56b7ab3250657ab53cdd04b (patch)
treeebbbb7780339b9700c01fbc128912a6b8e5e5257 /sys/powerpc/include/spr.h
parente0229d3977fbe246e110f6fb915f0719e6f7356a (diff)
downloadFreeBSD-src-84c7ebbafb3a322fc56b7ab3250657ab53cdd04b.zip
FreeBSD-src-84c7ebbafb3a322fc56b7ab3250657ab53cdd04b.tar.gz
Initial support for SMP on PowerPC MPC85xx.
Tested with Freescale dual-core MPC8572DS development system. Obtained from: Freescale, Semihalf
Diffstat (limited to 'sys/powerpc/include/spr.h')
-rw-r--r--sys/powerpc/include/spr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/include/spr.h b/sys/powerpc/include/spr.h
index 098c78c..870e989 100644
--- a/sys/powerpc/include/spr.h
+++ b/sys/powerpc/include/spr.h
@@ -667,6 +667,9 @@
#define L1CSR1_ICFI 0x00000002 /* Instruction Cache Flash Invalidate */
#define L1CSR1_ICE 0x00000001 /* Instruction Cache Enable */
+#define SPR_BUCSR 0x3F5 /* ..8 Branch Unit Control and Status Register */
+#define BUCSR_BPEN 0x00000001 /* Branch Prediction Enable */
+
#endif /* #elif defined(E500) */
#endif /* !_POWERPC_SPR_H_ */
OpenPOWER on IntegriCloud