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:
@@ -105,6 +105,9 @@ McaSupport (
|
|||||||
IN VOID *ConfigData OPTIONAL
|
IN VOID *ConfigData OPTIONAL
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
if (!MceSupport (ProcessorNumber, CpuInfo, ConfigData)) {
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
return (CpuInfo->CpuIdVersionInfoEdx.Bits.MCA == 1);
|
return (CpuInfo->CpuIdVersionInfoEdx.Bits.MCA == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user