Home
last modified time | relevance | path

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

/openbmc/phosphor-ipmi-flash/tools/
H A Dio.hpp40 class PpcMemDevice : public HostIoInterface class
43 explicit PpcMemDevice(const std::string& ppcMemPath, in PpcMemDevice() function in host_tool::PpcMemDevice
48 ~PpcMemDevice() override;
51 PpcMemDevice(const PpcMemDevice&) = delete;
52 PpcMemDevice& operator=(const PpcMemDevice&) = delete;
53 PpcMemDevice(PpcMemDevice&&) = default;
54 PpcMemDevice& operator=(PpcMemDevice&&) = default;
H A Dio.cpp94 PpcMemDevice::~PpcMemDevice() in ~PpcMemDevice()
100 void PpcMemDevice::close() in close()
109 bool PpcMemDevice::read(const std::size_t offset, const std::size_t length, in read()
133 bool PpcMemDevice::write(const std::size_t offset, const std::size_t length, in write()
H A Dmain.cpp218 host_tool::PpcMemDevice devmem(ppcMemPath); in main()
/openbmc/phosphor-ipmi-flash/tools/test/
H A Dio_unittest.cpp106 PpcMemTest() : devmem(std::make_unique<PpcMemDevice>(path, &sys_mock)) {} in PpcMemTest()
109 std::unique_ptr<PpcMemDevice> devmem;