Add support for older DMI formats on Linux.
This commit is contained in:
parent
05e6f66169
commit
3b8d081c8c
5 changed files with 72 additions and 14 deletions
|
@ -26,6 +26,9 @@
|
|||
#include "hw/dmi/DmiMemory.h"
|
||||
|
||||
|
||||
#include <functional>
|
||||
|
||||
|
||||
namespace xmrig {
|
||||
|
||||
|
||||
|
@ -42,6 +45,9 @@ public:
|
|||
bool read();
|
||||
|
||||
private:
|
||||
using Cleanup = std::function<void()>;
|
||||
|
||||
bool decode(uint8_t *buf, const Cleanup &cleanup);
|
||||
bool decode(uint8_t *buf);
|
||||
|
||||
DmiBoard m_board;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue