]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/EfiVfr.h
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / UefiVfrCompile / EfiVfr.h
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/EfiVfr.h b/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/EfiVfr.h
new file mode 100644 (file)
index 0000000..43e40ab
--- /dev/null
@@ -0,0 +1,53 @@
+/*++\r
+\r
+Copyright (c) 2004 - 2007, 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
+  EfiVfr.h\r
+\r
+Abstract:\r
+\r
+  Defines and prototypes for the UEFI VFR compiler internal use.\r
+  \r
+--*/\r
+\r
+#ifndef _EFIVFR_H_\r
+#define _EFIVFR_H_\r
+\r
+#include "Tiano.h"\r
+#include "TianoHii.h"\r
+\r
+#define MAX_PATH                 255\r
+#define MAX_LINE_LEN             4096\r
+\r
+#define EFI_IFR_MAX_LENGTH       0xFF\r
+\r
+#define EFI_VARSTORE_ID_INVALID  0\r
+#define EFI_VAROFFSET_INVALID    0xFFFF\r
+#define EFI_VARSTORE_ID_START    0x20\r
+#define EFI_STRING_ID_INVALID    0x0\r
+#define EFI_IMAGE_ID_INVALID     0xFFFF\r
+\r
+typedef enum {\r
+  QUESTION_NORMAL,\r
+  QUESTION_DATE,\r
+  QUESTION_TIME,\r
+} EFI_QUESION_TYPE;\r
+\r
+typedef enum {\r
+  EQUAL,\r
+  LESS_EQUAL,\r
+  LESS_THAN,\r
+  GREATER_THAN,\r
+  GREATER_EQUAL\r
+} EFI_COMPARE_TYPE;\r
+\r
+#endif\r