]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Framework/Protocol/SmmCpuState/SmmCpuState.h
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Protocol / SmmCpuState / SmmCpuState.h
diff --git a/EdkCompatibilityPkg/Foundation/Framework/Protocol/SmmCpuState/SmmCpuState.h b/EdkCompatibilityPkg/Foundation/Framework/Protocol/SmmCpuState/SmmCpuState.h
new file mode 100644 (file)
index 0000000..1a6c79d
--- /dev/null
@@ -0,0 +1,43 @@
+/*++\r
+\r
+Copyright (c) 2005, Intel Corporation\r
+All rights reserved. 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
+http://opensource.org/licenses/bsd-license.php\r
+\r
+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
+\r
+Module Name:\r
+\r
+    SmmCpuState.h\r
+\r
+Abstract:\r
+\r
+    Protocol definition for EFI_SMM_CPU_SAVE_STATE protocol\r
+\r
+Revision History\r
+\r
+--*/\r
+\r
+#ifndef _SMMSAVESTATE_H_\r
+#define _SMMSAVESTATE_H_\r
+\r
+#include "CpuSaveState.h"\r
+\r
+//\r
+// Global ID for the Sx SMI Protocol\r
+//\r
+// {21F302AD-6E94-471b-84BC-B14800403A1D}\r
+#define EFI_SMM_CPU_SAVE_STATE_PROTOCOL_GUID  \\r
+  { 0x21f302ad, 0x6e94, 0x471b, 0x84, 0xbc, 0xb1, 0x48, 0x0, 0x40, 0x3a, 0x1d }\r
+\r
+typedef struct _EFI_SMM_CPU_SAVE_STATE_PROTOCOL {\r
+  EFI_SMM_CPU_STATE                 **CpuSaveState;\r
+} EFI_SMM_CPU_SAVE_STATE_PROTOCOL;\r
+\r
+extern EFI_GUID gEfiSmmCpuSaveStateProtocolGuid;\r
+\r
+#endif  // _SMMSAVESTATE_H_
\ No newline at end of file