summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2012-10-15 04:08:41 +0200
committerMichael Brown2012-10-15 19:32:16 +0200
commit08a6ae86a2ddafe51fa64e8f40a4c89cd613ecfb (patch)
treeee39945f32c2cd8b78e5a426c5ecba09cfa4a6ef /src/include
parent[settings] Treat an empty formatted value as meaning "delete setting" (diff)
downloadipxe-08a6ae86a2ddafe51fa64e8f40a4c89cd613ecfb.tar.gz
ipxe-08a6ae86a2ddafe51fa64e8f40a4c89cd613ecfb.tar.xz
ipxe-08a6ae86a2ddafe51fa64e8f40a4c89cd613ecfb.zip
[nvo] Expose non-volatile options block name
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/nvo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/nvo.h b/src/include/ipxe/nvo.h
index 995afd749..36f415057 100644
--- a/src/include/ipxe/nvo.h
+++ b/src/include/ipxe/nvo.h
@@ -42,6 +42,9 @@ struct nvo_block {
struct dhcp_options dhcpopts;
};
+/** Name of non-volatile options settings block */
+#define NVO_SETTINGS_NAME "nvo"
+
extern 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 ),