]> git.proxmox.com Git - mirror_edk2.git/blob - EdkModulePkg/Include/EdkPeimDepex.h
Added CONST for some sting type to follow MWG-0.51. Tracker 26 and 28
[mirror_edk2.git] / EdkModulePkg / Include / EdkPeimDepex.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 EdkPeimDepex.h
14
15 Abstract:
16 This include file is only used in *.DXS files. Do not use this
17 include file in normal Peim code.
18
19 Depex - Dependency Expresion
20
21 The BNF grammar is thus:
22 <depex> ::= <bool>
23 <bool> ::= <bool> and <term>
24 | <bool> or <term>
25 | <term>
26 <term> ::= not <factor>
27 | <factor>
28 <factor> ::= <bool>
29 | <boolval>
30 | <depinst>
31 | <termval>
32 <boolval> ::= true
33 | false
34 <depinst> ::= push GUID
35 <termval> ::= end
36
37 --*/
38
39 #ifndef __EDK_PEIM_DEPEX_H__
40 #define __EDK_PEIM_DEPEX_H__
41
42 #include <EdkPeim.h>
43
44 //
45 // The Depex grammer needs the following strings so we must undo
46 // any pre-processor redefinitions
47 //
48 #undef DEPENDENCY_START
49 #undef AND
50 #undef OR
51 #undef NOT
52 #undef TRUE
53 #undef FALSE
54 #undef DEPENDENCY_END
55
56 #endif