lkml.org 
[lkml]   [2015]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 07/19] ACPICA: ACPI 6.0: Add support for WPBT table.
    Date
    From: Bob Moore <robert.moore@intel.com>

    ACPICA commit a6ccb4033b49f7aa33a17ddc41dd69d57e799fbd

    Windows Platform Binary Table.

    Link: https://github.com/acpica/acpica/commit/a6ccb403
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    ---
    include/acpi/actbl3.h | 20 +++++++++++++++++++-
    1 file changed, 19 insertions(+), 1 deletion(-)

    diff --git a/include/acpi/actbl3.h b/include/acpi/actbl3.h
    index 3eed4c8..e1aac82 100644
    --- a/include/acpi/actbl3.h
    +++ b/include/acpi/actbl3.h
    @@ -70,6 +70,7 @@
    #define ACPI_SIG_RASF "RASF" /* RAS Feature table */
    #define ACPI_SIG_STAO "STAO" /* Status Override table */
    #define ACPI_SIG_TPM2 "TPM2" /* Trusted Platform Module 2.0 H/W interface table */
    +#define ACPI_SIG_WPBT "WPBT" /* Windows Platform Binary Table */
    #define ACPI_SIG_XENV "XENV" /* Xen Environment table */

    #define ACPI_SIG_S3PT "S3PT" /* S3 Performance (sub)Table */
    @@ -79,7 +80,6 @@

    #define ACPI_SIG_MATR "MATR" /* Memory Address Translation Table */
    #define ACPI_SIG_MSDM "MSDM" /* Microsoft Data Management Table */
    -#define ACPI_SIG_WPBT "WPBT" /* Windows Platform Binary Table */

    /*
    * All tables must be byte-packed to match the ACPI specification, since
    @@ -732,6 +732,24 @@ struct acpi_tpm2_control {

    /*******************************************************************************
    *
    + * WPBT - Windows Platform Environment Table (ACPI 6.0)
    + * Version 1
    + *
    + * Conforms to "Windows Platform Binary Table (WPBT)" 29 November 2011
    + *
    + ******************************************************************************/
    +
    +struct acpi_table_wpbt {
    + struct acpi_table_header header; /* Common ACPI table header */
    + u32 handoff_size;
    + u64 handoff_address;
    + u8 layout;
    + u8 type;
    + u16 arguments_length;
    +};
    +
    +/*******************************************************************************
    + *
    * XENV - Xen Environment Table (ACPI 6.0)
    * Version 1
    *
    --
    1.7.10


    \
     
     \ /
      Last update: 2015-05-21 05:01    [W:3.076 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site