26 lines
400 B
C++
26 lines
400 B
C++
#pragma once
|
|
|
|
|
|
#include <cstdint>
|
|
#include <algorithm>
|
|
#include <memory>
|
|
#include "device/Device.h"
|
|
#include "registers/MGMT.h"
|
|
|
|
class FM10K {
|
|
public:
|
|
static const uint64_t BAR4_SIZE = 0x0000000004000000;
|
|
static const uint64_t BAR4_OFFSET = 0x0;
|
|
|
|
explicit FM10K(std::unique_ptr<Device> device) : m_device(std::move(device)) {
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
std::unique_ptr<Device> m_device;
|
|
};
|
|
|
|
|