Message ID | 1471580770-28637-1-git-send-email-alex.hung@canonical.com |
---|---|
State | Accepted |
Headers | show |
On 19/08/16 05:26, Alex Hung wrote: > Signed-off-by: Alex Hung <alex.hung@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@canonical.com>
On 2016年08月19日 12:26, Alex Hung wrote: > Signed-off-by: Alex Hung <alex.hung@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: Ivan Hu <ivan.hu@canonical.com>
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 */
Signed-off-by: Alex Hung <alex.hung@canonical.com> --- src/lib/include/fwts_acpi.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)