]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: Minor update to the Data parameter for PEI GetVariable()
authorStar Zeng <star.zeng@intel.com>
Wed, 21 Jun 2017 09:26:41 +0000 (17:26 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 22 Jun 2017 09:56:12 +0000 (17:56 +0800)
commitbca08c489cc458f551ba27c3530353e77c07ba40
tree7475e7cd7e573ffd853917956e6e011e898b37de
parent95b5c32fb3d6bf677d4cb6471d6c683939014c89
MdePkg: Minor update to the Data parameter for PEI GetVariable()

PI 1.5 spec has minor update to the Data parameter for PEI
GetVariable(), and no real functional behavior change.

The modifier of Data parameter:
OUT VOID *Data
->
OUT VOID *Data OPTIONAL

The comments of Data parameter:
Data    Points to the buffer which will hold the returned variable value.
->
Data    Points to the buffer which will hold the returned variable value.
        May be NULL with a zero DataSize in order to determine the size of the buffer needed.

The patch is to follow the spec to update the definition.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/Ppi/ReadOnlyVariable2.h