public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Xiaoyu Lu" <xiaoyux.lu@intel.com>
To: devel@edk2.groups.io
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>,
	Liming Gao <liming.gao@intel.com>,
	Jiewen Yao <jiewen.yao@intel.com>
Subject: [edk2-DecSpecification PATCH v1] DEC document: Add HOST_APPLICATION ModuleType
Date: Tue,  9 Jul 2019 09:54:15 +0000	[thread overview]
Message-ID: <20190709095415.2909-1-xiaoyux.lu@intel.com> (raw)

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


                 reply	other threads:[~2019-07-09  9:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190709095415.2909-1-xiaoyux.lu@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox