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