mirror of https://github.com/acidanthera/audk.git
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:
parent
228e4f4706
commit
57d1afc889
|
@ -105,6 +105,9 @@ McaSupport (
|
|||
IN VOID *ConfigData OPTIONAL
|
||||
)
|
||||
{
|
||||
if (!MceSupport (ProcessorNumber, CpuInfo, ConfigData)) {
|
||||
return FALSE;
|
||||
}
|
||||
return (CpuInfo->CpuIdVersionInfoEdx.Bits.MCA == 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue