data handler: add close method
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>
diff --git a/pci_handler.hpp b/pci_handler.hpp
index ba09d51..755ee18 100644
--- a/pci_handler.hpp
+++ b/pci_handler.hpp
@@ -23,6 +23,7 @@
PciDataHandler() = default;
bool open() override;
+ bool close() override;
std::vector<std::uint8_t> copyFrom(std::uint32_t length) override;
bool write(const std::vector<std::uint8_t>& configuration) override;
std::vector<std::uint8_t> read() override;