diff options
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/arch/arm64/coreboot.c | 5 | ||||
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/payloads/libpayload/arch/arm64/coreboot.c b/payloads/libpayload/arch/arm64/coreboot.c index 056d63e2e6..03aec5733c 100644 --- a/payloads/libpayload/arch/arm64/coreboot.c +++ b/payloads/libpayload/arch/arm64/coreboot.c @@ -60,3 +60,8 @@ int get_coreboot_info(struct sysinfo_t *info) { return cb_parse_header(cb_header_ptr, 1, info); } + +void *get_cb_header_ptr(void) +{ + return cb_header_ptr; +} diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 5bdd55dfad..3d8417c42a 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -419,6 +419,7 @@ int sysinfo_have_multiboot(unsigned long *addr); */ int get_coreboot_info(struct sysinfo_t *info); int get_multiboot_info(struct sysinfo_t *info); +void *get_cb_header_ptr(void); int lib_get_sysinfo(void); |