lpc mappers: provide BMC memory address for mapping

Provide the memory address to use for mmapping the window into the BMC
memory space.

Change-Id: I9cefcf7a2b5f88464457b2d9e2933645344ac49c
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/lpc_aspeed.hpp b/lpc_aspeed.hpp
index d6a35af..53fe39b 100644
--- a/lpc_aspeed.hpp
+++ b/lpc_aspeed.hpp
@@ -16,12 +16,12 @@
 {
   public:
     static std::unique_ptr<HardwareMapperInterface>
-        createAspeedMapper(std::size_t regionSize);
+        createAspeedMapper(std::uint32_t regionAddress, std::size_t regionSize);
 
-    LpcMapperAspeed(std::size_t regionSize,
+    LpcMapperAspeed(std::uint32_t regionAddress, std::size_t regionSize,
                     const internal::Sys* sys = &internal::sys_impl) :
-        regionSize(regionSize),
-        sys(sys){};
+        regionAddress(regionAddress),
+        regionSize(regionSize), sys(sys){};
 
     std::pair<std::uint32_t, std::uint32_t>
         mapWindow(std::uint32_t address, std::uint32_t length) override;
@@ -30,6 +30,7 @@
 
   private:
     static const std::string lpcControlPath;
+    std::uint32_t regionAddress;
     std::size_t regionSize;
     const internal::Sys* sys;
 };