]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuDxe/CpuMp.c
UefiCpuPkg: CpuDxe: broadcast MTRR changes to APs
authorLaszlo Ersek <lersek@redhat.com>
Mon, 19 Oct 2015 19:08:47 +0000 (19:08 +0000)
committermdkinney <mdkinney@Edk2>
Mon, 19 Oct 2015 19:08:47 +0000 (19:08 +0000)
commit94941c8853448c1d2f72f90f7fedebd71035fe00
tree881354ac4891fad30f579a0ab3da592b81c051b5
parent1aa6bf528926f8f012a0f2a77bdf53374551a9ec
UefiCpuPkg: CpuDxe: broadcast MTRR changes to APs

The Quark_EDKII_v1.1.0/IA32FamilyCpuBasePkg/CpuArchDxe
driver applies any MTRR changes to APs, if the
EFI_MP_SERVICES_PROTOCOL is available. We should do the same.

Additionally, the broadcast should occur at MP startup as well,
not only when MTRR settings are changed. The inspiration is
taken from

  Quark_EDKII_v1.1.0/IA32FamilyCpuBasePkg/CpuMpDxe/

(see the EarlyMpInit() function and its call sites in
"ProcessorConfig.c").

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