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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user