Added basic Linux support.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#define XMRIG_DMITOOLS_H
|
||||
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
@@ -37,6 +38,12 @@ struct dmi_header
|
||||
};
|
||||
|
||||
|
||||
struct u64 {
|
||||
uint32_t l;
|
||||
uint32_t h;
|
||||
};
|
||||
|
||||
|
||||
template<typename T>
|
||||
inline T dmi_get(const uint8_t *data) { return *reinterpret_cast<const T *>(data); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user