2 This module contains data specific to dependency expressions
3 and local function prototypes.
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
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.
14 Module Name: Dependency.h
18 #ifndef __DEPENDENCY_H__
19 #define __DEPENDENCY_H__
21 /// EFI_DEP_BEFORE - If present, this must be the first and only opcode
22 #define EFI_DEP_BEFORE 0x00
24 /// EFI_DEP_AFTER - If present, this must be the first and only opcode
25 #define EFI_DEP_AFTER 0x01
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
35 /// EFI_DEP_SOR - If present, this must be the first opcode
36 #define EFI_DEP_SOR 0x09
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
43 #define EFI_DEP_REPLACE_TRUE 0xff
46 /// Define the initial size of the dependency expression evaluation stack
48 #define DEPEX_STACK_SIZE_INCREMENT 0x1000