UefiCpuPkg: Update CPU MP drivers to support single CPU configuration
authorMichael Kinney <michael.d.kinney@intel.com>
Mon, 19 Oct 2015 19:07:52 +0000 (19:07 +0000)
committermdkinney <mdkinney@Edk2>
Mon, 19 Oct 2015 19:07:52 +0000 (19:07 +0000)
commit944f45ae2f7ecbff2c66622d15d52ffbc3455bfb
tree267d6c89d5d23e402df70f6c9b9522e9a2ba43e5
parent368002a31c7998d8f00f5e77acee14d49afc2b2d
UefiCpuPkg: Update CPU MP drivers to support single CPU configuration

Only perform AP detection if PcdCpuMaxLogicalProcessorNumber > 1
Only free AP related structures of they were allocated

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18629 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/CpuDxe/CpuMp.c
UefiCpuPkg/CpuMpPei/CpuMpPei.c