libpayload arm64: Add function to get coreboot table ptr
BUG=chrome-os-partner:31634 BRANCH=None TEST=Compiles successfully Change-Id: If89e7a537e6f0321ef43641c924a8ef057f51147 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 1f39cdbf68b674ef9b65441038ec79548145a88d Original-Change-Id: Ie9904bf8abfa5ce1d87a586e5b08eb320793942f Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/217821 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/8790 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
b58f9e3a30
commit
943d623d48
|
@ -60,3 +60,8 @@ int get_coreboot_info(struct sysinfo_t *info)
|
||||||
{
|
{
|
||||||
return cb_parse_header(cb_header_ptr, 1, info);
|
return cb_parse_header(cb_header_ptr, 1, info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void *get_cb_header_ptr(void)
|
||||||
|
{
|
||||||
|
return cb_header_ptr;
|
||||||
|
}
|
||||||
|
|
|
@ -419,6 +419,7 @@ int sysinfo_have_multiboot(unsigned long *addr);
|
||||||
*/
|
*/
|
||||||
int get_coreboot_info(struct sysinfo_t *info);
|
int get_coreboot_info(struct sysinfo_t *info);
|
||||||
int get_multiboot_info(struct sysinfo_t *info);
|
int get_multiboot_info(struct sysinfo_t *info);
|
||||||
|
void *get_cb_header_ptr(void);
|
||||||
|
|
||||||
int lib_get_sysinfo(void);
|
int lib_get_sysinfo(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue