]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/CodeTools/TianoTools/GenDepex/GenDepex.h
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / CodeTools / TianoTools / GenDepex / GenDepex.h
CommitLineData
878ddf1f 1/*++\r
2Copyright (c) 2004, Intel Corporation \r
3All rights reserved. This program and the accompanying materials \r
4are licensed and made available under the terms and conditions of the BSD License \r
5which accompanies this distribution. The full text of the license may be found at \r
6http://opensource.org/licenses/bsd-license.php \r
7 \r
8THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
9WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
10\r
11 Module Name: \r
12 GenDepex.h\r
13\r
14 Abstract:\r
15 This file contains the relevant declarations required\r
16 to generate a binary Dependency File\r
17\r
18 Complies with Tiano C Coding Standards Document, version 0.31, 12 Dec 2000.\r
19\r
20--*/\r
21\r
22#ifndef _EFI_GEN_DEPEX_H\r
23#define _EFI_GEN_DEPEX_H\r
24\r
25\r
26#include <stdio.h>\r
27#include <stdlib.h>\r
28#include <memory.h>\r
29#include <string.h>\r
30#ifndef __GNUC__\r
31#include <malloc.h>\r
32#endif\r
ce53a8c3 33\r
34#include <Common/UefiBaseTypes.h>\r
35#include <Common/Dependency.h>\r
878ddf1f 36\r
37#define DEPENDENCY_START "DEPENDENCY_START"\r
38#define OPERATOR_BEFORE "BEFORE"\r
39#define OPERATOR_AFTER "AFTER"\r
40#define OPERATOR_AND "AND"\r
41#define OPERATOR_OR "OR"\r
42#define OPERATOR_NOT "NOT"\r
43#define OPERATOR_TRUE "TRUE"\r
44#define OPERATOR_FALSE "FALSE"\r
45#define OPERATOR_SOR "SOR"\r
46#define OPERATOR_END "END"\r
47#define OPERATOR_LEFT_PARENTHESIS "("\r
48#define OPERATOR_RIGHT_PARENTHESIS ")"\r
49#define DEPENDENCY_END "DEPENDENCY_END"\r
50\r
51#define DXE_DEP_LEFT_PARENTHESIS 0x0a\r
52#define DXE_DEP_RIGHT_PARENTHESIS 0x0b\r
53\r
54#define LINESIZE 320\r
55#define SIZE_A_SYMBOL 60\r
56#define DEPENDENCY_OPCODE UINT8\r
57#define EVAL_STACK_SIZE 0x1024\r
58#define BUFFER_SIZE 0x100\r
59\r
60//\r
61// Utility Name\r
62//\r
63#define UTILITY_NAME "GenDepex"\r
64\r
65//\r
66// Utility version information\r
67//\r
68#define UTILITY_MAJOR_VERSION 0\r
69#define UTILITY_MINOR_VERSION 5\r
70\r
71#endif\r