]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuDxe/CpuDxe.c
UefiCpuPkg/CpuDxe: Add Local APIC memory mapped space in GCD
authorJeff Fan <jeff.fan@intel.com>
Tue, 21 Feb 2017 02:35:47 +0000 (10:35 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 22 Feb 2017 06:50:11 +0000 (14:50 +0800)
commit14f92ded906d22274730a92f7801f0ffd84e6193
treed87d715d85f451c84e17551307d1e0277f0afaff
parent410590f149149f6170a9a72458f78913d00572de
UefiCpuPkg/CpuDxe: Add Local APIC memory mapped space in GCD

Local APIC memory mapped space should be added into GCD and be allocated.
Otherwise, UEFI firmware cannot get correct memory map for it. For example,
SMM profile feature needs to get the completed MMIO map to protect them.

v2:
  Consume AddMemoryMappedIoSpace() to handle the case that Local APIC
  memory space has already been added before.

https://bugzilla.tianocore.org/show_bug.cgi?id=390

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
UefiCpuPkg/CpuDxe/CpuDxe.c