commandutils.hpp (05d0ce9337be23ddf98875c25083e40f75240693) | commandutils.hpp (2405ae98b39a97e9d7753d8dc5c673a4a8885b85) |
---|---|
1/* 2 * Copyright (c) 2018 Intel Corporation. 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 | 1/* 2 * Copyright (c) 2018 Intel Corporation. 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 "config.h" 19 20#include <ipmid/api.hpp> |
|
18#include <sdbusplus/bus.hpp> 19 20#include <iostream> | 21#include <sdbusplus/bus.hpp> 22 23#include <iostream> |
21#include "config.h" | |
22 23static constexpr bool debug = false; 24 25using IanaType = std::array<uint8_t, 3>; 26using flashSize = std::array<uint8_t, 4>; 27 28static constexpr IanaType iana = {0x15, 0xA0, 0x0}; // Meta's IANA 29 --- 73 unchanged lines hidden --- | 24 25static constexpr bool debug = false; 26 27using IanaType = std::array<uint8_t, 3>; 28using flashSize = std::array<uint8_t, 4>; 29 30static constexpr IanaType iana = {0x15, 0xA0, 0x0}; // Meta's IANA 31 --- 73 unchanged lines hidden --- |