audk/MdeModulePkg/Universal
yshang1 fdb7765f2d 1) Fix the bug that Variable Cache Search does not be protected by lock 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
2008-01-09 10:10:16 +00:00
..
CapsuleRuntimeDxe Update CapsuleDriver to use capsule library. 2007-12-05 09:58:33 +00:00
Console sync tracker to remove duplicate display mode in ConOut virtual handle GOP instance. 2008-01-09 05:55:46 +00:00
DebugPortDxe Clean up: update "EFI" to "UEFI" if applicable. 2007-11-22 06:00:39 +00:00
DebugSupportDxe Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40. 2007-08-30 09:11:54 +00:00
DevicePathDxe MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c: 2007-10-30 00:36:55 +00:00
Disk Clean up: update "EFI" to "UEFI" if applicable. 2007-11-22 06:00:39 +00:00
EbcDxe Changed to pass the build with Visual Studio 2005 2007-10-10 07:04:15 +00:00
FirmwareVolume Update comments in Variable driver and removed references to FLASH Map Hob in INF files 2007-10-05 14:40:23 +00:00
MemoryTest Merge the PI enabling works from the branch 2007-09-04 06:12:48 +00:00
MonotonicCounterRuntimeDxe remove some comments introduced by tools. 2007-07-20 06:10:09 +00:00
Network fixed one bug when calculate the string length. 2008-01-08 08:15:44 +00:00
PCD Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40. 2007-08-30 09:11:54 +00:00
PcatRealTimeClockRuntimeDxe Fixed one bug when runtime test. The root cause is that ICC compiler will convert one local array to one global array, and not converted from boot time to run time. 2007-09-04 09:24:56 +00:00
PcatSingleSegmentPciCfg2Pei Merge the PI enabling works from the branch 2007-09-04 06:12:48 +00:00
SecurityStubDxe Remove unused section in .INF, .DEC, .DSC of MdePkg and MdeModulePkg. 2007-07-25 03:13:13 +00:00
Variable 1) Fix the bug that Variable Cache Search does not be protected by lock during boot time. It potentially results in the info from GetVariable() is not correct. 2008-01-09 10:10:16 +00:00
WatchDogTimerDxe Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40. 2007-08-30 09:11:54 +00:00
iScsi update for passing the ICC compiler 2008-01-04 05:51:44 +00:00