xref: /openbmc/phosphor-ipmi-flash/data.hpp (revision 84778b8d)
1*84778b8dSPatrick Venture #pragma once
2*84778b8dSPatrick Venture 
3*84778b8dSPatrick Venture #include <cstdint>
4*84778b8dSPatrick Venture 
5*84778b8dSPatrick Venture namespace ipmi_flash
6*84778b8dSPatrick Venture {
7*84778b8dSPatrick Venture 
8*84778b8dSPatrick Venture struct ExtChunkHdr
9*84778b8dSPatrick Venture {
10*84778b8dSPatrick Venture     std::uint32_t length; /* Length of the data queued (little endian). */
11*84778b8dSPatrick Venture } __attribute__((packed));
12*84778b8dSPatrick Venture 
13*84778b8dSPatrick Venture /** P2A configuration response. */
14*84778b8dSPatrick Venture struct PciConfigResponse
15*84778b8dSPatrick Venture {
16*84778b8dSPatrick Venture     std::uint32_t address;
17*84778b8dSPatrick Venture } __attribute__((packed));
18*84778b8dSPatrick Venture 
19*84778b8dSPatrick Venture } // namespace ipmi_flash
20