]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ArchExceptionHandler.c
UefiCpuPkg/ExceptionLib: Add CET support.
[mirror_edk2.git] / UefiCpuPkg / Library / CpuExceptionHandlerLib / Ia32 / ArchExceptionHandler.c
index 531258610aa9b651b86ce9b0ecc7a2ef529f2526..f3d993af75f0f07e91df9cda7afb634169f96703 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   IA32 CPU Exception Handler functons.\r
 \r
-  Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2012 - 2019, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -326,13 +326,14 @@ DumpCpuContext (
       );\r
     if (ExceptionType == EXCEPT_IA32_PAGE_FAULT) {\r
       InternalPrintMessage (\r
-        "  I:%x R:%x U:%x W:%x P:%x PK:%x S:%x",\r
+        "  I:%x R:%x U:%x W:%x P:%x PK:%x SS:%x SGX:%x",\r
         (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_ID)   != 0,\r
         (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_RSVD) != 0,\r
         (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_US)   != 0,\r
         (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_WR)   != 0,\r
         (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_P)    != 0,\r
         (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_PK)   != 0,\r
+        (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_SS)   != 0,\r
         (SystemContext.SystemContextIa32->ExceptionData & IA32_PF_EC_SGX)  != 0\r
         );\r
     }\r