1. The original code has a bug on calculate the size of SCRATCH_SIZE. It should be...
commit0b4835e9490bbb1acabea75b14a5ae933632aabc
authortian, feng <eric_tian@tianocore.org>
Tue, 7 Apr 2009 06:42:12 +0000 (7 06:42 +0000)
committertian, feng <eric_tian@tianocore.org>
Tue, 7 Apr 2009 06:42:12 +0000 (7 06:42 +0000)
tree05a2e0ef9b1d54e8a7d59eb90c62b379833f476e
parent8eae8ba304dc1ef576d639e1e845e6c4155c5728
1. The original code has a bug on calculate the size of SCRATCH_SIZE. It should be maximum value between PcdMaxVariableSize and PcdMaxHardwareErrorVariableSize.
2. Boot time variable reclaim issue is caused by incorrect flash layout. Platform integrator should ensure that the size of variable region must less than FTW spare space size.
3. Per UEFI Specification, variables of attribute HARDWARE_ERROR_RECORD are guaranteed to have its own storage space size.original implementation doesn’t meet this requirement
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf