]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/CodeTools/TianoTools/Include/Common/Dependency.h
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / CodeTools / TianoTools / Include / Common / Dependency.h
1 /** @file
2 This module contains data specific to dependency expressions
3 and local function prototypes.
4
5 Copyright (c) 2006, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 Module Name: Dependency.h
15
16 **/
17
18 #ifndef __DEPENDENCY_H__
19 #define __DEPENDENCY_H__
20
21 /// EFI_DEP_BEFORE - If present, this must be the first and only opcode
22 #define EFI_DEP_BEFORE 0x00
23
24 /// EFI_DEP_AFTER - If present, this must be the first and only opcode
25 #define EFI_DEP_AFTER 0x01
26
27 #define EFI_DEP_PUSH 0x02
28 #define EFI_DEP_AND 0x03
29 #define EFI_DEP_OR 0x04
30 #define EFI_DEP_NOT 0x05
31 #define EFI_DEP_TRUE 0x06
32 #define EFI_DEP_FALSE 0x07
33 #define EFI_DEP_END 0x08
34
35 /// EFI_DEP_SOR - If present, this must be the first opcode
36 #define EFI_DEP_SOR 0x09
37
38 ///
39 /// EFI_DEP_REPLACE_TRUE - Used to dynamically patch the dependecy expression
40 /// to save time. A EFI_DEP_PUSH is evauated one an
41 /// replaced with EFI_DEP_REPLACE_TRUE
42 ///
43 #define EFI_DEP_REPLACE_TRUE 0xff
44
45 ///
46 /// Define the initial size of the dependency expression evaluation stack
47 ///
48 #define DEPEX_STACK_SIZE_INCREMENT 0x1000
49
50 #endif