47#define NVO_SETTINGS_NAME "nvo"
uint64_t address
Base address.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
void nvo_init(struct nvo_block *nvo, struct nvs_device *nvs, size_t address, size_t len, int(*resize)(struct nvo_block *nvo, size_t len), struct refcnt *refcnt)
Initialise non-volatile stored options.
void unregister_nvo(struct nvo_block *nvo)
Unregister non-volatile stored options.
int nvo_applies(struct settings *settings, const struct setting *setting)
int register_nvo(struct nvo_block *nvo, struct settings *parent)
Register non-volatile stored options.
A block of non-volatile stored options.
size_t len
Length of options data.
int(* resize)(struct nvo_block *nvo, size_t len)
Resize non-volatile stored option block.
struct settings settings
Settings block.
unsigned int address
Address within NVS device.
struct dhcp_options dhcpopts
DHCP options block.
void * data
Option-containing data.
struct nvs_device * nvs
Underlying non-volatile storage device.
A non-volatile storage device.