diff options
author | Simon Glass <sjg@chromium.org> | 2023-07-25 15:37:06 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2023-08-01 10:08:49 +0800 |
commit | db971a7587d04b3f1cf2e6d452f9e37f50c5b3ed (patch) | |
tree | 79795a577f17829294c18253349f4a56ef9d254e /arch/x86/include | |
parent | d560f7cae04128061167c1507af08293b666c766 (diff) | |
download | u-boot-db971a7587d04b3f1cf2e6d452f9e37f50c5b3ed.zip u-boot-db971a7587d04b3f1cf2e6d452f9e37f50c5b3ed.tar.gz u-boot-db971a7587d04b3f1cf2e6d452f9e37f50c5b3ed.tar.bz2 |
x86: Add a little more info to cbsysinfo
Show the number of records in the table and the total table size in
bytes.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/cb_sysinfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/cb_sysinfo.h b/arch/x86/include/asm/cb_sysinfo.h index 2c78b22..12fa395 100644 --- a/arch/x86/include/asm/cb_sysinfo.h +++ b/arch/x86/include/asm/cb_sysinfo.h @@ -138,6 +138,8 @@ * @rsdp: Pointer to ACPI RSDP table * @unimpl_count: Number of entries in unimpl_map[] * @unimpl: List of unimplemented IDs (bottom 8 bits only) + * @table_size: Number of bytes taken up by the sysinfo table + * @rec_count: Number of records in the sysinfo table */ struct sysinfo_t { unsigned int cpu_khz; @@ -219,6 +221,8 @@ struct sysinfo_t { void *rsdp; u32 unimpl_count; u8 unimpl[SYSINFO_MAX_UNIMPL]; + uint table_size; + uint rec_count; }; extern struct sysinfo_t lib_sysinfo; |