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