EDK II VFR Specification
Search…
EDK II VFR Specification
1.0.0
EDK II VFR Programming Language Specification
1 Introduction
2 VFR Description in BNF
2.1 VFR Programming Keywords
2.2 VFR Program
2.3 VFR Data Struct Definition
2.4 VFR FormSet Definition
2.5 VFR FormSet List Definition
2.6 VFR Default Stores Definition
2.7 VFR Variable Store Definition
2.8 VFR FormSet DisableIf Definition
2.9 VFR FormSet SuppressIf Definition
2.10 VFR General Token Definition
2.11 VFR Form Definition
2.12 VFR Expression Statement Definition
Powered By
GitBook
2.2 VFR Program
A complete VFR program takes the following form:
1
vfrProgram
::=
2
(
3
vfrPragmaPackDefinition
4
|
vfrDataStructDefinition
5
)
*
6
vfrFormSetDefinition
7
8
vfrPragmaPackDefinition
::=
9
"#pragma"
"pack"
"("
vfrPragmaPackType
")"
10
11
vfrPragmaPackType
::=
12
{
13
"show"
14
|
(
"push"
|
"pop"
)
{
","
StringIdentifier
}
{
","
Number
}
15
|
{
Number
}
16
}
Copied!
BEHAVIORS AND RESTRICTIONS
The data structure must be defined before formset statements. The pragma pack number must be the second power of 2.
Example
None.
Previous
2.1 VFR Programming Keywords
Next
2.3 VFR Data Struct Definition
Last modified
2yr ago
Copy link
Contents
BEHAVIORS AND RESTRICTIONS
Example