[denali] Add a stub client for denali

This commit is contained in:
Drew Galbraith 2023-06-19 22:57:08 -07:00
parent a202bf2371
commit 45cf2115da
5 changed files with 63 additions and 1 deletions

View file

@ -0,0 +1,15 @@
#pragma once
#include <mammoth/channel.h>
#include <mammoth/memory_region.h>
class DenaliClient {
public:
DenaliClient(const Channel& channel) : channel_(channel) {}
MappedMemoryRegion ReadSectors(uint64_t device_id, uint64_t lba,
uint64_t num_sectors);
private:
Channel channel_;
};