public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-DecSpecification PATCH v1] DEC document: Add HOST_APPLICATION ModuleType
@ 2019-07-09  9:54 Xiaoyu Lu
  0 siblings, 0 replies; only message in thread
From: Xiaoyu Lu @ 2019-07-09  9:54 UTC (permalink / raw)
  To: devel; +Cc: Xiaoyu Lu, Liming Gao, Jiewen Yao

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>
---
 1_introduction/12_terms.md                                   | 5 +++--
 .../32_package_declaration_dec_definitions.md                | 1 +
 README.md                                                    | 4 ++--
 appendix_b_edk_ii_module_types.md                            | 1 +
 4 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/1_introduction/12_terms.md b/1_introduction/12_terms.md
index e6f7a3d..40e78aa 100644
--- a/1_introduction/12_terms.md
+++ b/1_introduction/12_terms.md
@@ -222,8 +222,9 @@ All libraries and components belong to one of the following module types: `BASE`
 framework that is consistent with a similar set of requirements. A module that
 is of module type BASE, depends only on headers and libraries provided in the
 MDE, while a module that is of module type DXE_DRIVER depends on common DXE
-components. The EDK II build system also permits modules of type `USER_DEFINED`.
-These modules will not be processed by the EDK II Build system. See
+components. The EDK II build system also permits modules of type `USER_DEFINED`
+and `HOST_APPLICATION`. These modules will not be processed by the EDK II Build
+system. See
 [Table 2 EDK II Module Types](appendix_b_edk_ii_module_types.md#table-2-edk-ii-module-types).
 
 **Package**
diff --git a/3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md b/3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md
index dc18fb0..92d6fb4 100644
--- a/3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md
+++ b/3_edk_ii_dec_file_format/32_package_declaration_dec_definitions.md
@@ -236,6 +236,7 @@ DEC file (for example, `<Expression>` statements are not permitted).
                           {"DXE_RUNTIME_DRIVER"} {"DXE_SAL_DRIVER"}
                           {"DXE_SMM_DRIVER"} {"UEFI_DRIVER"}
                           {"UEFI_APPLICATION"} {"USER_DEFINED"}
+                          {"HOST_APPLICATION"}
 <ModuleTypeList>      ::= <ModuleType> [" " <ModuleType>]*
 <IdentifierName>      ::= <TS> {<MACROVAL>} {<PcdName>} <TS>
 <Boolean>             ::= {<BoolType>} {<Expression>}
diff --git a/README.md b/README.md
index 64a0964..70d0278 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 <!--- @file
   README.md for EDK II Package Declaration (DEC) File Format Specification
 
-  Copyright (c) 2007-2018, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2007-2019, Intel Corporation. All rights reserved.<BR>
 
   Redistribution and use in source (original document form) and 'compiled'
   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.
 |            | Add structure PCD definition syntax                                                                                                                 |                 |
 |            | Add clarification that !error statement is not permitted in DEC file                                                                                |                 |
 | 1.28       | [#1453](https://bugzilla.tianocore.org/show_bug.cgi?id=1453) Update DEC spec to remove EDK related contents                                                                                                                                                                                                                                                                                                                        | Mar 2019      |
- 
\ No newline at end of file
+| 1.29       | [#1952](https://bugzilla.tianocore.org/show_bug.cgi?id=1952) add HOST_APPLICATION ModuleType                                                        | July 2019       |
diff --git a/appendix_b_edk_ii_module_types.md b/appendix_b_edk_ii_module_types.md
index 3e89593..715f1af 100644
--- a/appendix_b_edk_ii_module_types.md
+++ b/appendix_b_edk_ii_module_types.md
@@ -48,3 +48,4 @@
 | 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                                                             |
 |                    |                              | EFI_SUCCESS are not unloaded from memory. UEFI Drivers that return an error are unloaded from memory.                                                                                                                                                                  |
 | 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.                                                                                                   |
+| HOST_APPLICATION   | Any                          | This module type is used by building executable program that can directly run in OS environment.                                                                                                                                                                       |
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-09  9:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-09  9:54 [edk2-DecSpecification PATCH v1] DEC document: Add HOST_APPLICATION ModuleType Xiaoyu Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox