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