Hieu Huynh | 1463f70 | 2021-09-23 03:14:59 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018-2021 Ampere Computing LLC |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | #pragma once |
| 18 | #include <cstdint> |
| 19 | |
| 20 | constexpr uint8_t responseFail = 0x01; |
| 21 | |
| 22 | namespace ipmi |
| 23 | { |
| 24 | namespace ampere |
| 25 | { |
| 26 | constexpr uint8_t netFnAmpere = 0x3c; |
| 27 | } // namespace ampere |
| 28 | namespace general |
| 29 | { |
Thang Tran | 2a19152 | 2022-11-01 18:09:37 +0700 | [diff] [blame] | 30 | constexpr uint8_t cmdEditBmcMacAdr = 0x01; |
Hieu Huynh | 1463f70 | 2021-09-23 03:14:59 +0000 | [diff] [blame] | 31 | constexpr uint8_t cmdSyncRtcTime = 0xf9; |
| 32 | } // namespace general |
Thang Tran | 2a19152 | 2022-11-01 18:09:37 +0700 | [diff] [blame] | 33 | } // namespace ipmi |