diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 11:48:19 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:22 -0500 |
commit | c5a7156959e89b32260ad6072bbf5077bcdfbeee (patch) | |
tree | a1baa9c45a3aa33e9858a9a1df6ad78805cc694d /include/acpi/acglobal.h | |
parent | fdffb72d23172c91af56983f303d1986994df522 (diff) |
ACPICA: Disable all wake GPEs after first one recieved
Change for GPE support: when a wake GPE is
received, now all wake GPEs are immediately disabled to
prevent the waking GPE from firing again, and to prevent
other wake GPEs from interrupting the wake process.
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acglobal.h')
-rw-r--r-- | include/acpi/acglobal.h | 68 |
1 files changed, 33 insertions, 35 deletions
diff --git a/include/acpi/acglobal.h b/include/acpi/acglobal.h index 715c4812fe71..b74cd9b670b5 100644 --- a/include/acpi/acglobal.h +++ b/include/acpi/acglobal.h | |||
@@ -58,41 +58,6 @@ | |||
58 | #define ACPI_INIT_GLOBAL(a,b) a | 58 | #define ACPI_INIT_GLOBAL(a,b) a |
59 | #endif | 59 | #endif |
60 | 60 | ||
61 | /* | ||
62 | * Keep local copies of these FADT-based registers. NOTE: These globals | ||
63 | * are first in this file for alignment reasons on 64-bit systems. | ||
64 | */ | ||
65 | ACPI_EXTERN struct acpi_generic_address acpi_gbl_xpm1a_enable; | ||
66 | ACPI_EXTERN struct acpi_generic_address acpi_gbl_xpm1b_enable; | ||
67 | |||
68 | /***************************************************************************** | ||
69 | * | ||
70 | * Debug support | ||
71 | * | ||
72 | ****************************************************************************/ | ||
73 | |||
74 | /* Runtime configuration of debug print levels */ | ||
75 | |||
76 | extern u32 acpi_dbg_level; | ||
77 | extern u32 acpi_dbg_layer; | ||
78 | |||
79 | /* Procedure nesting level for debug output */ | ||
80 | |||
81 | extern u32 acpi_gbl_nesting_level; | ||
82 | |||
83 | /* Event counters */ | ||
84 | |||
85 | ACPI_EXTERN u32 acpi_gpe_count; | ||
86 | |||
87 | /* Support for dynamic control method tracing mechanism */ | ||
88 | |||
89 | ACPI_EXTERN u32 acpi_gbl_original_dbg_level; | ||
90 | ACPI_EXTERN u32 acpi_gbl_original_dbg_layer; | ||
91 | ACPI_EXTERN acpi_name acpi_gbl_trace_method_name; | ||
92 | ACPI_EXTERN u32 acpi_gbl_trace_dbg_level; | ||
93 | ACPI_EXTERN u32 acpi_gbl_trace_dbg_layer; | ||
94 | ACPI_EXTERN u32 acpi_gbl_trace_flags; | ||
95 | |||
96 | /***************************************************************************** | 61 | /***************************************************************************** |
97 | * | 62 | * |
98 | * Runtime configuration (static defaults that can be overriden at runtime) | 63 | * Runtime configuration (static defaults that can be overriden at runtime) |
@@ -139,6 +104,34 @@ ACPI_EXTERN u8 ACPI_INIT_GLOBAL(acpi_gbl_leave_wake_gpes_disabled, TRUE); | |||
139 | 104 | ||
140 | /***************************************************************************** | 105 | /***************************************************************************** |
141 | * | 106 | * |
107 | * Debug support | ||
108 | * | ||
109 | ****************************************************************************/ | ||
110 | |||
111 | /* Runtime configuration of debug print levels */ | ||
112 | |||
113 | extern u32 acpi_dbg_level; | ||
114 | extern u32 acpi_dbg_layer; | ||
115 | |||
116 | /* Procedure nesting level for debug output */ | ||
117 | |||
118 | extern u32 acpi_gbl_nesting_level; | ||
119 | |||
120 | /* Event counters */ | ||
121 | |||
122 | ACPI_EXTERN u32 acpi_gpe_count; | ||
123 | |||
124 | /* Support for dynamic control method tracing mechanism */ | ||
125 | |||
126 | ACPI_EXTERN u32 acpi_gbl_original_dbg_level; | ||
127 | ACPI_EXTERN u32 acpi_gbl_original_dbg_layer; | ||
128 | ACPI_EXTERN acpi_name acpi_gbl_trace_method_name; | ||
129 | ACPI_EXTERN u32 acpi_gbl_trace_dbg_level; | ||
130 | ACPI_EXTERN u32 acpi_gbl_trace_dbg_layer; | ||
131 | ACPI_EXTERN u32 acpi_gbl_trace_flags; | ||
132 | |||
133 | /***************************************************************************** | ||
134 | * | ||
142 | * ACPI Table globals | 135 | * ACPI Table globals |
143 | * | 136 | * |
144 | ****************************************************************************/ | 137 | ****************************************************************************/ |
@@ -154,6 +147,11 @@ ACPI_EXTERN struct acpi_table_fadt acpi_gbl_FADT; | |||
154 | #define acpi_fadt acpi_gbl_FADT | 147 | #define acpi_fadt acpi_gbl_FADT |
155 | extern acpi_native_uint acpi_gbl_permanent_mmap; | 148 | extern acpi_native_uint acpi_gbl_permanent_mmap; |
156 | 149 | ||
150 | /* These addresses are calculated from FADT address values */ | ||
151 | |||
152 | ACPI_EXTERN struct acpi_generic_address acpi_gbl_xpm1a_enable; | ||
153 | ACPI_EXTERN struct acpi_generic_address acpi_gbl_xpm1b_enable; | ||
154 | |||
157 | /* | 155 | /* |
158 | * Handle both ACPI 1.0 and ACPI 2.0 Integer widths. The integer width is | 156 | * Handle both ACPI 1.0 and ACPI 2.0 Integer widths. The integer width is |
159 | * determined by the revision of the DSDT: If the DSDT revision is less than | 157 | * determined by the revision of the DSDT: If the DSDT revision is less than |