]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DebugSupport.h
add a error macro to prevent this file from included for now #error "UEFI 2.1 HII...
[mirror_edk2.git] / MdePkg / Include / Protocol / DebugSupport.h
index 4f7d3d138a457ead34eeac4893d6829c101a2333..6dc42defedfa31174529a41d049795d0ccc05822 100644 (file)
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
-  Module Name:  DebugSupport.h\r
-\r
 **/\r
 \r
 #ifndef __DEBUG_SUPPORT_H__\r
 #define __DEBUG_SUPPORT_H__\r
 \r
+#include <IndustryStandard/PeImage.h>\r
+\r
 typedef struct _EFI_DEBUG_SUPPORT_PROTOCOL EFI_DEBUG_SUPPORT_PROTOCOL;\r
 \r
 //\r
@@ -198,7 +198,23 @@ typedef struct {
   UINT8   Xmm5[16];\r
   UINT8   Xmm6[16];\r
   UINT8   Xmm7[16];\r
+#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
+  //\r
+  // NOTE: UEFI 2.0 spec definition as follows. It should be updated \r
+  // after spec update.\r
+  //\r
   UINT8   Reserved11[14 * 16];\r
+#else\r
+  UINT8   Xmm8[16];\r
+  UINT8   Xmm9[16];\r
+  UINT8   Xmm10[16];\r
+  UINT8   Xmm11[16];\r
+  UINT8   Xmm12[16];\r
+  UINT8   Xmm13[16];\r
+  UINT8   Xmm14[16];\r
+  UINT8   Xmm15[16];\r
+  UINT8   Reserved10[6 * 16];\r
+#endif\r
 } EFI_FX_SAVE_STATE_X64;\r
 \r
 typedef struct {\r
@@ -512,7 +528,7 @@ VOID
   );\r
 \r
 /**                                                                 \r
-  Registers and enables the on-target debug agent¡¯s periodic entry point.\r
+  Registers and enables the on-target debug agent's periodic entry point.\r
       \r
   @param  SystemContext         Exception content.\r
                                    \r
@@ -609,9 +625,9 @@ EFI_STATUS
   causes a fresh memory fetch to retrieve code to be executed.                                  \r
     \r
   @param  This                  A pointer to the EFI_DEBUG_SUPPORT_PROTOCOL instance.\r
-  @param  ProcessorIndex        Specifies which processor¡¯s instruction cache is to be invalidated.\r
+  @param  ProcessorIndex        Specifies which processor's instruction cache is to be invalidated.\r
   @param  Start                 Specifies the physical base of the memory range to be invalidated.                                \r
-  @param  Length                Specifies the minimum number of bytes in the processor¡¯s instruction\r
+  @param  Length                Specifies the minimum number of bytes in the processor's instruction\r
                                 cache to invalidate.                                                 \r
                                 \r
   @retval EFI_SUCCESS           The function completed successfully.  \r