aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2013-03-08 04:20:32 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-03-11 19:45:03 -0400
commit25c0330aa6bba60e36ac460d12ef954332852426 (patch)
tree4b31084daf21319b19887fa930fa431694af1118 /include
parent8c2809144a372284f757bd4d70b08206e20681b7 (diff)
ACPICA: iASL/Disassembler: Add support for VRTC table
VRTC is used in Intel MID platforms as a replacement of the traditional x86 RTC. VRTC table can be found in the recent ACPI BIOS enabled Intel MID platforms. The format of this table has been defined in the "Simple Firmware Interface Specification" except it uses GAS instead of 64-bit values for address fields. This patch introduces VRTC table support into ACPICA. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/acpi/actbl2.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index 77dc7a4099a3..3f1b0a474ae6 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -77,6 +77,7 @@
77#define ACPI_SIG_SPMI "SPMI" /* Server Platform Management Interface table */ 77#define ACPI_SIG_SPMI "SPMI" /* Server Platform Management Interface table */
78#define ACPI_SIG_TCPA "TCPA" /* Trusted Computing Platform Alliance table */ 78#define ACPI_SIG_TCPA "TCPA" /* Trusted Computing Platform Alliance table */
79#define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */ 79#define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */
80#define ACPI_SIG_VRTC "VRTC" /* Virtual Real Time Clock Table */
80#define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */ 81#define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */
81#define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */ 82#define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */
82#define ACPI_SIG_WDDT "WDDT" /* Watchdog Timer Description Table */ 83#define ACPI_SIG_WDDT "WDDT" /* Watchdog Timer Description Table */
@@ -1025,6 +1026,28 @@ struct acpi_table_uefi {
1025 1026
1026/******************************************************************************* 1027/*******************************************************************************
1027 * 1028 *
1029 * VRTC - Virtual Real Time Clock Table
1030 * Version 1
1031 *
1032 * Conforms to "Simple Firmware Interface Specification",
1033 * Draft 0.8.2, Oct 19, 2010
1034 * NOTE: The ACPI VRTC is equivalent to The SFI MRTC table.
1035 *
1036 ******************************************************************************/
1037
1038struct acpi_table_vrtc {
1039 struct acpi_table_header header; /* Common ACPI table header */
1040};
1041
1042/* VRTC entry */
1043
1044struct acpi_vrtc_entry {
1045 struct acpi_generic_address physical_address;
1046 u32 irq;
1047};
1048
1049/*******************************************************************************
1050 *
1028 * WAET - Windows ACPI Emulated devices Table 1051 * WAET - Windows ACPI Emulated devices Table
1029 * Version 1 1052 * Version 1
1030 * 1053 *