ArmPkg: Rename some functions and parameters in OemMiscLib

o Rename 'mHiiHandle' parameter in OemUpdateSmbiosInfo to 'HiiHandle'.
o Rename 'Offset' parameter in OemUpdateSmbiosInfo to 'Field'.
o Rename OemGetProcessorMaxSockets to OemGetMaxProcessors.
o Rename OemIsSocketPresent to OemIsProcessorPresent.
o Update Universal/Smbios to follow the changes to OemMiscLib.

Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
This commit is contained in:
Rebecca Cran
2021-02-22 21:53:52 -07:00
committed by mergify[bot]
parent 533fff506e
commit 869ccd4a3e
3 changed files with 35 additions and 36 deletions

View File

@@ -116,13 +116,13 @@ OemGetCacheInformation (
IN OUT SMBIOS_TABLE_TYPE7 *SmbiosCacheTable
);
/** Gets the maximum number of sockets supported by the platform.
/** Gets the maximum number of processors supported by the platform.
@return The maximum number of sockets.
@return The maximum number of processors.
**/
UINT8
EFIAPI
OemGetProcessorMaxSockets (
OemGetMaxProcessors (
VOID
);
@@ -146,22 +146,22 @@ OemGetChassisType (
**/
BOOLEAN
EFIAPI
OemIsSocketPresent (
OemIsProcessorPresent (
IN UINTN ProcessorIndex
);
/** Updates the HII string for the specified field.
@param mHiiHandle The HII handle.
@param HiiHandle The HII handle.
@param TokenToUpdate The string to update.
@param Offset The field to get information about.
@param Field The field to get information about.
**/
VOID
EFIAPI
OemUpdateSmbiosInfo (
IN EFI_HII_HANDLE HiiHandle,
IN EFI_STRING_ID TokenToUpdate,
IN OEM_MISC_SMBIOS_HII_STRING_FIELD Offset
IN OEM_MISC_SMBIOS_HII_STRING_FIELD Field
);
#endif // OEM_MISC_LIB_H_