]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Include/EdkDxeDepex.h
Fix gcc build break. The PCD TokenNumber is incremented, not the address of the PCD...
[mirror_edk2.git] / EdkModulePkg / Include / EdkDxeDepex.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, 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 EdkDxeDepex.h\r
14\r
15Abstract:\r
16 This include file is only used in *.DXS files. Do not use this \r
17 include file in normal DXE code.\r
18\r
19 Depex - Dependency Expresion\r
20\r
21 The BNF grammar is thus:\r
22 <depex> ::= before GUID \r
23 | after GUID\r
24 | SOR <bool>\r
25 | <bool> \r
26 <bool> ::= <bool> and <term> \r
27 | <bool> or <term> \r
28 | <term> \r
29 <term> ::= not <factor> \r
30 | <factor> \r
31 <factor> ::= <bool> \r
32 | <boolval> \r
33 | <depinst> \r
34 | <termval> \r
35 <boolval> ::= true \r
36 | false \r
37 <depinst> ::= push GUID \r
38 <termval> ::= end \r
39\r
40--*/\r
41\r
42#ifndef __EDK_DXE_DEPEX_H__\r
43#define __EDK_DXE_DEPEX_H__\r
44\r
45#include <EdkDxe.h>\r
46\r
47//\r
48// The Depex grammer needs the following strings so we must undo\r
49// any pre-processor redefinitions\r
50//\r
51#undef DEPENDENCY_START \r
52#undef BEFORE \r
53#undef AFTER \r
54#undef SOR \r
55#undef AND \r
56#undef OR \r
57#undef NOT \r
58#undef TRUE \r
59#undef FALSE \r
60#undef DEPENDENCY_END \r
61\r
62#endif\r