]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Include/Library/OemMiscLib.h
ArmPkg: Allow platforms to supply more data for SMBIOS Type3 record
[mirror_edk2.git] / ArmPkg / Include / Library / OemMiscLib.h
index 6dcc76a214df71aa08059da1ed4cc924b37e2bf3..25ae508ddb0314227bceb826bc407b8842fd0e91 100644 (file)
@@ -162,4 +162,64 @@ OemUpdateSmbiosInfo (
   IN OEM_MISC_SMBIOS_HII_STRING_FIELD Field\r
   );\r
 \r
+/** Fetches the chassis status when it was last booted.\r
+\r
+ @return Chassis status.\r
+**/\r
+MISC_CHASSIS_STATE\r
+EFIAPI\r
+OemGetChassisBootupState (\r
+  VOID\r
+  );\r
+\r
+/** Fetches the chassis power supply/supplies status when last booted.\r
+\r
+ @return Chassis power supply/supplies status.\r
+**/\r
+MISC_CHASSIS_STATE\r
+EFIAPI\r
+OemGetChassisPowerSupplyState (\r
+  VOID\r
+  );\r
+\r
+/** Fetches the chassis thermal status when last booted.\r
+\r
+ @return Chassis thermal status.\r
+**/\r
+MISC_CHASSIS_STATE\r
+EFIAPI\r
+OemGetChassisThermalState (\r
+  VOID\r
+  );\r
+\r
+/** Fetches the chassis security status when last booted.\r
+\r
+ @return Chassis security status.\r
+**/\r
+MISC_CHASSIS_SECURITY_STATE\r
+EFIAPI\r
+OemGetChassisSecurityStatus (\r
+  VOID\r
+  );\r
+\r
+/** Fetches the chassis height in RMUs (Rack Mount Units).\r
+\r
+  @return The height of the chassis.\r
+**/\r
+UINT8\r
+EFIAPI\r
+OemGetChassisHeight (\r
+  VOID\r
+  );\r
+\r
+/** Fetches the number of power cords.\r
+\r
+  @return The number of power cords.\r
+**/\r
+UINT8\r
+EFIAPI\r
+OemGetChassisNumPowerCords (\r
+  VOID\r
+  );\r
+\r
 #endif // OEM_MISC_LIB_H_\r