From a2b35995cac983b676296fcb95fde0e9121319f6 Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 26 Feb 2009 08:19:38 +0000 Subject: 1, Retired PCD PcdSupportHardwareErrorRecord, because as UEFI specification said, if PcdHardwareErrorRecordLevel is 0, platform does not provide feature of hardware error record. 2, Move PcdHardwareErrorRecordLevel to IntelFrameworkModulePkg 3, Change PCD type to dynamic, Platform integrator need set this PCD type as HII type PCD mapped to variable L"HwErrRecSupport". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7713 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c') diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c index 55ea372892..ac37f10529 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c @@ -313,9 +313,8 @@ BdsEntry ( PERF_START (0, "PlatformBds", "BDS", 0); PlatformBdsInit (PrivateData); - if (FeaturePcdGet (PcdSupportHardwareErrorRecord)) { - InitializeHwErrRecSupport (PcdGet16 (PcdHardwareErrorRecordLevel)); - } + InitializeHwErrRecSupport(); + // // bugbug: platform specific code // Initialize the platform specific string and language -- cgit v1.2.3