]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
1) Replace MACRO with C functions.
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 14 Jan 2008 06:35:23 +0000 (06:35 +0000)
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 14 Jan 2008 06:35:23 +0000 (06:35 +0000)
commit130e25699a6d060c966978e345c6c8eeed85d065
tree9ba431713d743f899f3928f17d8b908a5efbe7ea
parent51dc1f659f280fefefc960377dc79490c03d3f5e
1) Replace MACRO with C functions.
2) Add HEADER_VALID_ONLY state of variable, which represents only the header is valid and the data/name is stale. This may be caused by incomplete data updating. Adding the state helps to check whether the header is valid. If variable header is valid, then we must skip the data of variable with the valid size. If the header is invalid, we should only skip the header of variable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4555 6f19259b-4bc3-4df7-8a09-765794883524
IntelFrameworkModulePkg/Universal/VariablePei/Variable.c
IntelFrameworkModulePkg/Universal/VariablePei/Variable.h
MdeModulePkg/Include/VariableFormat.h
MdeModulePkg/Universal/Variable/Pei/Variable.c
MdeModulePkg/Universal/Variable/Pei/Variable.h
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h