[edk2-devel] [PATCH V2 0/1] Add EDKII_PEI_VARIABLE_PPI

Nate DeSimone posted 1 patch 1 year, 9 months ago
Failed in applying to current master (apply log)
MdeModulePkg/Include/Ppi/Variable.h | 195 ++++++++++++++++++++++++++++
MdeModulePkg/MdeModulePkg.dec       |   3 +
2 files changed, 198 insertions(+)
create mode 100644 MdeModulePkg/Include/Ppi/Variable.h
[edk2-devel] [PATCH V2 0/1] Add EDKII_PEI_VARIABLE_PPI
Posted by Nate DeSimone 1 year, 9 months ago
Changes in V2:
  - Fixed instances where the new PPI was incorrectly reffered to as
    "EDKII PEI Variable Protocol"
  - Added OPTIONAL to the Attributes argument of GetVariable()
  - Added description of initial calling conditions to GetNextVariableName()
  - Clarified the function and format of EFI_AUTHENTICATED_VARIABLE_HOB

This patch series proposes a new architectural PPI: EDKII_PEI_VARIABLE_PPI
This PPI provides services to read and write to UEFI variables during the PEI
environment. While an implementation of this PPI does not exist yet, Intel is
working on a new implementation of the PEI variable services that includes write
support.

As this is essentially a PEI version of the EFI_SMM_VARIABLE_PROTOCOL, I don't
expect it to be immensely controversial. Regardless, before this implementation
is done, we would like to provide the community with an opportunity to provide
input the on new architectural PPI.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Isaac Oram <isaac.w.oram@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Gao Cheng <gao.cheng@intel.com>
Cc: Di Zhang <di.zhang@intel.com>
Cc: Daocheng Bu <daocheng.bu@intel.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>

Nathaniel L Desimone (1):
  MdeModulePkg: Add Definition of EDKII_PEI_VARIABLE_PPI

 MdeModulePkg/Include/Ppi/Variable.h | 195 ++++++++++++++++++++++++++++
 MdeModulePkg/MdeModulePkg.dec       |   3 +
 2 files changed, 198 insertions(+)
 create mode 100644 MdeModulePkg/Include/Ppi/Variable.h

-- 
2.27.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#90449): https://edk2.groups.io/g/devel/message/90449
Mute This Topic: https://groups.io/mt/91678221/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH V2 0/1] Add EDKII_PEI_VARIABLE_PPI
Posted by Michael Kubacki 1 year, 9 months ago
Acked-by: Michael Kubacki <michael.kubacki@microsoft.com>

On 6/10/2022 5:20 PM, Nate DeSimone wrote:
> Changes in V2:
>    - Fixed instances where the new PPI was incorrectly reffered to as
>      "EDKII PEI Variable Protocol"
>    - Added OPTIONAL to the Attributes argument of GetVariable()
>    - Added description of initial calling conditions to GetNextVariableName()
>    - Clarified the function and format of EFI_AUTHENTICATED_VARIABLE_HOB
> 
> This patch series proposes a new architectural PPI: EDKII_PEI_VARIABLE_PPI
> This PPI provides services to read and write to UEFI variables during the PEI
> environment. While an implementation of this PPI does not exist yet, Intel is
> working on a new implementation of the PEI variable services that includes write
> support.
> 
> As this is essentially a PEI version of the EFI_SMM_VARIABLE_PROTOCOL, I don't
> expect it to be immensely controversial. Regardless, before this implementation
> is done, we would like to provide the community with an opportunity to provide
> input the on new architectural PPI.
> 
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Isaac Oram <isaac.w.oram@intel.com>
> Cc: Chasel Chiu <chasel.chiu@intel.com>
> Cc: Gao Cheng <gao.cheng@intel.com>
> Cc: Di Zhang <di.zhang@intel.com>
> Cc: Daocheng Bu <daocheng.bu@intel.com>
> Cc: Michael Kubacki <michael.kubacki@microsoft.com>
> Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
> 
> Nathaniel L Desimone (1):
>    MdeModulePkg: Add Definition of EDKII_PEI_VARIABLE_PPI
> 
>   MdeModulePkg/Include/Ppi/Variable.h | 195 ++++++++++++++++++++++++++++
>   MdeModulePkg/MdeModulePkg.dec       |   3 +
>   2 files changed, 198 insertions(+)
>   create mode 100644 MdeModulePkg/Include/Ppi/Variable.h
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#90453): https://edk2.groups.io/g/devel/message/90453
Mute This Topic: https://groups.io/mt/91678221/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-