diff mbox

[Xen-devel,v4,7/8] ACPICA: Headers: Add GTDT flag definitions for the timer subtable.

Message ID 1452152364-8488-8-git-send-email-zhaoshenglong@huawei.com
State New
Headers show

Commit Message

Shannon Zhao Jan. 7, 2016, 7:39 a.m. UTC
From: Hanjun Guo <hanjun.guo@linaro.org>


Mostly by Hanjun Guo <hanjun.guo@linaro.org>

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>

Signed-off-by: Bob Moore <robert.moore@intel.com>

Signed-off-by: Lv Zheng <lv.zheng@intel.com>

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

[Linux commit 34ea065e5e607dcbb249046c42a491f8b24ad849]
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>

---
 xen/include/acpi/actbl3.h | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

-- 
2.0.4



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

Patch

diff --git a/xen/include/acpi/actbl3.h b/xen/include/acpi/actbl3.h
index 39f1f36..c472045 100644
--- a/xen/include/acpi/actbl3.h
+++ b/xen/include/acpi/actbl3.h
@@ -310,10 +310,15 @@  struct acpi_gtdt_timer_entry {
 	u32 common_flags;
 };
 
+/* Flag Definitions: timer_flags and virtual_timer_flags above */
+
+#define ACPI_GTDT_GT_IRQ_MODE		    (1)
+#define ACPI_GTDT_GT_IRQ_POLARITY	    (1<<1)
+
 /* Flag Definitions: common_flags above */
 
-#define ACPI_GTDT_GT_IS_SECURE_TIMER	(1)
-#define ACPI_GTDT_GT_ALWAYS_ON		(1<<1)
+#define ACPI_GTDT_GT_IS_SECURE_TIMER	    (1)
+#define ACPI_GTDT_GT_ALWAYS_ON		    (1<<1)
 
 /* 1: SBSA Generic Watchdog Structure */