xref: /openbmc/phosphor-host-ipmid/oem/nvidia/oemcommands.hpp (revision 2be03014a9da82b9abcf64cec78a494657ebb9dd)
1 /*
2  * SPDX-FileCopyrightText: Copyright OpenBMC Authors
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 
6 #pragma once
7 #include <cstdint>
8 
9 namespace ipmi
10 {
11 
12 using Group = uint8_t;
13 constexpr Group groupNvidia = 0x3C;
14 
15 namespace bootstrap_credentials_oem
16 {
17 constexpr auto cmdGetUsbVendorIdProductId = 0x30;
18 constexpr auto cmdGetUsbSerialNumber = 0x31;
19 constexpr auto cmdGetRedfishHostName = 0x32;
20 constexpr auto cmdGetIpmiChannelRfHi = 0x33;
21 constexpr auto cmdGetRedfishServiceUUID = 0x34;
22 constexpr auto cmdGetRedfishServicePort = 0x35;
23 } // namespace bootstrap_credentials_oem
24 
25 namespace bios_password
26 {
27 constexpr auto cmdSetBiosPassword = 0x36;
28 constexpr auto cmdGetBiosPassword = 0x37;
29 } // namespace bios_password
30 } // namespace ipmi
31