window interface: add close method
Add a close method, that when called does whatever is appropriate for
the given implementation.
Note: There are a few methods that don't map nicely, and therefore it
makes sense to add a close() to this interface.
Change-Id: If001446b2248715ea76147ea35a99a729ba5a404
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/lpc_aspeed.hpp b/lpc_aspeed.hpp
index f3608d0..e89662c 100644
--- a/lpc_aspeed.hpp
+++ b/lpc_aspeed.hpp
@@ -23,6 +23,8 @@
regionAddress(regionAddress),
regionSize(regionSize), sys(sys){};
+ void close() override;
+
std::pair<std::uint32_t, std::uint32_t>
mapWindow(std::uint32_t address, std::uint32_t length) override;