libpayload: Add iterators for CMOS variables
[coreboot.git] / payloads / libpayload / include / libpayload.h
index dd98404e940042b44360136255672591f9e1d405..53d6672a19a3269e608c117d1f5e3e313a3e9551 100644 (file)
@@ -203,8 +203,11 @@ extern u8 *mem_accessor_base;
 extern struct nvram_accessor *use_nvram, *use_mem;
 
 struct cb_cmos_option_table *get_system_option_table(void);
+int options_checksum_valid(const struct nvram_accessor *nvram);
 void fix_options_checksum_with(const struct nvram_accessor *nvram);
 void fix_options_checksum(void);
+struct cb_cmos_entries *first_cmos_entry(struct cb_cmos_option_table *option_table);
+struct cb_cmos_entries *next_cmos_entry(struct cb_cmos_entries *cur);
 int get_option_with(const struct nvram_accessor *nvram, struct cb_cmos_option_table *option_table, void *dest, char *name);
 int get_option_from(struct cb_cmos_option_table *option_table, void *dest, char *name);
 int get_option(void *dest, char *name);