Adding top-level Conf directory for next generation of EDK II build infrastructure...
[mirror_edk2.git] / OldMdePkg / Include / DxeDepex.h
1 /** @file
2 Include file for DXE Dependency Expression *.DXS file.
3
4 This include file is only for Dependency Expression *.DXS files and
5 should not be include directly in modules.
6
7 DEPEX (DEPendency EXpresion) BNF Grammer for DXE:
8 The BNF grammar is thus:
9 <pre>
10 <depex> ::= before GUID
11 | after GUID
12 | SOR <bool>
13 | <bool>
14 <bool> ::= <bool> and <term>
15 | <bool> or <term>
16 | <term>
17 <term> ::= not <factor>
18 | <factor>
19 <factor> ::= <bool>
20 | <boolval>
21 | <depinst>
22 | <termval>
23 <boolval> ::= true
24 | false
25 <depinst> ::= push GUID
26 <termval> ::= end
27 </pre>
28
29 Copyright (c) 2006, Intel Corporation
30 All rights reserved. This program and the accompanying materials
31 are licensed and made available under the terms and conditions of the BSD License
32 which accompanies this distribution. The full text of the license may be found at
33 http://opensource.org/licenses/bsd-license.php
34
35 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
36 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
37
38 **/
39
40 #ifndef __DXE_DEPEX_H__
41 #define __DXE_DEPEX_H__
42
43 //
44 // The Depex grammer needs the following strings so we must undo
45 // any pre-processor redefinitions
46 //
47 #undef DEPENDENCY_START
48 #undef BEFORE
49 #undef AFTER
50 #undef SOR
51 #undef AND
52 #undef OR
53 #undef NOT
54 #undef TRUE
55 #undef FALSE
56 #undef DEPENDENCY_END
57
58 #endif