[edk2] [PATCH V3 0/3] Update comments and code for GetNextVariableName to follow UEFI 2.7

Star Zeng posted 3 patches 6 years, 9 months ago
Only 1 patches received!
DuetPkg/FSVariable/FSVariable.c                    | 31 ++++++++++++-
.../Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 41 ++++++++++++++---
.../Variable/EmuRuntimeDxe/InitVariable.c          | 24 ++++++----
.../Universal/Variable/EmuRuntimeDxe/Variable.h    | 15 ++++---
.../Universal/Variable/RuntimeDxe/Variable.c       | 51 +++++++++++++++++++---
.../Universal/Variable/RuntimeDxe/Variable.h       | 25 ++++++++---
MdePkg/Include/Uefi/UefiSpec.h                     |  8 +++-
7 files changed, 160 insertions(+), 35 deletions(-)
[edk2] [PATCH V3 0/3] Update comments and code for GetNextVariableName to follow UEFI 2.7
Posted by Star Zeng 6 years, 9 months ago
V3: Remove the ((VariableName[MaxLen - 1] != 0) check and enhance the code comments
    based on Ruiyu's feedback.

V2: Add changes for EmuVariable and FsVariable.

"The size must be large enough to fit input string supplied in
VariableName buffer" is added in the description for VariableNameSize.
And two cases of EFI_INVALID_PARAMETER are added.
1. The input values of VariableName and VendorGuid are not a name and
   GUID of an existing variable.
2. Null-terminator is not found in the first VariableNameSize bytes of
   the input VariableName buffer.

Star Zeng (3):
  MdePkg: Update comments for GetNextVariableName to follow UEFI 2.7
  MdeModulePkg Variable: Update GetNextVariableName to follow UEFI 2.7
  DuetPkg FsVariable: Update GetNextVariableName to follow UEFI 2.7

 DuetPkg/FSVariable/FSVariable.c                    | 31 ++++++++++++-
 .../Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 41 ++++++++++++++---
 .../Variable/EmuRuntimeDxe/InitVariable.c          | 24 ++++++----
 .../Universal/Variable/EmuRuntimeDxe/Variable.h    | 15 ++++---
 .../Universal/Variable/RuntimeDxe/Variable.c       | 51 +++++++++++++++++++---
 .../Universal/Variable/RuntimeDxe/Variable.h       | 25 ++++++++---
 MdePkg/Include/Uefi/UefiSpec.h                     |  8 +++-
 7 files changed, 160 insertions(+), 35 deletions(-)

-- 
2.7.0.windows.1

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