Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2019 20:26:04 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348815 - head/sys/amd64/include
Message-ID:  <201906082026.x58KQ4Rk030067@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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