]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Include/Guid/LastEnumLang.h
Clean up the private GUID definition in module Level.
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Guid / LastEnumLang.h
diff --git a/IntelFrameworkModulePkg/Include/Guid/LastEnumLang.h b/IntelFrameworkModulePkg/Include/Guid/LastEnumLang.h
new file mode 100644 (file)
index 0000000..8d9e37f
--- /dev/null
@@ -0,0 +1,31 @@
+/** @file\r
+  GUID used as EFI variable to store platform language at last time enumeration.\r
+  \r
+Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution.  \r
+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
+\r
+#ifndef __LAST_ENUM_LANGUAGE_GUID_H__\r
+#define __LAST_ENUM_LANGUAGE_GUID_H__\r
+\r
+///\r
+/// This GUID is used for Set/Get platform language into/from variable at last time enumeration \r
+/// to ensure the enumeration will only execute once.\r
+///\r
+#define LAST_ENUM_LANGUAGE_GUID \\r
+  { \\r
+  0xe8c545b, 0xa2ee, 0x470d, { 0x8e, 0x26, 0xbd, 0xa1, 0xa1, 0x3c, 0xa, 0xa3 } \\r
+  }\r
+\r
+#define LAST_ENUM_LANGUAGE_VARIABLE_NAME L"LastEnumLang"\r
+\r
+extern EFI_GUID gLastEnumLangGuid;\r
+\r
+#endif\r