| Patrick Venture | e772842 | 2018-11-14 20:16:33 -0800 | [diff] [blame] | 1 | #pragma once |
| 2 | |||||
| 3 | #include "lpc_interface.hpp" | ||||
| 4 | |||||
| 5 | namespace blobs | ||||
| 6 | { | ||||
| 7 | |||||
| 8 | class LpcMapperAspeed : public LpcMapperInterface | ||||
| 9 | { | ||||
| 10 | public: | ||||
| 11 | static std::unique_ptr<LpcMapperInterface> createAspeedMapper(); | ||||
| 12 | |||||
| 13 | /* TODO: Needs reserved memory region's physical address and size. */ | ||||
| 14 | LpcMapperAspeed() = default; | ||||
| 15 | |||||
| 16 | std::pair<std::uint32_t, std::uint32_t> | ||||
| 17 | mapWindow(std::uint32_t address, std::uint32_t length) override; | ||||
| 18 | }; | ||||
| 19 | |||||
| 20 | } // namespace blobs | ||||