]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c
UefiCpuPkg: LocalApicLib: Add API to set SoftwareEnable bit
authorMichael Kinney <michael.d.kinney@intel.com>
Fri, 30 Oct 2015 17:53:31 +0000 (17:53 +0000)
committermdkinney <mdkinney@Edk2>
Fri, 30 Oct 2015 17:53:31 +0000 (17:53 +0000)
commit14e4ca25c6199fa29bda7066f31d919197840664
treec3ee9f1e84f5a400f54cbeb59b9fa374301000c7
parent0d4c1db81aab86963536deb8253f35546c4398ea
UefiCpuPkg: LocalApicLib: Add API to set SoftwareEnable bit

The LocalApicLib does not provide a function to manage the state of the
Local APIC SoftwareEnable bit in the Spurious Vector register.  There
are cases where this bit needs to be managed without side effects to.
other Local APIC registers.  One use case is in the DebugAgent in the
SourceLevelDebugPkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18711 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/Include/Library/LocalApicLib.h
UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c
UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c