summaryrefslogtreecommitdiffstats
path: root/ArmPkg
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@nuviainc.com>2021-02-22 21:53:51 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-02-23 12:37:51 +0000
commit533fff506e742c9be8a0ca0e84609978516bf772 (patch)
treef4f49982e9438f4ae9adf9b10892664087e5defa /ArmPkg
parent078400ee15e7b250e4dfafd840c2e0c19835e16b (diff)
downloadedk2-533fff506e742c9be8a0ca0e84609978516bf772.tar.gz
edk2-533fff506e742c9be8a0ca0e84609978516bf772.tar.bz2
edk2-533fff506e742c9be8a0ca0e84609978516bf772.zip
ArmPkg: Fix ordering of return type and EFIAPI specifier in OemMiscLib
The return type should be on the line before any EFIAPI specifier. Signed-off-by: Rebecca Cran <rebecca@nuviainc.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'ArmPkg')
-rw-r--r--ArmPkg/Include/Library/OemMiscLib.h14
-rw-r--r--ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c12
2 files changed, 13 insertions, 13 deletions
diff --git a/ArmPkg/Include/Library/OemMiscLib.h b/ArmPkg/Include/Library/OemMiscLib.h
index e70019d05f..ad0e77685d 100644
--- a/ArmPkg/Include/Library/OemMiscLib.h
+++ b/ArmPkg/Include/Library/OemMiscLib.h
@@ -71,8 +71,8 @@ typedef enum
@return CPU frequency in Hz
**/
-EFIAPI
UINTN
+EFIAPI
OemGetCpuFreq (
IN UINT8 ProcessorIndex
);
@@ -87,8 +87,8 @@ OemGetCpuFreq (
@return TRUE on success, FALSE on failure.
**/
-EFIAPI
BOOLEAN
+EFIAPI
OemGetProcessorInformation (
IN UINTN ProcessorIndex,
IN OUT PROCESSOR_STATUS_DATA *ProcessorStatus,
@@ -106,8 +106,8 @@ OemGetProcessorInformation (
@return TRUE on success, FALSE on failure.
**/
-EFIAPI
BOOLEAN
+EFIAPI
OemGetCacheInformation (
IN UINT8 ProcessorIndex,
IN UINT8 CacheLevel,
@@ -120,8 +120,8 @@ OemGetCacheInformation (
@return The maximum number of sockets.
**/
-EFIAPI
UINT8
+EFIAPI
OemGetProcessorMaxSockets (
VOID
);
@@ -132,8 +132,8 @@ OemGetProcessorMaxSockets (
@retval EFI_SUCCESS The chassis type was fetched successfully.
**/
-EFIAPI
EFI_STATUS
+EFIAPI
OemGetChassisType (
OUT UINT8 *ChassisType
);
@@ -144,8 +144,8 @@ OemGetChassisType (
@return TRUE is the processor is present, FALSE otherwise.
**/
-EFIAPI
BOOLEAN
+EFIAPI
OemIsSocketPresent (
IN UINTN ProcessorIndex
);
@@ -156,8 +156,8 @@ OemIsSocketPresent (
@param TokenToUpdate The string to update.
@param Offset The field to get information about.
**/
-EFIAPI
VOID
+EFIAPI
OemUpdateSmbiosInfo (
IN EFI_HII_HANDLE HiiHandle,
IN EFI_STRING_ID TokenToUpdate,
diff --git a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
index 73cebef2d1..6b179941e4 100644
--- a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
+++ b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c
@@ -23,8 +23,8 @@
@return CPU frequency in Hz
**/
-EFIAPI
UINTN
+EFIAPI
OemGetCpuFreq (
IN UINT8 ProcessorIndex
)
@@ -43,8 +43,8 @@ OemGetCpuFreq (
@return TRUE on success, FALSE on failure.
**/
-EFIAPI
BOOLEAN
+EFIAPI
OemGetProcessorInformation (
IN UINTN ProcessorIndex,
IN OUT PROCESSOR_STATUS_DATA *ProcessorStatus,
@@ -66,8 +66,8 @@ OemGetProcessorInformation (
@return TRUE on success, FALSE on failure.
**/
-EFIAPI
BOOLEAN
+EFIAPI
OemGetCacheInformation (
IN UINT8 ProcessorIndex,
IN UINT8 CacheLevel,
@@ -84,8 +84,8 @@ OemGetCacheInformation (
@return The maximum number of sockets.
**/
-EFIAPI
UINT8
+EFIAPI
OemGetProcessorMaxSockets (
VOID
)
@@ -117,8 +117,8 @@ OemGetChassisType (
@return TRUE is the processor is present, FALSE otherwise.
**/
-EFIAPI
BOOLEAN
+EFIAPI
OemIsSocketPresent (
IN UINTN ProcessorIndex
)
@@ -133,8 +133,8 @@ OemIsSocketPresent (
@param TokenToUpdate The string to update.
@param Offset The field to get information about.
**/
-EFIAPI
VOID
+EFIAPI
OemUpdateSmbiosInfo (
IN EFI_HII_HANDLE mHiiHandle,
IN EFI_STRING_ID TokenToUpdate,