Home
last modified time | relevance | path

Searched refs:DevMemDevice (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-ipmi-flash/tools/
H A Dio.hpp12 class DevMemDevice : public HostIoInterface class
15 explicit DevMemDevice(const internal::Sys* sys = &internal::sys_impl) : in DevMemDevice() function in host_tool::DevMemDevice
19 ~DevMemDevice() = default;
22 DevMemDevice(const DevMemDevice&) = delete;
23 DevMemDevice& operator=(const DevMemDevice&) = delete;
24 DevMemDevice(DevMemDevice&&) = default;
25 DevMemDevice& operator=(DevMemDevice&&) = delete;
H A Dio.cpp14 const std::string DevMemDevice::devMemPath = "/dev/mem";
16 bool DevMemDevice::read(const std::size_t offset, const std::size_t length, in read()
54 bool DevMemDevice::write(const std::size_t offset, const std::size_t length, in write()
H A Dmain.cpp220 host_tool::DevMemDevice devmem; in main()
/openbmc/phosphor-ipmi-flash/tools/test/
H A Dio_unittest.cpp24 DevMemTest() : devmem(std::make_unique<DevMemDevice>(&sys_mock)) {} in DevMemTest()
27 std::unique_ptr<DevMemDevice> devmem;