ACK: [PATCH 1/3] lib: acpi: add supports for WPBT
Colin Ian King
colin.king at canonical.com
Fri Aug 19 08:05:47 UTC 2016
On 19/08/16 05:26, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
> src/lib/include/fwts_acpi.h | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/src/lib/include/fwts_acpi.h b/src/lib/include/fwts_acpi.h
> index 77ed616..b2116fb 100644
> --- a/src/lib/include/fwts_acpi.h
> +++ b/src/lib/include/fwts_acpi.h
> @@ -1757,6 +1757,23 @@ typedef struct {
> } __attribute__ ((packed)) fwts_acpi_table_wdat;
>
> /*
> + * ACPI WPDT (Windows Platform Binary Table)
> + * https://msdn.microsoft.com/en-US/library/windows/hardware/dn550976
> + */
> +typedef struct {
> + uint16_t arguments_length;
> + uint8_t arguments[];
> +} __attribute__ ((packed)) fwts_acpi_table_wpbt_type1;
> +
> +typedef struct {
> + fwts_acpi_table_header header;
> + uint32_t handoff_size;
> + uint64_t handoff_address;
> + uint8_t layout;
> + uint8_t type;
> +} __attribute__ ((packed)) fwts_acpi_table_wpbt;
> +
> +/*
> * ACPI ASPT
> * determined by reverse engineering
> */
>
Acked-by: Colin Ian King <colin.king at canonical.com>
More information about the fwts-devel
mailing list