]> git.proxmox.com Git - mirror_edk2.git/blob - EdkModulePkg/Include/EdkDxeDepex.h
Fix bug in DxeMain module and EdkMemoryStatusCodeLib library.
[mirror_edk2.git] / EdkModulePkg / Include / EdkDxeDepex.h
1 /*++
2
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13 EdkDxeDepex.h
14
15 Abstract:
16 This include file is only used in *.DXS files. Do not use this
17 include file in normal DXE code.
18
19 Depex - Dependency Expresion
20
21 The BNF grammar is thus:
22 <depex> ::= before GUID
23 | after GUID
24 | SOR <bool>
25 | <bool>
26 <bool> ::= <bool> and <term>
27 | <bool> or <term>
28 | <term>
29 <term> ::= not <factor>
30 | <factor>
31 <factor> ::= <bool>
32 | <boolval>
33 | <depinst>
34 | <termval>
35 <boolval> ::= true
36 | false
37 <depinst> ::= push GUID
38 <termval> ::= end
39
40 --*/
41
42 #ifndef __EDK_DXE_DEPEX_H__
43 #define __EDK_DXE_DEPEX_H__
44
45 #include <EdkDxe.h>
46
47 //
48 // The Depex grammer needs the following strings so we must undo
49 // any pre-processor redefinitions
50 //
51 #undef DEPENDENCY_START
52 #undef BEFORE
53 #undef AFTER
54 #undef SOR
55 #undef AND
56 #undef OR
57 #undef NOT
58 #undef TRUE
59 #undef FALSE
60 #undef DEPENDENCY_END
61
62 #endif