Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
Star Zeng 039a40aa3b SecurityPkg: Variable drivers robustly handle crashes during Reclaim().
PEI variable implementation checks only the variable header signature for validity. This does not seem robust if system crash occurred during previous Reclaim() operation. If the crash occurred while FTW was rewriting the variable FV, the signature could be valid even though the rest of the FV isn't valid.
Solution: PEI variable and early phase(before FTW protocol ready) of DXE variable can check the FTW last write status provided by FaultTolerantWritePei and determine if all or partial variable data has been backed up in spare block, and then use the backed up data.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14455 6f19259b-4bc3-4df7-8a09-765794883524
2013-07-03 09:09:42 +00:00
AppPkg - For writing sin_port, htons() must be used. 2013-02-08 21:34:26 +00:00
ArmPkg ArmPkg/BdsLib: Fixed manipulation of the Memory Map returned by GetMemoryMap() 2013-06-27 18:18:24 +00:00
ArmPlatformPkg ArmPlatformPkg/ArmVExpressLibCTA15-A7: Mapped the extra 1GB of DRAM in the MMU 2013-07-01 14:14:37 +00:00
BaseTools Roll back the changes for BaseTools 2012-06-25 02:24:12 +00:00
BeagleBoardPkg ArmPlatform/ArmPlatformLib: Introduced ArmPlatformPeiBootAction() 2013-05-10 12:49:10 +00:00
Conf Adding top-level Conf directory for next generation of EDK II build infrastructure tools. 2007-06-20 19:33:23 +00:00
CryptoPkg Though the comment of RandomSeed() states it should return FALSE if there is not enough entropy for random generation, the function always returns TRUE. This commit checks the status of pseudorandom number generator to match the comment. 2013-05-29 05:30:13 +00:00
DuetPkg Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
EdkCompatibilityPkg Add the missing "," for the patch to fix status code print string. 2013-06-04 08:51:30 +00:00
EdkShellBinPkg Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
EdkShellPkg Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
EmbeddedPkg EmbeddedPkg/SerialPortExtLib.h: Changed SerialPortSetAttributes() prototype to return the set value(s) 2013-05-15 08:44:59 +00:00
EmulatorPkg EmulatorPkg: Add SerialPortExtLib library class mapping 2013-05-15 05:18:49 +00:00
FatBinPkg Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
IntelFrameworkModulePkg Move the memory allocation and variable set to BdsEntry, use VariableLock protocol to lock the L”PerfDataMemAddr” variable and prevent malware to update it. 2013-05-23 02:56:41 +00:00
IntelFrameworkPkg Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:29:46 +00:00
MdeModulePkg MdeModulePkg: Variable drivers robustly handle crashes during Reclaim(). 2013-07-03 09:08:40 +00:00
MdePkg Add the missing "," for the patch to fix status code print string. 2013-06-04 08:51:30 +00:00
NetworkPkg Fix a bug in Mtftp6 retransmission mechanism of the ACK. 2013-07-02 06:44:27 +00:00
Nt32Pkg Use correct pointer to install DevicePath protocol. 2013-06-13 09:07:42 +00:00
Omap35xxPkg EmbeddedPkg: Introduced a separate SerialPortExtLib library 2013-03-12 00:40:11 +00:00
OptionRomPkg Ax88772: Add logic to separate packet, fix MTU issue. Ax88772b: Fix driver model unload function, fix SCT test failures. 2013-06-27 05:07:29 +00:00
OvmfPkg OvmfPkg: Reduce PcdMaxVariableSize with secure boot to avoid assert 2013-06-14 21:37:44 +00:00
PcAtChipsetPkg Raise TPL to high to disable CPU interrupt before 8259 legacy base vector is changed, then restore TPL level at last when 8259 initialization is done. 2012-10-31 08:58:27 +00:00
PerformancePkg Update Code to pass EBC compiler. 2013-05-13 02:36:09 +00:00
SecurityPkg SecurityPkg: Variable drivers robustly handle crashes during Reclaim(). 2013-07-03 09:09:42 +00:00
ShellBinPkg ShellBinPkg/UefiShell: Updated Shell Binary for ARM architecture 2013-06-17 09:58:18 +00:00
ShellPkg ShellPkg: Verify memory and handle allocation failure. 2013-06-28 22:44:21 +00:00
SourceLevelDebugPkg Updated connecting HOST version information from 1.3 to 1.3.1. 2013-05-08 08:29:11 +00:00
StdLib StdLib/LibC/Locale/multibyte_Utf8.c: Fix obscure corner cases in wide to multibyte and multibyte to wide character conversions. The majority of problems center around the interpretation of the Length or Limit parameter when the Destination parameter is NULL. 2013-05-15 01:59:11 +00:00
StdLibPrivateInternalFiles StdLib: Add internal use only header for interactive I/O. 2012-12-11 21:03:57 +00:00
UefiCpuPkg Fix build issue on DDK3790 tool chain. 2013-02-05 01:35:29 +00:00
UnixPkg UnixPkg: Mark as deprecated (replaced by EmulatorPkg) 2012-10-05 07:05:54 +00:00
BuildNotes2.txt Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
edksetup.bat Added VS2010 support in edksetup script. 2012-04-10 07:45:35 +00:00
edksetup.sh Correct copyright year 2011-02-16 12:21:31 +00:00