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