]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.h
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / GenDepex / GenDepex.h
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.h b/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.h
new file mode 100644 (file)
index 0000000..d9df5fa
--- /dev/null
@@ -0,0 +1,67 @@
+/*++\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
+          GenDepex.h\r
+\r
+  Abstract:\r
+          This file contains the relevant declarations required\r
+          to generate a binary Dependency File\r
+\r
+  Complies with Tiano C Coding Standards Document, version 0.31, 12 Dec 2000.\r
+\r
+--*/\r
+\r
+#ifndef _EFI_GEN_DEPEX_H\r
+#define _EFI_GEN_DEPEX_H\r
+\r
+#include "TianoCommon.h"\r
+#include "EfiDependency.h"\r
+#include <stdio.h>\r
+#include <stdlib.h>\r
+#include <memory.h>\r
+#include <string.h>\r
+#include <malloc.h>\r
+\r
+#define DEPENDENCY_START            "DEPENDENCY_START"\r
+#define OPERATOR_BEFORE             "BEFORE"\r
+#define OPERATOR_AFTER              "AFTER"\r
+#define OPERATOR_AND                "AND"\r
+#define OPERATOR_OR                 "OR"\r
+#define OPERATOR_NOT                "NOT"\r
+#define OPERATOR_TRUE               "TRUE"\r
+#define OPERATOR_FALSE              "FALSE"\r
+#define OPERATOR_SOR                "SOR"\r
+#define OPERATOR_END                "END"\r
+#define OPERATOR_LEFT_PARENTHESIS   "("\r
+#define OPERATOR_RIGHT_PARENTHESIS  ")"\r
+#define DEPENDENCY_END              "DEPENDENCY_END"\r
+\r
+#define DXE_DEP_LEFT_PARENTHESIS    0x0a\r
+#define DXE_DEP_RIGHT_PARENTHESIS   0x0b\r
+\r
+#define LINESIZE                    320\r
+#define SIZE_A_SYMBOL               60\r
+#define DEPENDENCY_OPCODE           UINT8\r
+#define EVAL_STACK_SIZE             0x1024\r
+#define BUFFER_SIZE                 0x100\r
+\r
+//\r
+// Utility Name\r
+//\r
+#define UTILITY_NAME  "GenDepex"\r
+\r
+//\r
+// Utility version information\r
+//\r
+#define UTILITY_MAJOR_VERSION 0\r
+#define UTILITY_MINOR_VERSION 4\r
+\r
+#endif\r