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