libpayload arm64: Add function to get coreboot table ptr
BUG=chrome-os-partner:31634 BRANCH=None TEST=Compiles successfully Change-Id: Ie9904bf8abfa5ce1d87a586e5b08eb320793942f Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/217821 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Commit-Queue: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
4f3552b8d3
commit
1f39cdbf68
2 changed files with 6 additions and 0 deletions
|
|
@ -50,3 +50,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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
void lib_sysinfo_get_memranges(struct memrange **ranges,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue