public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH V3 0/3] Update comments and code for GetNextVariableName to follow UEFI 2.7
@ 2017-06-26  9:20 Star Zeng
  2017-06-26  9:20 ` [PATCH V3 1/3] MdePkg: Update comments " Star Zeng
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Star Zeng @ 2017-06-26  9:20 UTC (permalink / raw)
  To: edk2-devel; +Cc: Star Zeng

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-27  3:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-26  9:20 [PATCH V3 0/3] Update comments and code for GetNextVariableName to follow UEFI 2.7 Star Zeng
2017-06-26  9:20 ` [PATCH V3 1/3] MdePkg: Update comments " Star Zeng
2017-06-26  9:20 ` [PATCH V3 2/3] MdeModulePkg Variable: Update " Star Zeng
2017-06-26  9:20 ` [PATCH V3 3/3] DuetPkg FsVariable: " Star Zeng
2017-06-27  3:22   ` Ni, Ruiyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox