svn commit: r340008 - head/sys/arm64/include

Andrew Turner andrew at FreeBSD.org
Thu Nov 1 17:05:11 UTC 2018


Author: andrew
Date: Thu Nov  1 17:05:10 2018
New Revision: 340008
URL: https://svnweb.freebsd.org/changeset/base/340008

Log:
  Add the ARMv8.3 HCR_EL2 register fields.
  
  MFC after:	1 month
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/arm64/include/hypervisor.h

Modified: head/sys/arm64/include/hypervisor.h
==============================================================================
--- head/sys/arm64/include/hypervisor.h	Thu Nov  1 16:50:19 2018	(r340007)
+++ head/sys/arm64/include/hypervisor.h	Thu Nov  1 17:05:10 2018	(r340008)
@@ -80,6 +80,17 @@
 #define	HCR_RW		0x0000000080000000
 #define	HCR_CD		0x0000000100000000
 #define	HCR_ID		0x0000000200000000
+#define	HCR_E2H		0x0000000400000000
+#define	HCR_TLOR	0x0000000800000000
+#define	HCR_TERR	0x0000001000000000
+#define	HCR_TEA		0x0000002000000000
+#define	HCR_MIOCNCE	0x0000004000000000
+/* Bit 39 is reserved */
+#define	HCR_APK		0x0000010000000000
+#define	HCR_API		0x0000020000000000
+#define	HCR_NV		0x0000040000000000
+#define	HCR_NV1		0x0000080000000000
+#define	HCR_AT		0x0000100000000000
 
 #endif
 


More information about the svn-src-head mailing list