Re: [edk2] [PATCH v2 1/3] MdePkg/MdePkg.uni: Add the prompt and help information

2019-03-11 Thread Yao, Jiewen
Reviewed-by: jiewen@intel.com

> -Original Message-
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of
> Shenglei Zhang
> Sent: Tuesday, March 12, 2019 10:05 AM
> To: edk2-devel@lists.01.org
> Cc: Kinney, Michael D ; Gao, Liming
> 
> Subject: [edk2] [PATCH v2 1/3] MdePkg/MdePkg.uni: Add the prompt and
> help information
> 
> The prompt and help information are missing in MdePkg.uni.
> https://bugzilla.tianocore.org/show_bug.cgi?id=1600
> 
> v2:Fix the error message of help and prompt information.
> 
> Cc: Michael D Kinney 
> Cc: Liming Gao 
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Shenglei Zhang 
> ---
>  MdePkg/MdePkg.uni | 7 +++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/MdePkg/MdePkg.uni b/MdePkg/MdePkg.uni
> index 863a68d025..f5a8ed1618 100644
> --- a/MdePkg/MdePkg.uni
> +++ b/MdePkg/MdePkg.uni
> @@ -148,6 +148,13 @@
> 
> "0  - No length check for unicode string.\n"
> 
> ">0 - Maximum length of unicode string."
> 
> +#string
> STR_gEfiMdePkgTokenSpaceGuid_PcdControlFlowEnforcementPropertyMas
> k_PROMPT  #language en-US "Enable control flow enforcement."
> +
> +#string
> STR_gEfiMdePkgTokenSpaceGuid_PcdControlFlowEnforcementPropertyMas
> k_HELP  #language en-US  "Indicates the control flow enforcement
> enabling state.\n"
> +
> "If enabled, it uses control flow enforcement technology to prevent ROP or
> JOP.\n"
> +
> " BIT0 - SMM CET Shadow Stack is enabled.\n"
> +
> " Other - reserved"
> +
>  #string
> STR_gEfiMdePkgTokenSpaceGuid_PcdMaximumAsciiStringLength_PROMPT
> #language en-US "Maximum Length of Ascii String"
> 
>  #string
> STR_gEfiMdePkgTokenSpaceGuid_PcdMaximumAsciiStringLength_HELP
> #language en-US "Sets the maximum number of ASCII characters used for
> string functions.  This affects the following BaseLib functions: 
> AsciiStrLen(),
> AsciiStrSize(), AsciiStrCmp(), AsciiStrnCmp(), AsciiStrCpy(), AsciiStrnCpy().
> \n"
> --
> 2.18.0.windows.1
> 
> ___
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] [PATCH v2 1/3] MdePkg/MdePkg.uni: Add the prompt and help information

2019-03-11 Thread Shenglei Zhang
The prompt and help information are missing in MdePkg.uni.
https://bugzilla.tianocore.org/show_bug.cgi?id=1600

v2:Fix the error message of help and prompt information.

Cc: Michael D Kinney 
Cc: Liming Gao 
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang 
---
 MdePkg/MdePkg.uni | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/MdePkg/MdePkg.uni b/MdePkg/MdePkg.uni
index 863a68d025..f5a8ed1618 100644
--- a/MdePkg/MdePkg.uni
+++ b/MdePkg/MdePkg.uni
@@ -148,6 +148,13 @@

  "0  - No length check for unicode string.\n"

  ">0 - Maximum length of unicode string."
 
+#string 
STR_gEfiMdePkgTokenSpaceGuid_PcdControlFlowEnforcementPropertyMask_PROMPT  
#language en-US "Enable control flow enforcement."
+
+#string 
STR_gEfiMdePkgTokenSpaceGuid_PcdControlFlowEnforcementPropertyMask_HELP  
#language en-US  "Indicates the control flow enforcement enabling state.\n"
+   
   "If enabled, it uses control flow enforcement technology to 
prevent ROP or JOP.\n"
+   
   " BIT0 - SMM CET Shadow Stack is enabled.\n"
+   
   " Other - reserved"
+
 #string STR_gEfiMdePkgTokenSpaceGuid_PcdMaximumAsciiStringLength_PROMPT  
#language en-US "Maximum Length of Ascii String"
 
 #string STR_gEfiMdePkgTokenSpaceGuid_PcdMaximumAsciiStringLength_HELP  
#language en-US "Sets the maximum number of ASCII characters used for string 
functions.  This affects the following BaseLib functions: AsciiStrLen(), 
AsciiStrSize(), AsciiStrCmp(), AsciiStrnCmp(), AsciiStrCpy(), AsciiStrnCpy(). 
\n"
-- 
2.18.0.windows.1

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel