FEMU
原版 master 7e238cc
FEMU: Accurate, Scalable and Extensible NVMe SSD Emulator (FAST'18)
|
|
浏览该文件的文档. 1 #ifndef __FEMU_MEM_BACKEND
2 #define __FEMU_MEM_BACKEND
DRAM backend SSD address space
Definition: dram.h:18
struct SsdDramBackend SsdDramBackend
DRAM backend SSD address space
int backend_rw(SsdDramBackend *, QEMUSGList *, uint64_t *, bool)
Definition: dram.c:37
int backend_rw(SsdDramBackend *b, QEMUSGList *qsg, uint64_t *lbal, bool is_write)
Definition: dram.c:37
void * logical_space
Definition: dram.h:19
@ FEMU_ZNSSD_MODE
Definition: nvme.h:1361
@ FEMU_OCSSD_MODE
Definition: nvme.h:1358
int femu_mode
Definition: dram.h:21
int64_t size
Definition: dram.h:20
void free_dram_backend(SsdDramBackend *)
Definition: dram.c:29
void free_dram_backend(SsdDramBackend *b)
Definition: dram.c:29
int init_dram_backend(SsdDramBackend **mbe, int64_t nbytes)
Definition: dram.c:13
@ FEMU_BBSSD_MODE
Definition: nvme.h:1359
int init_dram_backend(SsdDramBackend **mbe, int64_t nbytes)
Definition: dram.c:13
@ FEMU_NOSSD_MODE
Definition: nvme.h:1360
#define femu_err(fmt,...)
Definition: nvme.h:1511