pci: add region parameter to constructor
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>
diff --git a/main.cpp b/main.cpp
index 5304c50..7095d15 100644
--- a/main.cpp
+++ b/main.cpp
@@ -21,7 +21,7 @@
HashFileHandler hashHandler;
StaticLayoutHandler staticLayoutHandler;
LpcDataHandler lpcDataHandler;
-PciDataHandler pciDataHandler;
+PciDataHandler pciDataHandler(PCI_PHYSICAL_ADDRESS);
std::vector<HandlerPack> supportedFirmware = {
{FirmwareBlobHandler::hashBlobID, &hashHandler},