Go to the documentation of this file.
62 int (*
read)(
struct nvram *dev, uint8_t *dst, uint32_t src,
size_t size);
77 int (*
write)(
struct nvram *dev,
const uint8_t *src, uint32_t dst,
size_t size);
size_t size
Device capacity.
Device descriptor for generic NVRAM devices.
int(* read)(struct nvram *dev, uint8_t *dst, uint32_t src, size_t size)
Pointer to device-specific read function.
struct nvram nvram_t
Device descriptor for generic NVRAM devices.
void * extra
Device-specific parameters, if any.
int(* write)(struct nvram *dev, const uint8_t *src, uint32_t dst, size_t size)
Pointer to device-specific write function.
Operations on open files.
VFS layer API declarations.