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