]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DebugSupport.h
Add X64 support for DebugSupport driver.
[mirror_edk2.git] / MdePkg / Include / Protocol / DebugSupport.h
index 4f7d3d138a457ead34eeac4893d6829c101a2333..8313bf5b5d93dd4b43b9ae5a0fda7967af83b4a8 100644 (file)
@@ -198,7 +198,23 @@ typedef struct {
   UINT8   Xmm5[16];\r
   UINT8   Xmm6[16];\r
   UINT8   Xmm7[16];\r
   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
   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
 } EFI_FX_SAVE_STATE_X64;\r
 \r
 typedef struct {\r
@@ -512,7 +528,7 @@ VOID
   );\r
 \r
 /**                                                                 \r
   );\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
       \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
   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  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
                                 cache to invalidate.                                                 \r
                                 \r
   @retval EFI_SUCCESS           The function completed successfully.  \r