summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Variable
AgeCommit message (Collapse)Author
2008-04-09Add comments and DoxyGen format for these files.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5028 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19[Description]:yshang1
The patch enhanced variable services to support: 1) If adding variable does not execute completely, the state is in_deleted, the next time find variable should have to retrieve the in_deleted variable. 2) when Reclaiming the variable storage, the 1) variable should be considered. [Impaction]: This is backward-compatible update. [Reference Info]: 9552, 8632 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4916 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-18[Description]eric_tian
PeiGetVariable() and PeiGetNextVariableName() do not check NULL pointer access, not follow spec [Impaction] modify the Variable.c file in MdeModulePkg/Universal/Variable/Pei [Reference Info] PeiGetVariable() and PeiGetVariableName() do not follow spec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4899 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-05Correct return status for the unsupported conditionlgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4679 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04Add the check- in missed filegtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4675 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-17Reclaim occurs as late as possible before OS boot for keep enough space used ↵lgao4
by OS git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4574 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-15Fix bug that failed to reclaim the variable.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4556 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-141) Replace MACRO with C functions.yshang1
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
2008-01-11Change C functions, xxxSizeOfVariable(), to MACRO, which can avoid the ICC ↵yshang1
compile error "Unspecific evaluated order". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4552 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-10Align the header of variable from 1 to 4, which can avoid the size of ↵yshang1
variable content corrupt if the critical data cross two flash block. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4543 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-091) Fix the bug that Variable Cache Search does not be protected by lock ↵yshang1
during boot time. It potentially results in the info from GetVariable() is not correct. 2) Check the integrity of Variable header. In original implementation, if not whole header is correct, then the variable will be treat as invalid. typically, if the NameSize has been programed but the DataSize not, then the variable storage would failed to set new variable. 3) Change the Variable Header Alignment from 1 to 4 bytes on x86. It avoids the DataSize or NameSize cross two blocks. For example, in original implementation, if the NameSize crosses two block, when the FLASH manipulation is interrupted after programed HSB of NameSize and prior to program LSB of NameSize on next block, then the invalid variable header will result in the Variable Storgae broken. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4538 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-20Remove 'Framework' word in commentsklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4403 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-05define the variable related to PCD for supporting big variable (>32K) easily.gtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4268 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-311) Change GUID of emuvariable module. yshang1
2) Support print 64bit's HobList. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4245 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19Fix a bug in variable driver cache mechanism:qhuang8
It should return EFI_SUCCESS and update the output buffer size if the input buffer is larger than actual variable contents. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4182 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09Fix a bug. FindVariable now search volatile variable first (previously NV ↵qwang12
variable first) for performance reason. Therefore, RuntimeServiceGetNextVariableName is updated based on this change. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4056 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06Fix a bug with changing the NVRAM properties of a VariableAJFISH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4030 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05Update comments in Variable driver and removed references to FLASH Map Hob ↵AJFISH
in INF files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4019 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-04Made PCD valid for all architectures. Added new Variable statistic dump ↵AJFISH
aplication to DSC file git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4017 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-04Add Profiling support for Variable store and added a specialized caching ↵AJFISH
algorithm git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4015 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-171. Uefi2.1 feature - Add Hardware Error Record Persistence Support qhuang8
2. Fix the return status accoring to approved UEFI ECRs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3866 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-06Clean up two infs.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3779 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04Merge the PI enabling works from the branchqwang12
First round of PI enabling work: 1) PiPeiCis changes (CONST, EFI_PEI_FILE_HANDLE.. etc) 2) Make use of FirmwareVolume 2 protocol. 3) Verified for Nt32Pkg and real platform for S3. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3773 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC ↵qhuang8
spec 0.41, DSC spec 0.40. Mainly PCD syntax update. Check in new build.exe and GenFds.exe Check in PcdSyntaxUpdate.exe tool. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29Add dependent packages in INF of modules.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3731 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29Update comments.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3729 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29update the callback event error. The event type should be ↵qhuang8
virtual-address-changed event instead of exit-boot -services event. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3728 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-17Use <> in #include statements instead of "" for include files from packagesmdkinney
Use '/' instead of '\' for all file references Remove redundant use of $(WORKSPACE) from DSC, FDF, INF, and DEC files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3672 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03Correct wrong Library class's nameklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3536 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-011. Generated new build.exe from new tools codejwang36
2. Removed some duplicated includes in source files 3. Changed the source file format in INF files 4. Removed duplicated PCDs in MdePkg.dec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3520 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24Retire the "Include/Common" of MdeModulePkg.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3425 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24remove dxs files.qwang12
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3422 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20remove some comments introduced by tools.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3387 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20remove some comments introduced by tools.vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3383 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19Move VariablePei/VariableDxe/EmuVarible to /Variable folder of MdeModulePkg.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3370 6f19259b-4bc3-4df7-8a09-765794883524