[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC 24/35] arm : acpi add xen environment table



On Wed, 4 Feb 2015, parth.dixit@xxxxxxxxxx wrote:
> From: Parth Dixit <parth.dixit@xxxxxxxxxx>
> 
> Xen environment table is ACPI table that is used to pass grant table
> and event channel interrupt information to dom0.
> 
> Signed-off-by: Parth Dixit <parth.dixit@xxxxxxxxxx>
> ---
>  xen/include/acpi/actbl2.h | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/xen/include/acpi/actbl2.h b/xen/include/acpi/actbl2.h
> index 38e35d6..129ce70 100644
> --- a/xen/include/acpi/actbl2.h
> +++ b/xen/include/acpi/actbl2.h
> @@ -80,6 +80,7 @@
>  #define ACPI_SIG_WDDT           "WDDT"       /* Watchdog Timer Description 
> Table */
>  #define ACPI_SIG_WDRT           "WDRT"       /* Watchdog Resource Table */
>  #define ACPI_SIG_STAO           "STAO"  /* Status Override Table */
> +#define ACPI_SIG_XENV           "XENV"  /* Xen Environment Table */
                                           ^ please align this comment

>  #ifdef ACPI_UNDEFINED_TABLES
>  /*
> @@ -910,6 +911,21 @@ struct acpi_table_stao {
>  
>  
> /*******************************************************************************
>   *
> + * XENV - Xen Environment Table
> + *        Version 1

The latest published version is 0.2


> + 
> ******************************************************************************/
> +
> +struct acpi_table_xenv {
> +    struct acpi_table_header header;    /* Common ACPI table header */
> +    u64 gnt_start;    /* Starting address of Xen grant table region */
> +    u64 gnt_size;     /* Size of Xen grant table region */
> +    u32 evt_intr;    /* Xen event channel interrupt */
> +    u8  evt_intr_flag;    /* Flags for event channel interrupt */

Please add appropriate #define for each of the possible flags.



> +};
> +
> +/*******************************************************************************
> + *
>   * WAET - Windows ACPI Emulated devices Table
>   *        Version 1
>   *
> -- 
> 1.9.1
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.