summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-01-01 03:48:39 +0000
committerandrew <andrew@FreeBSD.org>2013-01-01 03:48:39 +0000
commit93a0b775d97f3cb10851b347ef0f7f198879fb8e (patch)
tree40839953a7efb7eef0776c849f827ce75f602c28 /sys/arm
parentf3b51f6e77403f15260a6d119cdc457cde015c75 (diff)
downloadFreeBSD-src-93a0b775d97f3cb10851b347ef0f7f198879fb8e.zip
FreeBSD-src-93a0b775d97f3cb10851b347ef0f7f198879fb8e.tar.gz
Document the known values of the RTL release field in the cache is register
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/include/pl310.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/arm/include/pl310.h b/sys/arm/include/pl310.h
index 9a6b159..26f6c60 100644
--- a/sys/arm/include/pl310.h
+++ b/sys/arm/include/pl310.h
@@ -37,8 +37,16 @@
#define PL310_CACHE_ID 0x000
#define CACHE_ID_RELEASE_SHIFT 0
#define CACHE_ID_RELEASE_MASK 0x3f
+#define CACHE_ID_RELEASE_r0p0 0x00
+#define CACHE_ID_RELEASE_r1p0 0x02
+#define CACHE_ID_RELEASE_r2p0 0x04
+#define CACHE_ID_RELEASE_r3p0 0x05
+#define CACHE_ID_RELEASE_r3p1 0x06
+#define CACHE_ID_RELEASE_r3p2 0x08
+#define CACHE_ID_RELEASE_r3p3 0x09
#define CACHE_ID_PARTNUM_SHIFT 6
#define CACHE_ID_PARTNUM_MASK 0xf
+#define CACHE_ID_PARTNUM_VALUE 0x3
#define PL310_CACHE_TYPE 0x004
#define PL310_CTRL 0x100
#define CTRL_ENABLED 0x01
OpenPOWER on IntegriCloud