[denali] Add a stub client for denali
This commit is contained in:
parent
a202bf2371
commit
45cf2115da
5 changed files with 63 additions and 1 deletions
15
sys/denali/include/denali/denali_client.h
Normal file
15
sys/denali/include/denali/denali_client.h
Normal 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_;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue