UefiCpuPkg/PiSmmCpuDxeSmm: Clean up CheckFeatureSupported()

Removed EFIAPI and parameter from CheckFeatureSupported() and removed
CheckProcessorFeature() totally.

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Jeff Fan
2016-07-02 12:01:02 +08:00
committed by Michael Kinney
parent a46a4c90d3
commit 51773d49de
3 changed files with 3 additions and 60 deletions

View File

@@ -90,13 +90,10 @@ PageFaultIdtHandlerSmmProfile (
/**
Check if XD feature is supported by a processor.
@param[in,out] Buffer The pointer to private data buffer.
**/
VOID
EFIAPI
CheckFeatureSupported (
IN OUT VOID *Buffer
VOID
);
/**
@@ -117,15 +114,6 @@ InitPaging (
VOID
);
/**
Check if XD and BTS features are supported by all processors.
**/
VOID
CheckProcessorFeature (
VOID
);
extern BOOLEAN mXdSupported;
extern BOOLEAN mXdEnabled;