summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/sysinfo.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-08-07 10:21:05 +0000
committerStefan Reinauer <stepan@openbios.org>2008-08-07 10:21:05 +0000
commit95a6e1cab25abbae51dd2c02cd9158f53a0212a7 (patch)
treef439ec6a27d55cdce0858c5b5f83f4cb2fbb8126 /payloads/libpayload/include/sysinfo.h
parentebc92186cc9144aaacd37ca1ae94fcff60ec577a (diff)
downloadcoreboot-95a6e1cab25abbae51dd2c02cd9158f53a0212a7.tar.xz
add get_option to libpayload, so coreboot cmos options can be queried.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Jordan Crouse <jordan.crouse@amd.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3474 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include/sysinfo.h')
-rw-r--r--payloads/libpayload/include/sysinfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/include/sysinfo.h b/payloads/libpayload/include/sysinfo.h
index aebbff6481..1e83488a52 100644
--- a/payloads/libpayload/include/sysinfo.h
+++ b/payloads/libpayload/include/sysinfo.h
@@ -43,6 +43,11 @@ struct sysinfo_t {
unsigned long long base;
unsigned long long size;
} memrange[SYSINFO_MAX_MEM_RANGES];
+
+ struct cb_cmos_option_table *option_table;
+ u32 cmos_range_start;
+ u32 cmos_range_end;
+ u32 cmos_checksum_location;
};
extern struct sysinfo_t lib_sysinfo;