ACK: [PATCH] acpi: acpidump: add in missing exponent field to SLIC
Alex Hung
alex.hung at canonical.com
Mon Jun 29 09:40:20 UTC 2015
On 06/28/2015 08:46 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Somehow overlooked the Exponent field, need to add this to
> the table definition and acpidump.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/acpi/acpidump/acpidump.c | 1 +
> src/lib/include/fwts_acpi.h | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/src/acpi/acpidump/acpidump.c b/src/acpi/acpidump/acpidump.c
> index 27489ba..9651159 100644
> --- a/src/acpi/acpidump/acpidump.c
> +++ b/src/acpi/acpidump/acpidump.c
> @@ -1529,6 +1529,7 @@ static void acpidump_slic(fwts_framework *fw, const fwts_acpi_table_info *table)
> FIELD_UINT("Algorithm", fwts_acpi_table_slic_key, algorithm),
> FIELD_UINT("Magic", fwts_acpi_table_slic_key, magic),
> FIELD_UINT("Bit Length",fwts_acpi_table_slic_key, bit_length),
> + FIELD_UINT("Exponent", fwts_acpi_table_slic_key, exponent),
> FIELD_UINTS("Modulus", fwts_acpi_table_slic_key, modulus),
> FIELD_END
> };
> diff --git a/src/lib/include/fwts_acpi.h b/src/lib/include/fwts_acpi.h
> index 27ba229..784cd47 100644
> --- a/src/lib/include/fwts_acpi.h
> +++ b/src/lib/include/fwts_acpi.h
> @@ -678,6 +678,7 @@ typedef struct {
> uint32_t algorithm;
> uint8_t magic[4];
> uint32_t bit_length;
> + uint32_t exponent;
> uint8_t modulus[128];
> } __attribute__ ((packed)) fwts_acpi_table_slic_key;
>
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list