diff options
author | Michael Kinney <michael.d.kinney@intel.com> | 2015-10-16 16:48:24 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-10-16 16:48:24 +0000 |
commit | f3e34b9d8ceca130a14905df9a6a3eaad17f3674 (patch) | |
tree | 406716fb372f4707a14a430839c9583d7b1e811b /OvmfPkg/Sec/SecMain.inf | |
parent | 5efb28784f422debfe310b210a84b6334689c4d2 (diff) | |
download | edk2-platforms-f3e34b9d8ceca130a14905df9a6a3eaad17f3674.tar.xz |
OvmfPkg: Sec: Fix SOURCE_DEBUG_ENABLE ASSERT()
The update to the LocalApicLib instances to make sure the Local APIC is
initialized before use (SVN r18595 / git commit 6d72ff7d9daf) generates an
ASSERT() when SOURCE_DEBUG_ENABLE is enabled for OVMF.
The fix is to initialize the Local APIC Timer and mask it before
initializing the DebugAgent.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
[lersek@redhat.com: rewrap code comment, rewrap commit msg, add precise
commit ref]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18622 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Sec/SecMain.inf')
-rw-r--r-- | OvmfPkg/Sec/SecMain.inf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OvmfPkg/Sec/SecMain.inf b/OvmfPkg/Sec/SecMain.inf index fce99fb74c..2f78f3c851 100644 --- a/OvmfPkg/Sec/SecMain.inf +++ b/OvmfPkg/Sec/SecMain.inf @@ -1,7 +1,7 @@ ## @file
# SEC Driver
#
-# Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -55,6 +55,7 @@ PeCoffGetEntryPointLib
PeCoffExtraActionLib
ExtractGuidedSectionLib
+ LocalApicLib
[Ppis]
gEfiTemporaryRamSupportPpiGuid # PPI ALWAYS_PRODUCED
|