UefiCpuPkg: Enhance feature dependency check

Enhance MCA feature dependency check base on SDM pseudocode example 15-1.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bell Song <binx.song@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
Song, BinX 2018-01-12 10:19:00 +08:00 committed by Eric Dong
parent 228e4f4706
commit 57d1afc889
1 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,9 @@ McaSupport (
IN VOID *ConfigData OPTIONAL
)
{
if (!MceSupport (ProcessorNumber, CpuInfo, ConfigData)) {
return FALSE;
}
return (CpuInfo->CpuIdVersionInfoEdx.Bits.MCA == 1);
}