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);
struct nvram nvram_t
Device descriptor for generic NVRAM devices.
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.
size_t size
Device capacity.
int(* read)(struct nvram *dev, uint8_t *dst, uint32_t src, size_t size)
Pointer to device-specific read function.
Operations on open files.