summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Include
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@nuviainc.com>2021-02-22 21:53:53 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-02-23 12:37:51 +0000
commita2b5ea38a6fbbcf1a8f4c2128be35121236437a7 (patch)
treeb1622a4aeecac8d748e8f368bf93db2fc6894376 /ArmPkg/Include
parent869ccd4a3e1e9324e331e6fab0a89349b3f3b452 (diff)
downloadedk2-a2b5ea38a6fbbcf1a8f4c2128be35121236437a7.tar.gz
edk2-a2b5ea38a6fbbcf1a8f4c2128be35121236437a7.tar.bz2
edk2-a2b5ea38a6fbbcf1a8f4c2128be35121236437a7.zip
ArmPkg: Update OemGetChassisType function to return MISC_CHASSIS_TYPE
Update OemGetChassisType in OemMiscLib to return MISC_CHASSIS_TYPE instead of EFI_STATUS, which matches other OemMiscLib functions. Signed-off-by: Rebecca Cran <rebecca@nuviainc.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'ArmPkg/Include')
-rw-r--r--ArmPkg/Include/Library/OemMiscLib.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/ArmPkg/Include/Library/OemMiscLib.h b/ArmPkg/Include/Library/OemMiscLib.h
index d1ac81f73d..6dcc76a214 100644
--- a/ArmPkg/Include/Library/OemMiscLib.h
+++ b/ArmPkg/Include/Library/OemMiscLib.h
@@ -128,14 +128,12 @@ OemGetMaxProcessors (
/** Gets the type of chassis for the system.
- @param ChassisType The type of the chassis.
-
- @retval EFI_SUCCESS The chassis type was fetched successfully.
+ @retval The type of the chassis.
**/
-EFI_STATUS
+MISC_CHASSIS_TYPE
EFIAPI
OemGetChassisType (
- OUT UINT8 *ChassisType
+ VOID
);
/** Returns whether the specified processor is present or not.