summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/spr.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2009-05-14 00:34:26 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2009-05-14 00:34:26 +0000
commitdc1ac440de95721f8b696146577a51ef7a418f59 (patch)
tree76fac3396a64c911f78e68ca8b02794bc0332825 /sys/powerpc/include/spr.h
parentd9c2725c3513aa19672b456422a31a356dccffc5 (diff)
downloadFreeBSD-src-dc1ac440de95721f8b696146577a51ef7a418f59.zip
FreeBSD-src-dc1ac440de95721f8b696146577a51ef7a418f59.tar.gz
Factor out platform dependent things unrelated to device drivers into a
new platform module. These are probed in early boot, and have the responsibility of determining the layout of physical memory, determining the CPU timebase frequency, and handling the zoo of SMP mechanisms found on PowerPC. Reviewed by: marcel, raj Book-E parts by: raj
Diffstat (limited to 'sys/powerpc/include/spr.h')
-rw-r--r--sys/powerpc/include/spr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/include/spr.h b/sys/powerpc/include/spr.h
index 84fab0d..82f734b 100644
--- a/sys/powerpc/include/spr.h
+++ b/sys/powerpc/include/spr.h
@@ -419,6 +419,7 @@
#define SPR_DAC2 0x3f7 /* 4.. Data Address Compare 2 */
#define SPR_PIR 0x3ff /* .6. Processor Identification Register */
#elif defined(E500)
+#define SPR_PIR 0x11e /* ..8 Processor Identification Register */
#define SPR_DBSR 0x130 /* ..8 Debug Status Register */
#define DBSR_IDE 0x80000000 /* Imprecise debug event. */
#define DBSR_UDE 0x40000000 /* Unconditional debug event. */
OpenPOWER on IntegriCloud