public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Dandan Bi <dandan.bi@intel.com>
To: edk2-devel@lists.01.org
Cc: Liming Gao <liming.gao@intel.com>,
	Eric Dong <eric.dong@intel.com>,
	Jiewen Yao <jiewen.yao@intel.com>
Subject: [patch 4/4] MdeModulePkg/DriverSampleDxe: Remove the non-interactive password
Date: Thu, 17 Nov 2016 10:24:07 +0800	[thread overview]
Message-ID: <1479349447-46344-5-git-send-email-dandan.bi@intel.com> (raw)
In-Reply-To: <1479349447-46344-1-git-send-email-dandan.bi@intel.com>

Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h |  1 -
 MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr       | 10 ----------
 2 files changed, 11 deletions(-)

diff --git a/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h b/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h
index 17b4d99..3dfacca 100644
--- a/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h
+++ b/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h
@@ -32,11 +32,10 @@ Revision History:
 
 #define CONFIGURATION_VARSTORE_ID    0x1234
 
 #pragma pack(1)
 typedef struct {
-  UINT16  WhatIsThePassword[20];
   UINT16  WhatIsThePassword2[20];
   UINT16  MyStringData[40];
   UINT16  PasswordClearText[20];
   UINT16  SomethingHiddenForHtml;
   UINT8   HowOldAreYouInYearsManual;
diff --git a/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr b/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr
index 326d9b2..376f0ef 100644
--- a/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr
+++ b/MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr
@@ -456,20 +456,10 @@ formset
       defaultstore = MyManufactureDefault,
       prompt   = STRING_TOKEN(STR_MANUFACTURE_DEFAULT_PROMPT),
       help     = STRING_TOKEN(STR_MANUFACTURE_DEFAULT_HELP),
     endresetbutton;
 
-    //
-    // Non-interactive password, validate by Setup Browser
-    //
-    password  varid    = MyIfrNVData.WhatIsThePassword,
-              prompt   = STRING_TOKEN(STR_PASSWORD_PROMPT),
-              help     = STRING_TOKEN(STR_PASSWORD_HELP),
-              minsize  = 6,
-              maxsize  = 20,
-    endpassword;
-
     string    varid    = MyIfrNVData.PasswordClearText,
               prompt   = STRING_TOKEN(STR_MY_STRING_PROMPT),
               help     = STRING_TOKEN(STR_MY_STRING_HELP),
               minsize  = 6,
               maxsize  = 0x14,
-- 
1.9.5.msysgit.1



  parent reply	other threads:[~2016-11-17  2:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-17  2:24 [patch 0/4] MdeModulePkg: Don't support password without interactive flag Dandan Bi
2016-11-17  2:24 ` [patch 1/4] MdeModulePkg/DisplayEngine: Popup dialogue when password is not supported Dandan Bi
2016-11-17  2:24 ` [patch 2/4] MdeModulePkg/SetupBrowser:Don't support password without interactive flag Dandan Bi
2016-11-17  2:24 ` [patch 3/4] MdeModulePkg: Clear the buffer after using it Dandan Bi
2016-11-17  2:24 ` Dandan Bi [this message]
2016-11-24  5:15 ` [patch 0/4] MdeModulePkg: Don't support password without interactive flag Gao, Liming

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=1479349447-46344-5-git-send-email-dandan.bi@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