Turnstone Operating System
Loading...
Searching...
No Matches
nvme_disk_impl.64.c File Reference

NVMe disk implementation. More...

#include <disk.h>
#include <driver/nvme.h>
#include <utils.h>
#include <list.h>

Classes

struct  nvme_disk_impl_context_t
 

Typedefs

typedef struct nvme_disk_impl_context_t nvme_disk_impl_context_t
 

Functions

 MODULE ("turnstone.kernel.hw.disk.nvme")
 
memory_heap_tnvme_disk_impl_get_heap (const disk_or_partition_t *d)
 
uint64_t nvme_disk_impl_get_size (const disk_or_partition_t *d)
 
uint64_t nvme_disk_impl_get_block_size (const disk_or_partition_t *d)
 
int8_t nvme_disk_impl_write (const disk_or_partition_t *d, uint64_t lba, uint64_t count, uint8_t *data)
 
int8_t nvme_disk_impl_read (const disk_or_partition_t *d, uint64_t lba, uint64_t count, uint8_t **data)
 
int8_t nvme_disk_impl_flush (const disk_or_partition_t *d)
 
int8_t nvme_disk_impl_close (const disk_or_partition_t *d)
 
disk_tnvme_disk_impl_open (nvme_disk_t *nvme_disk)
 

Detailed Description

NVMe disk implementation.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.