util.hpp (4857ab46d94c4b2e0302b8e2a453b6f63e8143ea) util.hpp (328f520f44a4e986d58b204468660e7ddeedc189)
1#pragma once
2#include <utility>
3
4namespace ipmi_flash
5{
6
7inline constexpr char biosBlobId[] = "/flash/bios";
8inline constexpr char updateBlobId[] = "/flash/update";
9inline constexpr char verifyBlobId[] = "/flash/verify";
10inline constexpr char hashBlobId[] = "/flash/hash";
11inline constexpr char activeImageBlobId[] = "/flash/active/image";
12inline constexpr char activeHashBlobId[] = "/flash/active/hash";
13inline constexpr char staticLayoutBlobId[] = "/flash/image";
14inline constexpr char ubiTarballBlobId[] = "/flash/tarball";
15inline constexpr char cleanupBlobId[] = "/flash/cleanup";
1#pragma once
2#include <utility>
3
4namespace ipmi_flash
5{
6
7inline constexpr char biosBlobId[] = "/flash/bios";
8inline constexpr char updateBlobId[] = "/flash/update";
9inline constexpr char verifyBlobId[] = "/flash/verify";
10inline constexpr char hashBlobId[] = "/flash/hash";
11inline constexpr char activeImageBlobId[] = "/flash/active/image";
12inline constexpr char activeHashBlobId[] = "/flash/active/hash";
13inline constexpr char staticLayoutBlobId[] = "/flash/image";
14inline constexpr char ubiTarballBlobId[] = "/flash/tarball";
15inline constexpr char cleanupBlobId[] = "/flash/cleanup";
16inline constexpr char biosVersionBlobId[] = "/version/bios";
16
17/** @brief Lightweight class wrapper that removes move operations from a class
18 * in order to guarantee the contents stay pinned to a specific location
19 * in memory.
20 */
21template <typename T>
22struct Pinned : public T
23{

--- 15 unchanged lines hidden ---
17
18/** @brief Lightweight class wrapper that removes move operations from a class
19 * in order to guarantee the contents stay pinned to a specific location
20 * in memory.
21 */
22template <typename T>
23struct Pinned : public T
24{

--- 15 unchanged lines hidden ---