Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2019 12:12:01 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r344465 - stable/12/sys/x86/include
Message-ID:  <201902221212.x1MCC1jp039792@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Feb 22 12:12:01 2019
New Revision: 344465
URL: https://svnweb.freebsd.org/changeset/base/344465

Log:
  MFC r344293:
  Add definition for %cr4 PKRU enable bit.

Modified:
  stable/12/sys/x86/include/specialreg.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/x86/include/specialreg.h
==============================================================================
--- stable/12/sys/x86/include/specialreg.h	Fri Feb 22 11:52:40 2019	(r344464)
+++ stable/12/sys/x86/include/specialreg.h	Fri Feb 22 12:12:01 2019	(r344465)
@@ -77,6 +77,7 @@
 #define	CR4_XSAVE 0x00040000	/* XSETBV/XGETBV */
 #define	CR4_SMEP 0x00100000	/* Supervisor-Mode Execution Prevention */
 #define	CR4_SMAP 0x00200000	/* Supervisor-Mode Access Prevention */
+#define	CR4_PKE	0x00400000	/* Protection Keys Enable */
 
 /*
  * Bits in AMD64 special registers.  EFER is 64 bits wide.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902221212.x1MCC1jp039792>