summaryrefslogtreecommitdiffstats
path: root/sys/arm/include/cpu-v6.h
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-01-20 11:11:32 +0000
committerandrew <andrew@FreeBSD.org>2015-01-20 11:11:32 +0000
commit1672a09eb021611b9bd0c452ac3d4ef8426e64f9 (patch)
treebb173c7ec6f9ea5d68d40e9eef1950329fa35ad4 /sys/arm/include/cpu-v6.h
parent5a896dc0ff42038d80ec99e785b47e2d53ebe135 (diff)
downloadFreeBSD-src-1672a09eb021611b9bd0c452ac3d4ef8426e64f9.zip
FreeBSD-src-1672a09eb021611b9bd0c452ac3d4ef8426e64f9.tar.gz
Add the User and PL1 read only and reqd write thread ID registers.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/arm/include/cpu-v6.h')
-rw-r--r--sys/arm/include/cpu-v6.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arm/include/cpu-v6.h b/sys/arm/include/cpu-v6.h
index 8d1a413..1eafb62 100644
--- a/sys/arm/include/cpu-v6.h
+++ b/sys/arm/include/cpu-v6.h
@@ -179,6 +179,13 @@ _WF1(cp15_pminten_set, CP15_PMINTENSET(%0))
_WF1(cp15_pminten_clr, CP15_PMINTENCLR(%0))
#endif
+_RF0(cp15_tpidrurw_get, CP15_TPIDRURW(%0))
+_WF1(cp15_tpidrurw_set, CP15_TPIDRURW(%0))
+_RF0(cp15_tpidruro_get, CP15_TPIDRURO(%0))
+_WF1(cp15_tpidruro_set, CP15_TPIDRURO(%0))
+_RF0(cp15_tpidrpwr_get, CP15_TPIDRPRW(%0))
+_WF1(cp15_tpidrpwr_set, CP15_TPIDRPRW(%0))
+
#undef _FX
#undef _RF0
#undef _WF0
OpenPOWER on IntegriCloud