xref: /openbmc/google-ipmi-sys/commands.hpp (revision 3b1b427c)
10e9aae5dSPatrick Venture #pragma once
20e9aae5dSPatrick Venture 
30e9aae5dSPatrick Venture namespace google
40e9aae5dSPatrick Venture {
50e9aae5dSPatrick Venture namespace ipmi
60e9aae5dSPatrick Venture {
70e9aae5dSPatrick Venture 
80e9aae5dSPatrick Venture enum SysOEMCommands
90e9aae5dSPatrick Venture {
100e9aae5dSPatrick Venture     // The Sys cable check command.
110e9aae5dSPatrick Venture     SysCableCheck = 0,
120e9aae5dSPatrick Venture     // The Sys cpld version over ipmi command.
130e9aae5dSPatrick Venture     SysCpldVersion = 1,
140e9aae5dSPatrick Venture     // The Sys get eth device command.
150e9aae5dSPatrick Venture     SysGetEthDevice = 2,
160e9aae5dSPatrick Venture     // The Sys psu hard reset command.
170e9aae5dSPatrick Venture     SysPsuHardReset = 3,
180e9aae5dSPatrick Venture     // The Sys pcie slot count command.
190e9aae5dSPatrick Venture     SysPcieSlotCount = 4,
200e9aae5dSPatrick Venture     // The Sys pcie slot to i2c bus mapping command.
210e9aae5dSPatrick Venture     SysPcieSlotI2cBusMapping = 5,
220e9aae5dSPatrick Venture     // The Sys "entity id:entity instance" to entity name mapping command.
230e9aae5dSPatrick Venture     SysEntityName = 6,
2429f35bceSWilliam A. Kennington III     // Returns the machine name of the image
2529f35bceSWilliam A. Kennington III     SysMachineName = 7,
26ac4a16f7SShounak Mitra     // Arm for psu reset on host shutdown
27ac4a16f7SShounak Mitra     SysPsuHardResetOnShutdown = 8,
28*3b1b427cSWilly Tu     // The Sys get flash size command
29*3b1b427cSWilly Tu     SysGetFlashSize = 9,
300e9aae5dSPatrick Venture };
310e9aae5dSPatrick Venture 
320e9aae5dSPatrick Venture } // namespace ipmi
330e9aae5dSPatrick Venture } // namespace google
34