]> git.proxmox.com Git - mirror_edk2.git/commit
SourceLevelDebugPkg/SmmDebugAgent: Initialize Local APIC Timer
authorJeff Fan <jeff.fan@intel.com>
Mon, 25 May 2015 02:46:11 +0000 (02:46 +0000)
committervanjeff <vanjeff@Edk2>
Mon, 25 May 2015 02:46:11 +0000 (02:46 +0000)
commitedbb27132d4737be1fa54ea9f6e7657daa2bb72a
tree96636d62c383d711ccdb64aa3adf3646559b081e
parente9d6470bd846aa4a7194227b5d61f652fb01dcc0
SourceLevelDebugPkg/SmmDebugAgent: Initialize Local APIC Timer

Now Debug Agent library uses Local APIC Timer to implement time-out mechanism.
In SMM, SMM BSP maybe not be the one in DXE phase, its local APIC timer may not
work. This fix is to initialize Local APIC timer if it doesn't work as expected
at SMM entry.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17500 6f19259b-4bc3-4df7-8a09-765794883524
SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAgentLib.c