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>
(cherry picked from commit 57d1afc889
)
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