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