public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Carsey, Jaben" <jaben.carsey@intel.com>
To: "Feng, Bob C" <bob.c.feng@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Gao, Liming" <liming.gao@intel.com>
Subject: Re: [Patch] Document: Update Dsc spec to all empty value for HIIPcd
Date: Thu, 28 Feb 2019 15:45:01 +0000	[thread overview]
Message-ID: <CB6E33457884FA40993F35157061515CBCB90002@FMSMSX103.amr.corp.intel.com> (raw)
In-Reply-To: <20190228021117.21740-1-bob.c.feng@intel.com>

Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Feng, Bob C
> Sent: Wednesday, February 27, 2019 6:11 PM
> To: edk2-devel@lists.01.org
> Cc: Gao, Liming <liming.gao@intel.com>
> Subject: [edk2] [Patch] Document: Update Dsc spec to all empty value for
> HIIPcd
> 
> https://bugzilla.tianocore.org/show_bug.cgi?id=1466
> 
> Update Dsc spec to all empty value for HIIPcd.
> 
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Bob Feng <bob.c.feng@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> ---
>  2_dsc_overview/29_pcd_sections.md            | 4 ++--
>  3_edk_ii_dsc_file_format/310_pcd_sections.md | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/2_dsc_overview/29_pcd_sections.md
> b/2_dsc_overview/29_pcd_sections.md
> index 791125f..d84d2f4 100644
> --- a/2_dsc_overview/29_pcd_sections.md
> +++ b/2_dsc_overview/29_pcd_sections.md
> @@ -230,11 +230,11 @@ example:
>  `[PcdsDynamicHii.common.Sku1]`
> 
>  While the format for content of this section is as follows, note that the
>  backslash character is used here to indicate the continuation of the line:
> 
> -
> `PcdTokenSpaceGuidCName.PcdCName|VariableName|VariableGuid|Varia
> bleOffset[|HiiDefaultValue[|HiiAttrubte]]`
> +`PcdTokenSpaceGuidCName.PcdCName|VariableName|VariableGuid|Vari
> ableOffset[|[HiiDefaultValue][|HiiAttrubte]]`
> 
>  For VOID* PCDs, the HiiDefaultValue will be a pointer; specifying the
> optional
>  HiiDefaultValue has no meaning.
> 
>  The optional HII Attribute entry is a comma separated list of attributes as
> @@ -340,11 +340,11 @@ Specifying a `SKUID` for an HII PCD selection is
> optional, for example:
>  `[PcdsDynamicExHii.common.Sku1]`
> 
>  While the format for content of this section is as follows, note that the
>  backslash character is used here to indicate the continuation of the line:
> 
> -
> `PcdTokenSpaceGuidCName.PcdCName|VariableName|VariableGuid|Varia
> bleOffset[|HiiDefaultValue]`
> +`PcdTokenSpaceGuidCName.PcdCName|VariableName|VariableGuid|Vari
> ableOffset[|[HiiDefaultValue]]`
> 
>  The optional HII Attribute entry is a comma separated list of attributes as
>  described in Table 9 HII Attributes.
> 
>  **Note:** The VariableName field in the HII format PCD entry must not be
> an empty string.
> diff --git a/3_edk_ii_dsc_file_format/310_pcd_sections.md
> b/3_edk_ii_dsc_file_format/310_pcd_sections.md
> index f9f1359..f982d60 100644
> --- a/3_edk_ii_dsc_file_format/310_pcd_sections.md
> +++ b/3_edk_ii_dsc_file_format/310_pcd_sections.md
> @@ -503,11 +503,11 @@ sections of the DSC file.
>  <VpdMaxSize>     ::= {<IntNum>} {<UINT16>} [<FS> <StringValue>]
>  <HiiEntry>       ::= <PcdName> <FS> <HiiString> <Field2> <EOL>
>  <HiiString>      ::= {<CArray>} {<UnicodeString>}
>  <Field2>         ::= <FS> <VariableGuid> <FS> <VariableOffset> [<ValueField>]
>  <VariableGuid>   ::= <CName>
> -<ValueField>     ::= <FS> <DefaultValue> [<FS> <HiiAttrs>]
> +<ValueField>     ::= <FS> [<DefaultValue>] [<FS> <HiiAttrs>]
>  <VariableOffset> ::= <Number>
>  <DefaultValue>   ::= if (pcddatumtype == "BOOLEAN"):
>                         {<BoolType>} {<Expression>}
>                       elif (pcddatumtype == "UINT8"):
>                         {<NumValUint8>} {<Expression>}
> @@ -721,11 +721,11 @@ sections of the DSC file.
>  <VpdMaxSize>     ::= {<LongNum>} {<UINT32>} [<FS> <StringValue>]
>  <HiiEntry>       ::= <PcdName> <FS> <HiiString> <Field2> <EOL>
>  <HiiString>      ::= {<CArray>} {<UnicodeString>}
>  <Field2>         ::= <FS> <VariableGuid> <FS> <VariableOffset> [<ValueField>]
>  <VariableGuid>   ::= <CName>
> -<ValueField>     ::= <FS> <DefaultValue> [<FS> <HiiAttrs>]
> +<ValueField>     ::= <FS> [<DefaultValue>] [<FS> <HiiAttrs>]
>  <VariableOffset> ::= <Number>
>  <DefaultValue>   ::= if (pcddatumtype == "BOOLEAN"):
>                         {<BoolType>} {<Expression>}
>                       elif (pcddatumtype == "UINT8"):
>                         {<NumValUint8>} {<Expression>}
> --
> 2.20.1.windows.1
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2019-02-28 15:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-28  2:11 [Patch] Document: Update Dsc spec to all empty value for HIIPcd Feng, Bob C
2019-02-28 15:45 ` Carsey, Jaben [this message]
2019-03-01  2:58 ` Feng, Bob C
2019-03-01  3:00 ` Feng, Bob C

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=CB6E33457884FA40993F35157061515CBCB90002@FMSMSX103.amr.corp.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