Skip to content

Commit 2de18ce

Browse files
Lu, XiaoyuXlgao4
authored andcommitted
DEC document: Add HOST_APPLICATION ModuleType
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1952 INF spec add a new ModuleType HOST_APPLICATION. DEC spec also need to be updated. Cc: Liming Gao <liming.gao@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Xiaoyu Lu <xiaoyux.lu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
1 parent b417219 commit 2de18ce

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

1_introduction/12_terms.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,9 @@ All libraries and components belong to one of the following module types: `BASE`
222222
framework that is consistent with a similar set of requirements. A module that
223223
is of module type BASE, depends only on headers and libraries provided in the
224224
MDE, while a module that is of module type DXE_DRIVER depends on common DXE
225-
components. The EDK II build system also permits modules of type `USER_DEFINED`.
226-
These modules will not be processed by the EDK II Build system. See
225+
components. The EDK II build system also permits modules of type `USER_DEFINED`
226+
and `HOST_APPLICATION`. These modules will not be processed by the EDK II Build
227+
system. See
227228
[Table 2 EDK II Module Types](appendix_b_edk_ii_module_types.md#table-2-edk-ii-module-types).
228229

229230
**Package**

3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ DEC file (for example, `<Expression>` statements are not permitted).
236236
{"DXE_RUNTIME_DRIVER"} {"DXE_SAL_DRIVER"}
237237
{"DXE_SMM_DRIVER"} {"UEFI_DRIVER"}
238238
{"UEFI_APPLICATION"} {"USER_DEFINED"}
239+
{"HOST_APPLICATION"}
239240
<ModuleTypeList> ::= <ModuleType> [" " <ModuleType>]*
240241
<IdentifierName> ::= <TS> {<MACROVAL>} {<PcdName>} <TS>
241242
<Boolean> ::= {<BoolType>} {<Expression>}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--- @file
22
README.md for EDK II Package Declaration (DEC) File Format Specification
33
4-
Copyright (c) 2007-2018, Intel Corporation. All rights reserved.<BR>
4+
Copyright (c) 2007-2019, Intel Corporation. All rights reserved.<BR>
55
66
Redistribution and use in source (original document form) and 'compiled'
77
forms (converted to PDF, epub, HTML and other formats) with or without
@@ -173,4 +173,4 @@ Copyright (c) 2007-2017, Intel Corporation. All rights reserved.
173173
| | Add structure PCD definition syntax | |
174174
| | Add clarification that !error statement is not permitted in DEC file | |
175175
| 1.28 | [#1453](https://bugzilla.tianocore.org/show_bug.cgi?id=1453) Update DEC spec to remove EDK related contents | Mar 2019 |
176-
176+
| 1.29 | [#1952](https://bugzilla.tianocore.org/show_bug.cgi?id=1952) add HOST_APPLICATION ModuleType | July 2019 |

appendix_b_edk_ii_module_types.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@
4848
| UEFI_DRIVER | Any | This module type is used by UEFI Drivers that are compliant with the EFI 1.10 and UEFI specifications. These modules provide services in the boot services execution environment. UEFI Drivers that return |
4949
| | | EFI_SUCCESS are not unloaded from memory. UEFI Drivers that return an error are unloaded from memory. |
5050
| UEFI_APPLICATION | Any | This module type is used by UEFI Applications that are compliant with the EFI 1.10 and EFI 2.0 specifications. UEFI Applications are always unloaded when they exit. |
51+
| HOST_APPLICATION | Any | This module type is used by building executable program that can directly run in OS environment. |

0 commit comments

Comments
 (0)