summaryrefslogtreecommitdiffstats
path: root/pci_handler.hpp
Commit message (Collapse)AuthorAgeFilesLines
* move bmc code into bmc folderPatrick Venture2019-06-271-48/+0
| | | | | Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I2407359461a1a2f0e733ff8cd0cb1744b6304c32
* bmc: move away from blobs namespacePatrick Venture2019-05-201-2/+2
| | | | | | | | The blobs namespace is really owned by phosphor-ipmi-blobs. Move all phosphor-ipmi-flash objects into ipmi_flash namespace. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I51b721ad4f3cdc4cc43846c942967ed2e5f16589
* pci_handler: add support for opening, mapping, closingPatrick Venture2019-05-031-2/+6
| | | | | | | Add support for opening, mapping, closing the aspeed-p2a-ctrl. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I8a9361d69af0218365ab752ea69f9276bd0e767a
* pci_handler: add aspeed-p2a-ctrl pathPatrick Venture2019-05-031-0/+2
| | | | | | | | | | Add the path to the aspeed-p2a-ctrl device for mapping access. The need to map, read, etc, is similar to lpc_handler, and they may converge. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I0b8e7bf1581f77abb819d10dba136569034c21e9
* pci_handler: add internal sys objectPatrick Venture2019-05-031-2/+8
| | | | | | | | Add an internal sys object to mock system calls, such as open/close/ioctl, etc. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ide1e1d765cba34688628852bd836e5727323966f
* rename write,read to writeMeta,readMetaPatrick Venture2019-01-171-2/+2
| | | | | | | | | The blobs::DataInterface specifies two methods, write and read which are meant to be implemented to write or read configuration for the data interface implementation. Change-Id: I831a8611596fca50570a4156cbdcfa5c810c0315 Signed-off-by: Patrick Venture <venture@google.com>
* pci: add region parameter to constructorPatrick Venture2018-11-151-1/+5
| | | | | | | | Add region parameter to constructor for PCI handler so that it knows what value to send the host when requested. Change-Id: Iefe1302aaaa43819f84b9730d01ff61dd545e2ef Signed-off-by: Patrick Venture <venture@google.com>
* data handler: add close methodPatrick Venture2018-11-151-0/+1
| | | | | | | | Add the close method which, when called should turn off whatever bridge was used. Change-Id: Idbf16bd6777d0b9c3f537d0b9d3fdff22e7c319e Signed-off-by: Patrick Venture <venture@google.com>
* data handler: add open methodPatrick Venture2018-11-151-0/+1
| | | | | | | | Add open method to data handler object. The exact purpose of this method will vary by transport mechanism. Change-Id: I3d1fa3914e010ac7590455ae3f948a1d9d5cee4b Signed-off-by: Patrick Venture <venture@google.com>
* firmware: add read/write configuration methodsPatrick Venture2018-11-091-1/+11
| | | | | | | | | A data handler may require the host-side client to read or write configuration information. Therefore, implement a method for controlling this in the data handler object. Change-Id: Id7f8ff54d90cece2e8751773a8696638c2a2ea77 Signed-off-by: Patrick Venture <venture@google.com>
* set up data handler mechanismPatrick Venture2018-11-081-0/+20
Data that comes from outside of the IPMI packet will leverage a data interface implementation. Only the IPMI blocktransfer (or really KCS) will not use this external interface. Change-Id: I7806da04c070dc3d6a79070ea563aeec63221dca Signed-off-by: Patrick Venture <venture@google.com>
OpenPOWER on IntegriCloud