summaryrefslogtreecommitdiffstats
path: root/blobs-ipmid
Commit message (Collapse)AuthorAgeFilesLines
* blobs: s/struct BlobMeta/BlobMeta/gPatrick Venture2019-06-171-2/+2
| | | | | | | | | | | | | | Because this structure is not anything special, simply use the cpp idiomatic way of referencing the object. Consistently, structures that are packed still have "struct" used in declarations. However, this distinction is only clear through its usage and nothing in the language. Perhaps a better approach would be notational naming struct PackedXYZ {};. However, that can get out of control quickly. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I3b7e48e4b6687ef2e15e9d07c0eeba96eb5d2552
* blobs-ipmid: use enum class for BlobOEMCommandsPatrick Venture2019-05-201-1/+2
| | | | | Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ic5aa3e38b4df33a2cfa29c575f17097e38d06605
* blobs-ipmid: blobs: add equality operator for BlobMetaPatrick Venture2019-05-171-0/+6
| | | | | Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I22ac3b8c5ad49e2fa3424ef6d9f03a3d5dc7bf51
* move blob command enum to installed headerPatrick Venture2019-02-111-0/+15
| | | | | | | Move the blob command enum to an installed header to improve cross-use. Change-Id: I2093bf993f76a2b87f8e7fdbdfcbaf2dfc012af9 Signed-off-by: Patrick Venture <venture@google.com>
* blobs-ipmid: blobs header: add prototype all handlers needPatrick Venture2019-01-151-0/+17
| | | | | | | | All blob handlers need to implement this prototype. It's called by the blob manager when it's loading the various blob handler objects. Change-Id: I62329baeb536a624abeb17995bb778ec1c11ca8f Signed-off-by: Patrick Venture <venture@google.com>
* stop installing manager headerPatrick Venture2019-01-153-348/+0
| | | | | | | | Stop installing the manager header as it is no longer meant to be exported, but rather used only internally within this repository. Change-Id: I2ab21a31fd745e1b3e36fc39ffea5e26d373ff51 Signed-off-by: Patrick Venture <venture@google.com>
* new command: BmcBlobWriteMetaPatrick Venture2018-10-104-0/+29
| | | | | | | Implement new command BmcBlobWriteMeta. Change-Id: I2e148f4bde4ef5d24db7e30bb02bdde024d9166a Signed-off-by: Patrick Venture <venture@google.com>
* test mock: add implementation of getBlobManagerPatrick Venture2018-10-041-0/+12
| | | | | | | | This is a basic implementation that can be improved later. It provides for returning a pointer that you provide in your test when needed. Change-Id: I4647c7f8cb55fa2f37ce1561af5d528b75832d56 Signed-off-by: Patrick Venture <venture@google.com>
* manager: return abstract base typePatrick Venture2018-10-041-1/+1
| | | | | | | | Unit-tests later required knowing the vtable for a BlobManager, and this should avoid that needless complication. Change-Id: I7a208d08c2065b7383fd5095e00d17c1ab3b0cf5 Signed-off-by: Patrick Venture <venture@google.com>
* header: install test mock headersPatrick Venture2018-10-042-0/+57
| | | | | | | | IPMI Blob handlers will need to include these mocks when building unit-tests. Therefore, they must be installed. Change-Id: I4c8ed0fa1a4a8912853c024206ef5e61f87707d8 Signed-off-by: Patrick Venture <venture@google.com>
* manager: add getBlobManager as an exported methodPatrick Venture2018-09-271-0/+8
| | | | | | | | getBlobManager will allow a library to get ahold of the BlobManager for registration purposes. Change-Id: I75f41601d10d59293c7752da8307507cc2c88434 Signed-off-by: Patrick Venture <venture@google.com>
* move blobs and manager header into installation dirPatrick Venture2018-09-272-0/+396
The blobs and manager header will be used by handlers once we've transitioned to dynamic loading. Change-Id: Ieae8fcfe383007731cb4f8b2619612c3bfa47f50 Signed-off-by: Patrick Venture <venture@google.com>
OpenPOWER on IntegriCloud