From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2DDBE21E49BB8 for ; Tue, 22 Aug 2017 05:15:41 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Aug 2017 05:18:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,412,1498546800"; d="scan'208";a="303030253" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by fmsmga004.fm.intel.com with ESMTP; 22 Aug 2017 05:18:12 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Eric Dong , Liming Gao Date: Tue, 22 Aug 2017 20:17:22 +0800 Message-Id: <1503404245-298320-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [PATCH V5 0/3] Add HII Popup Protocol X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2017 12:15:41 -0000 Patch 1: Add the definition of HII Popup Protocol. Patch 2: Add the implementation of HII Popup Protocol. Patch 3: Add one sample use case of HII Popup Protocol. V5: Move the protocol GUID to the part fot UEFI2.7 protocol in dec. V4: Updates in pacth 2: Add more comments and remove one unnecessary check in function ParseMessageString(). V3: Updates in pacth 2: Separate DrawMessageBox() function into CalculatePopupPosition() DrawMessageBox() and GetUserSelection() three functions and refine related codes. V2: Updates in pacth 2: Addstring "ERROR", "WARNING", "INFO" at the top of the message box to implement the different appearances for different styles of Popup. Updates in pacth 3: Update the date info in the Copyright. Cc: Eric Dong Cc: Liming Gao Dandan Bi (3): MdePkg/HiiPopup: Add HII Popup Protocol definitions MdeModulePkg/DisplayEngine: Add implementation of HiiPopup protocol MdeModulePkg/DriverSample: Add sample case for popup protocol .../DisplayEngineDxe/DisplayEngineDxe.inf | 4 +- .../Universal/DisplayEngineDxe/FormDisplay.c | 42 ++ .../Universal/DisplayEngineDxe/FormDisplay.h | 96 ++- .../Universal/DisplayEngineDxe/FormDisplayStr.uni | 20 +- MdeModulePkg/Universal/DisplayEngineDxe/Popup.c | 730 +++++++++++++++++++++ .../Universal/DriverSampleDxe/DriverSample.c | 29 + .../Universal/DriverSampleDxe/DriverSample.h | 4 +- .../Universal/DriverSampleDxe/DriverSampleDxe.inf | 3 +- MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr | 10 +- .../Universal/DriverSampleDxe/VfrStrings.uni | 8 +- MdePkg/Include/Protocol/HiiPopup.h | 81 +++ MdePkg/MdePkg.dec | 3 + 12 files changed, 1022 insertions(+), 8 deletions(-) create mode 100644 MdeModulePkg/Universal/DisplayEngineDxe/Popup.c create mode 100644 MdePkg/Include/Protocol/HiiPopup.h -- 1.9.5.msysgit.1