]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/Variable/Variable.h
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Core / Dxe / ArchProtocol / Variable / Variable.h
diff --git a/EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/Variable/Variable.h b/EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/Variable/Variable.h
new file mode 100644 (file)
index 0000000..bee321d
--- /dev/null
@@ -0,0 +1,41 @@
+/*++\r
+\r
+Copyright (c) 2004, 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
+Module Name:\r
+\r
+  Variable.h\r
+\r
+Abstract:\r
+\r
+  Variable Architectural Protocol as defined in the DXE CIS\r
+\r
+  This code is used to produce the EFI 1.0 runtime variable services\r
+\r
+  The GetVariable (), GetNextVariableName (), and SetVariable () EFI 1.0 \r
+  services are added to the EFI system table and the \r
+  EFI_VARIABLE_ARCH_PROTOCOL_GUID protocol is registered with a NULL pointer.\r
+\r
+  No CRC of the EFI system table is required, as it is done in the DXE core.\r
+\r
+--*/\r
+\r
+#ifndef _ARCH_PROTOCOL_VARIABLE_ARCH_H_\r
+#define _ARCH_PROTOCOL_VARIABLE_ARCH_H_\r
+\r
+//\r
+// Global ID for the Variable Architectural Protocol\r
+//\r
+#define EFI_VARIABLE_ARCH_PROTOCOL_GUID \\r
+  { 0x1e5668e2, 0x8481, 0x11d4, 0xbc, 0xf1, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 }\r
+\r
+extern EFI_GUID gEfiVariableArchProtocolGuid;\r
+\r
+#endif \r