Author: kib
Date: Sat Jun  8 20:26:04 2019
New Revision: 348815
URL: https://svnweb.freebsd.org/changeset/base/348815

Log:
  Correct definition for PGEX_SGX.
  
  At the moment it is only used for page fault error code textual
  representation.
  
  Sponsored by: The FreeBSD Foundation
  MFC after:    3 days

Modified:
  head/sys/amd64/include/pmap.h

Modified: head/sys/amd64/include/pmap.h
==============================================================================
--- head/sys/amd64/include/pmap.h       Sat Jun  8 19:58:58 2019        
(r348814)
+++ head/sys/amd64/include/pmap.h       Sat Jun  8 20:26:04 2019        
(r348815)
@@ -138,7 +138,7 @@
 #define PGEX_RSV       0x08    /* reserved PTE field is non-zero */
 #define PGEX_I         0x10    /* during an instruction fetch */
 #define        PGEX_PK         0x20    /* protection key violation */
-#define        PGEX_SGX        0x40    /* SGX-related */
+#define        PGEX_SGX        0x8000  /* SGX-related */
 
 /* 
  * undef the PG_xx macros that define bits in the regular x86 PTEs that
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to