]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/CpuDxe: Fix assert issue on IA32 platform
authorJian J Wang <jian.j.wang@intel.com>
Fri, 29 Sep 2017 03:08:27 +0000 (11:08 +0800)
committerStar Zeng <star.zeng@intel.com>
Sat, 30 Sep 2017 02:25:25 +0000 (10:25 +0800)
commitc46bced224b42d5a03bc8b207167829aa4e7bc5b
treef89cf9ee165cf70d5d92888b41d0db1c23a5cab1
parentaa57c0f096e2e0d555038fc63caea34398f219e6
UefiCpuPkg/CpuDxe: Fix assert issue on IA32 platform

This patch is to fix an assert issue during booting IA32 platforms
such as OvmfIa32 or Quark. This issue is caused by trying to access
page table on a platform without page table. A check is added to
avoid the assert.

Bug tracker: https://bugzilla.tianocore.org/show_bug.cgi?id=724

Cc: Star Zeng <star.zeng@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
UefiCpuPkg/CpuDxe/CpuDxe.c