]>
git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/GenDepex.h
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
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.
15 This file contains the relevant declarations required
16 to generate a binary Dependency File
18 Complies with Tiano C Coding Standards Document, version 0.31, 12 Dec 2000.
22 #ifndef _EFI_GEN_DEPEX_H
23 #define _EFI_GEN_DEPEX_H
25 #include "TianoCommon.h"
26 #include "EfiDependency.h"
33 #define DEPENDENCY_START "DEPENDENCY_START"
34 #define OPERATOR_BEFORE "BEFORE"
35 #define OPERATOR_AFTER "AFTER"
36 #define OPERATOR_AND "AND"
37 #define OPERATOR_OR "OR"
38 #define OPERATOR_NOT "NOT"
39 #define OPERATOR_TRUE "TRUE"
40 #define OPERATOR_FALSE "FALSE"
41 #define OPERATOR_SOR "SOR"
42 #define OPERATOR_END "END"
43 #define OPERATOR_LEFT_PARENTHESIS "("
44 #define OPERATOR_RIGHT_PARENTHESIS ")"
45 #define DEPENDENCY_END "DEPENDENCY_END"
47 #define DXE_DEP_LEFT_PARENTHESIS 0x0a
48 #define DXE_DEP_RIGHT_PARENTHESIS 0x0b
51 #define SIZE_A_SYMBOL 60
52 #define DEPENDENCY_OPCODE UINT8
53 #define EVAL_STACK_SIZE 0x1024
54 #define BUFFER_SIZE 0x100
59 #define UTILITY_NAME "GenDepex"
62 // Utility version information
64 #define UTILITY_MAJOR_VERSION 0
65 #define UTILITY_MINOR_VERSION 4