summaryrefslogtreecommitdiff
path: root/EDK/Foundation/Guid/GenericVariable
diff options
context:
space:
mode:
authorraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
committerraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
commitb7c51c9cf4864df6aabb99a1ae843becd577237c (patch)
treeeebe9b0d0ca03062955223097e57da84dd618b9a /EDK/Foundation/Guid/GenericVariable
downloadzprj-master.tar.xz
init. 1AQQW051HEADmaster
Diffstat (limited to 'EDK/Foundation/Guid/GenericVariable')
-rw-r--r--EDK/Foundation/Guid/GenericVariable/GenericVariable.c27
-rw-r--r--EDK/Foundation/Guid/GenericVariable/GenericVariable.h32
2 files changed, 59 insertions, 0 deletions
diff --git a/EDK/Foundation/Guid/GenericVariable/GenericVariable.c b/EDK/Foundation/Guid/GenericVariable/GenericVariable.c
new file mode 100644
index 0000000..9079610
--- /dev/null
+++ b/EDK/Foundation/Guid/GenericVariable/GenericVariable.c
@@ -0,0 +1,27 @@
+/*++
+
+Copyright (c) 2007, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ GenericVariable.c
+
+Abstract:
+
+ The variable space Guid to pair with a Unicode string name to tag an EFI variable
+
+--*/
+
+#include "EfiSpec.h"
+#include EFI_GUID_DEFINITION (GenericVariable)
+
+EFI_GUID gEfiGenericVariableGuid = EFI_GENERIC_VARIABLE_GUID;
+
+EFI_GUID_STRING(&gEfiGenericVariableGuid, "GenericVariable", "Generic Variable GUID");
diff --git a/EDK/Foundation/Guid/GenericVariable/GenericVariable.h b/EDK/Foundation/Guid/GenericVariable/GenericVariable.h
new file mode 100644
index 0000000..416a1a5
--- /dev/null
+++ b/EDK/Foundation/Guid/GenericVariable/GenericVariable.h
@@ -0,0 +1,32 @@
+/*++
+
+Copyright (c) 2007, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ GenericVariable.h
+
+Abstract:
+
+ The variable space Guid to pair with a Unicode string name to tag an EFI variable
+
+--*/
+
+#ifndef _GENERIC_VARIABLE_H_
+#define _GENERIC_VARIABLE_H_
+
+#define EFI_GENERIC_VARIABLE_GUID \
+ { \
+ 0x59d1c24f, 0x50f1, 0x401a, 0xb1, 0x01, 0xf3, 0x3e, 0x0d, 0xae, 0xd4, 0x43 \
+ }
+
+extern EFI_GUID gEfiGenericVariableGuid;
+
+#endif