diff mbox

[Xen-devel,v2,25/41] arm : acpi add status override table

Message ID 1431893048-5214-26-git-send-email-parth.dixit@linaro.org
State New
Headers show

Commit Message

Parth Dixit May 17, 2015, 8:03 p.m. UTC
Status override table is used to hide devices from DOM0
that are used by xen

Signed-off-by: Parth Dixit <parth.dixit@linaro.org>
---
 xen/include/acpi/actbl2.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Parth Dixit July 5, 2015, 1:18 p.m. UTC | #1
+shannon

On 18 May 2015 at 01:33, Parth Dixit <parth.dixit@linaro.org> wrote:
> Status override table is used to hide devices from DOM0
> that are used by xen
>
> Signed-off-by: Parth Dixit <parth.dixit@linaro.org>
> ---
>  xen/include/acpi/actbl2.h | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/xen/include/acpi/actbl2.h b/xen/include/acpi/actbl2.h
> index 25be429..9c8d807 100644
> --- a/xen/include/acpi/actbl2.h
> +++ b/xen/include/acpi/actbl2.h
> @@ -79,6 +79,7 @@
>  #define ACPI_SIG_WDAT           "WDAT" /* Watchdog Action Table */
>  #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 */
>
>  #ifdef ACPI_UNDEFINED_TABLES
>  /*
> @@ -894,6 +895,19 @@ struct acpi_table_uefi {
>  };
>
>  /*******************************************************************************
> +  *
> +  * STAO - Status Override Table
> +  *        Version 0.3
> +  *
> + ******************************************************************************/
> +
> +struct acpi_table_stao {
> +    struct acpi_table_header header;   /* Common ACPI table header */
> +    u8 uart;    /* Indicates presence of SPCR table */
> +    u8 devpath[1];    /* Full namepath of uart device in ACPI namespace */
> +};
> +
> +/*******************************************************************************
>   *
>   * WAET - Windows ACPI Emulated devices Table
>   *        Version 1
> --
> 1.9.1
>
diff mbox

Patch

diff --git a/xen/include/acpi/actbl2.h b/xen/include/acpi/actbl2.h
index 25be429..9c8d807 100644
--- a/xen/include/acpi/actbl2.h
+++ b/xen/include/acpi/actbl2.h
@@ -79,6 +79,7 @@ 
 #define ACPI_SIG_WDAT           "WDAT"	/* Watchdog Action Table */
 #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 */
 
 #ifdef ACPI_UNDEFINED_TABLES
 /*
@@ -894,6 +895,19 @@  struct acpi_table_uefi {
 };
 
 /*******************************************************************************
+  *
+  * STAO - Status Override Table
+  *        Version 0.3
+  *
+ ******************************************************************************/
+
+struct acpi_table_stao {
+    struct acpi_table_header header;	/* Common ACPI table header */
+    u8 uart;    /* Indicates presence of SPCR table */
+    u8 devpath[1];    /* Full namepath of uart device in ACPI namespace */
+};
+
+/*******************************************************************************
  *
  * WAET - Windows ACPI Emulated devices Table
  *        Version 1