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