mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
UefiCpuPkg/RegisterCpuFeaturesLib: Fix the function header issues
Cc: Feng Tian <feng.tian@intel.com> Cc: Michael Kinney <michael.d.kinney@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>
This commit is contained in:
parent
2d12048958
commit
8d5df9d78f
@ -257,25 +257,27 @@ RETURN_STATUS
|
|||||||
/**
|
/**
|
||||||
Registers a CPU Feature.
|
Registers a CPU Feature.
|
||||||
|
|
||||||
@param GetConfigDataFunc CPU feature get configuration data function. This
|
@param[in] FeatureName A Null-terminated Ascii string indicates CPU feature
|
||||||
|
name.
|
||||||
|
@param[in] GetConfigDataFunc CPU feature get configuration data function. This
|
||||||
is an optional parameter that may be NULL. If NULL,
|
is an optional parameter that may be NULL. If NULL,
|
||||||
then the most recently registered function for the
|
then the most recently registered function for the
|
||||||
CPU feature is used. If no functions are registered
|
CPU feature is used. If no functions are registered
|
||||||
for a CPU feature, then the CPU configuration data
|
for a CPU feature, then the CPU configuration data
|
||||||
for the registered feature is NULL.
|
for the registered feature is NULL.
|
||||||
@param SupportFunc CPU feature support function. This is an optional
|
@param[in] SupportFunc CPU feature support function. This is an optional
|
||||||
parameter that may be NULL. If NULL, then the most
|
parameter that may be NULL. If NULL, then the most
|
||||||
recently registered function for the CPU feature is
|
recently registered function for the CPU feature is
|
||||||
used. If no functions are registered for a CPU
|
used. If no functions are registered for a CPU
|
||||||
feature, then the CPU feature is assumed to be
|
feature, then the CPU feature is assumed to be
|
||||||
supported by all CPUs.
|
supported by all CPUs.
|
||||||
@param InitializeFunc CPU feature initialize function. This is an optional
|
@param[in] InitializeFunc CPU feature initialize function. This is an optional
|
||||||
parameter that may be NULL. If NULL, then the most
|
parameter that may be NULL. If NULL, then the most
|
||||||
recently registered function for the CPU feature is
|
recently registered function for the CPU feature is
|
||||||
used. If no functions are registered for a CPU
|
used. If no functions are registered for a CPU
|
||||||
feature, then the CPU feature initialization is
|
feature, then the CPU feature initialization is
|
||||||
skipped.
|
skipped.
|
||||||
@param ... Variable argument list of UINT32 CPU feature value.
|
@param[in] ... Variable argument list of UINT32 CPU feature value.
|
||||||
Values with no modifiers are the features provided
|
Values with no modifiers are the features provided
|
||||||
by the registered functions.
|
by the registered functions.
|
||||||
Values with CPU_FEATURE_BEFORE modifier are features
|
Values with CPU_FEATURE_BEFORE modifier are features
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
Worker function to save PcdCpuFeaturesCapability.
|
Worker function to save PcdCpuFeaturesCapability.
|
||||||
|
|
||||||
@param[in] SupportedFeatureMask The pointer to CPU feature bits mask buffer
|
@param[in] SupportedFeatureMask The pointer to CPU feature bits mask buffer
|
||||||
*/
|
**/
|
||||||
VOID
|
VOID
|
||||||
SetCapabilityPcd (
|
SetCapabilityPcd (
|
||||||
IN UINT8 *SupportedFeatureMask
|
IN UINT8 *SupportedFeatureMask
|
||||||
|
@ -168,7 +168,7 @@ SwitchNewBsp (
|
|||||||
/**
|
/**
|
||||||
Worker function to retrieve the number of logical processor in the platform.
|
Worker function to retrieve the number of logical processor in the platform.
|
||||||
|
|
||||||
@param[out] NumberOfProcessors Pointer to the total number of logical
|
@param[out] NumberOfCpus Pointer to the total number of logical
|
||||||
processors in the system, including the BSP
|
processors in the system, including the BSP
|
||||||
and disabled APs.
|
and disabled APs.
|
||||||
@param[out] NumberOfEnabledProcessors Pointer to the number of enabled logical
|
@param[out] NumberOfEnabledProcessors Pointer to the number of enabled logical
|
||||||
|
@ -219,7 +219,7 @@ SwitchNewBsp (
|
|||||||
/**
|
/**
|
||||||
Worker function to retrieve the number of logical processor in the platform.
|
Worker function to retrieve the number of logical processor in the platform.
|
||||||
|
|
||||||
@param[out] NumberOfProcessors Pointer to the total number of logical
|
@param[out] NumberOfCpus Pointer to the total number of logical
|
||||||
processors in the system, including the BSP
|
processors in the system, including the BSP
|
||||||
and disabled APs.
|
and disabled APs.
|
||||||
@param[out] NumberOfEnabledProcessors Pointer to the number of enabled logical
|
@param[out] NumberOfEnabledProcessors Pointer to the number of enabled logical
|
||||||
|
@ -147,7 +147,7 @@ StartupAPsWorker (
|
|||||||
/**
|
/**
|
||||||
Worker function to retrieve the number of logical processor in the platform.
|
Worker function to retrieve the number of logical processor in the platform.
|
||||||
|
|
||||||
@param[out] NumberOfProcessors Pointer to the total number of logical
|
@param[out] NumberOfCpus Pointer to the total number of logical
|
||||||
processors in the system, including the BSP
|
processors in the system, including the BSP
|
||||||
and disabled APs.
|
and disabled APs.
|
||||||
@param[out] NumberOfEnabledProcessors Pointer to the number of enabled logical
|
@param[out] NumberOfEnabledProcessors Pointer to the number of enabled logical
|
||||||
|
@ -372,25 +372,27 @@ SetCpuFeaturesBitMask (
|
|||||||
/**
|
/**
|
||||||
Registers a CPU Feature.
|
Registers a CPU Feature.
|
||||||
|
|
||||||
@param GetConfigDataFunc CPU feature get configuration data function. This
|
@param[in] FeatureName A Null-terminated Ascii string indicates CPU feature
|
||||||
|
name.
|
||||||
|
@param[in] GetConfigDataFunc CPU feature get configuration data function. This
|
||||||
is an optional parameter that may be NULL. If NULL,
|
is an optional parameter that may be NULL. If NULL,
|
||||||
then the most recently registered function for the
|
then the most recently registered function for the
|
||||||
CPU feature is used. If no functions are registered
|
CPU feature is used. If no functions are registered
|
||||||
for a CPU feature, then the CPU configuration data
|
for a CPU feature, then the CPU configuration data
|
||||||
for the registered feature is NULL.
|
for the registered feature is NULL.
|
||||||
@param SupportFunc CPU feature support function. This is an optional
|
@param[in] SupportFunc CPU feature support function. This is an optional
|
||||||
parameter that may be NULL. If NULL, then the most
|
parameter that may be NULL. If NULL, then the most
|
||||||
recently registered function for the CPU feature is
|
recently registered function for the CPU feature is
|
||||||
used. If no functions are registered for a CPU
|
used. If no functions are registered for a CPU
|
||||||
feature, then the CPU feature is assumed to be
|
feature, then the CPU feature is assumed to be
|
||||||
supported by all CPUs.
|
supported by all CPUs.
|
||||||
@param InitializeFunc CPU feature initialize function. This is an optional
|
@param[in] InitializeFunc CPU feature initialize function. This is an optional
|
||||||
parameter that may be NULL. If NULL, then the most
|
parameter that may be NULL. If NULL, then the most
|
||||||
recently registered function for the CPU feature is
|
recently registered function for the CPU feature is
|
||||||
used. If no functions are registered for a CPU
|
used. If no functions are registered for a CPU
|
||||||
feature, then the CPU feature initialization is
|
feature, then the CPU feature initialization is
|
||||||
skipped.
|
skipped.
|
||||||
@param ... Variable argument list of UINT32 CPU feature value.
|
@param[in] ... Variable argument list of UINT32 CPU feature value.
|
||||||
Values with no modifiers are the features provided
|
Values with no modifiers are the features provided
|
||||||
by the registered functions.
|
by the registered functions.
|
||||||
Values with CPU_FEATURE_BEFORE modifier are features
|
Values with CPU_FEATURE_BEFORE modifier are features
|
||||||
|
Loading…
x
Reference in New Issue
Block a user