diff options
author | Rebecca Cran <rebecca@nuviainc.com> | 2021-02-22 21:53:52 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-02-23 12:37:51 +0000 |
commit | 869ccd4a3e1e9324e331e6fab0a89349b3f3b452 (patch) | |
tree | bd07b8be9838aef4f4e7123cc230cb299fab00d2 /ArmPkg/Include/Library/OemMiscLib.h | |
parent | 533fff506e742c9be8a0ca0e84609978516bf772 (diff) | |
download | edk2-869ccd4a3e1e9324e331e6fab0a89349b3f3b452.tar.gz edk2-869ccd4a3e1e9324e331e6fab0a89349b3f3b452.tar.bz2 edk2-869ccd4a3e1e9324e331e6fab0a89349b3f3b452.zip |
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>
Diffstat (limited to 'ArmPkg/Include/Library/OemMiscLib.h')
-rw-r--r-- | ArmPkg/Include/Library/OemMiscLib.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ArmPkg/Include/Library/OemMiscLib.h b/ArmPkg/Include/Library/OemMiscLib.h index ad0e77685d..d1ac81f73d 100644 --- a/ArmPkg/Include/Library/OemMiscLib.h +++ b/ArmPkg/Include/Library/OemMiscLib.h @@ -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_
|