blob: d590693eb54ecb3701962617d2f8b36f82105c73 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/******************************************************************************
2 *
Bob Moore70958572012-02-14 18:47:42 +08003 * Name: hwsleep.c - ACPI Hardware Sleep/Wake Support functions for the
4 * original/legacy sleep/PM registers.
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 *
6 *****************************************************************************/
7
8/*
Bob Moorefbb7a2d2014-02-08 09:42:25 +08009 * Copyright (C) 2000 - 2014, Intel Corp.
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 * All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright
16 * notice, this list of conditions, and the following disclaimer,
17 * without modification.
18 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
19 * substantially similar to the "NO WARRANTY" disclaimer below
20 * ("Disclaimer") and any redistribution must be conditioned upon
21 * including a substantially similar Disclaimer requirement for further
22 * binary redistribution.
23 * 3. Neither the names of the above-listed copyright holders nor the names
24 * of any contributors may be used to endorse or promote products derived
25 * from this software without specific prior written permission.
26 *
27 * Alternatively, this software may be distributed under the terms of the
28 * GNU General Public License ("GPL") version 2 as published by the Free
29 * Software Foundation.
30 *
31 * NO WARRANTY
32 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
33 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
34 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
35 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
36 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
37 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
38 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
39 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
41 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42 * POSSIBILITY OF SUCH DAMAGES.
43 */
44
Linus Torvalds1da177e2005-04-16 15:20:36 -070045#include <acpi/acpi.h>
Tang Liang09f98a82011-12-09 10:05:54 +080046#include <linux/acpi.h>
Len Browne2f7a772009-01-09 00:30:03 -050047#include "accommon.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070048
49#define _COMPONENT ACPI_HARDWARE
Len Brown4be44fc2005-08-05 00:44:28 -040050ACPI_MODULE_NAME("hwsleep")
Linus Torvalds1da177e2005-04-16 15:20:36 -070051
Bob Moore70958572012-02-14 18:47:42 +080052#if (!ACPI_REDUCED_HARDWARE) /* Entire module */
Bob Moore2feec472012-02-14 15:00:53 +080053/*******************************************************************************
54 *
55 * FUNCTION: acpi_hw_legacy_sleep
Linus Torvalds1da177e2005-04-16 15:20:36 -070056 *
57 * PARAMETERS: sleep_state - Which sleep state to enter
58 *
59 * RETURN: Status
60 *
Bob Moore2feec472012-02-14 15:00:53 +080061 * DESCRIPTION: Enter a system sleep state via the legacy FADT PM registers
Linus Torvalds1da177e2005-04-16 15:20:36 -070062 * THIS FUNCTION MUST BE CALLED WITH INTERRUPTS DISABLED
63 *
64 ******************************************************************************/
Len Brown3f6f49c2012-07-26 20:08:54 -040065acpi_status acpi_hw_legacy_sleep(u8 sleep_state)
Linus Torvalds1da177e2005-04-16 15:20:36 -070066{
Len Brown4be44fc2005-08-05 00:44:28 -040067 struct acpi_bit_register_info *sleep_type_reg_info;
68 struct acpi_bit_register_info *sleep_enable_reg_info;
Bob Moore2feec472012-02-14 15:00:53 +080069 u32 pm1a_control;
70 u32 pm1b_control;
Len Brown4be44fc2005-08-05 00:44:28 -040071 u32 in_value;
72 acpi_status status;
Linus Torvalds1da177e2005-04-16 15:20:36 -070073
Bob Moore2feec472012-02-14 15:00:53 +080074 ACPI_FUNCTION_TRACE(hw_legacy_sleep);
Linus Torvalds1da177e2005-04-16 15:20:36 -070075
Len Brown4be44fc2005-08-05 00:44:28 -040076 sleep_type_reg_info =
Bob Moore82d79b82009-02-18 14:31:05 +080077 acpi_hw_get_bit_register_info(ACPI_BITREG_SLEEP_TYPE);
Len Brown4be44fc2005-08-05 00:44:28 -040078 sleep_enable_reg_info =
79 acpi_hw_get_bit_register_info(ACPI_BITREG_SLEEP_ENABLE);
Linus Torvalds1da177e2005-04-16 15:20:36 -070080
81 /* Clear wake status */
82
Bob Moore768aaaf2009-03-06 09:49:25 +080083 status =
84 acpi_write_bit_register(ACPI_BITREG_WAKE_STATUS, ACPI_CLEAR_STATUS);
Len Brown4be44fc2005-08-05 00:44:28 -040085 if (ACPI_FAILURE(status)) {
86 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -070087 }
88
89 /* Clear all fixed and general purpose status bits */
90
Bob Moored8c71b62007-02-02 19:48:21 +030091 status = acpi_hw_clear_acpi_status();
Len Brown4be44fc2005-08-05 00:44:28 -040092 if (ACPI_FAILURE(status)) {
93 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -070094 }
95
96 /*
Pavel Machek23b168d2008-02-05 19:27:12 +010097 * 1) Disable/Clear all GPEs
Linus Torvalds1da177e2005-04-16 15:20:36 -070098 * 2) Enable all wakeup GPEs
99 */
Alexey Starikovskiy1d999672007-03-12 14:49:26 -0400100 status = acpi_hw_disable_all_gpes();
101 if (ACPI_FAILURE(status)) {
102 return_ACPI_STATUS(status);
103 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104 acpi_gbl_system_awake_and_running = FALSE;
105
Len Brown4be44fc2005-08-05 00:44:28 -0400106 status = acpi_hw_enable_all_wakeup_gpes();
107 if (ACPI_FAILURE(status)) {
108 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109 }
110
111 /* Get current value of PM1A control */
112
Bob Moore32c9ef92009-02-18 14:36:05 +0800113 status = acpi_hw_register_read(ACPI_REGISTER_PM1_CONTROL,
114 &pm1a_control);
Len Brown4be44fc2005-08-05 00:44:28 -0400115 if (ACPI_FAILURE(status)) {
116 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117 }
Len Brown4be44fc2005-08-05 00:44:28 -0400118 ACPI_DEBUG_PRINT((ACPI_DB_INIT,
Bob Mooreb27d6592010-05-26 11:47:13 +0800119 "Entering sleep state [S%u]\n", sleep_state));
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120
Bob Moore32c9ef92009-02-18 14:36:05 +0800121 /* Clear the SLP_EN and SLP_TYP fields */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700122
Bob Moore32c9ef92009-02-18 14:36:05 +0800123 pm1a_control &= ~(sleep_type_reg_info->access_bit_mask |
124 sleep_enable_reg_info->access_bit_mask);
125 pm1b_control = pm1a_control;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700126
Bob Moore32c9ef92009-02-18 14:36:05 +0800127 /* Insert the SLP_TYP bits */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128
Bob Moore32c9ef92009-02-18 14:36:05 +0800129 pm1a_control |=
Len Brown4be44fc2005-08-05 00:44:28 -0400130 (acpi_gbl_sleep_type_a << sleep_type_reg_info->bit_position);
Bob Moore32c9ef92009-02-18 14:36:05 +0800131 pm1b_control |=
Len Brown4be44fc2005-08-05 00:44:28 -0400132 (acpi_gbl_sleep_type_b << sleep_type_reg_info->bit_position);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133
134 /*
135 * We split the writes of SLP_TYP and SLP_EN to workaround
136 * poorly implemented hardware.
137 */
138
Bob Moore32c9ef92009-02-18 14:36:05 +0800139 /* Write #1: write the SLP_TYP data to the PM1 Control registers */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700140
Bob Moore32c9ef92009-02-18 14:36:05 +0800141 status = acpi_hw_write_pm1_control(pm1a_control, pm1b_control);
Len Brown4be44fc2005-08-05 00:44:28 -0400142 if (ACPI_FAILURE(status)) {
143 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144 }
145
Bob Moore32c9ef92009-02-18 14:36:05 +0800146 /* Insert the sleep enable (SLP_EN) bit */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147
Bob Moore32c9ef92009-02-18 14:36:05 +0800148 pm1a_control |= sleep_enable_reg_info->access_bit_mask;
149 pm1b_control |= sleep_enable_reg_info->access_bit_mask;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150
Bob Moore32c9ef92009-02-18 14:36:05 +0800151 /* Flush caches, as per ACPI specification */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152
Len Brown4be44fc2005-08-05 00:44:28 -0400153 ACPI_FLUSH_CPU_CACHE();
Linus Torvalds1da177e2005-04-16 15:20:36 -0700154
Tang Liang09f98a82011-12-09 10:05:54 +0800155 status = acpi_os_prepare_sleep(sleep_state, pm1a_control,
156 pm1b_control);
157 if (ACPI_SKIP(status))
158 return_ACPI_STATUS(AE_OK);
159 if (ACPI_FAILURE(status))
160 return_ACPI_STATUS(status);
Bob Moore32c9ef92009-02-18 14:36:05 +0800161 /* Write #2: Write both SLP_TYP + SLP_EN */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700162
Bob Moore32c9ef92009-02-18 14:36:05 +0800163 status = acpi_hw_write_pm1_control(pm1a_control, pm1b_control);
Len Brown4be44fc2005-08-05 00:44:28 -0400164 if (ACPI_FAILURE(status)) {
165 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166 }
167
168 if (sleep_state > ACPI_STATE_S3) {
169 /*
Robert Moore44f6c012005-04-18 22:49:35 -0400170 * We wanted to sleep > S3, but it didn't happen (by virtue of the
171 * fact that we are still executing!)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172 *
Robert Moore44f6c012005-04-18 22:49:35 -0400173 * Wait ten seconds, then try again. This is to get S4/S5 to work on
174 * all machines.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700175 *
Bob Moored4913dc2009-03-06 10:05:18 +0800176 * We wait so long to allow chipsets that poll this reg very slowly
177 * to still read the right value. Ideally, this block would go
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178 * away entirely.
179 */
Bob Moorec41679a2012-12-31 00:05:46 +0000180 acpi_os_stall(10 * ACPI_USEC_PER_SEC);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181
Alexey Starikovskiyd30dc9ab2007-09-30 22:39:36 +0400182 status = acpi_hw_register_write(ACPI_REGISTER_PM1_CONTROL,
Len Brown4be44fc2005-08-05 00:44:28 -0400183 sleep_enable_reg_info->
184 access_bit_mask);
185 if (ACPI_FAILURE(status)) {
186 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700187 }
188 }
189
Bob Moore2feec472012-02-14 15:00:53 +0800190 /* Wait for transition back to Working State */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700191
192 do {
Bob Moore50ffba12009-02-23 15:02:07 +0800193 status =
194 acpi_read_bit_register(ACPI_BITREG_WAKE_STATUS, &in_value);
Len Brown4be44fc2005-08-05 00:44:28 -0400195 if (ACPI_FAILURE(status)) {
196 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700197 }
Bob Moore2feec472012-02-14 15:00:53 +0800198
Linus Torvalds1da177e2005-04-16 15:20:36 -0700199 } while (!in_value);
200
Len Brown4be44fc2005-08-05 00:44:28 -0400201 return_ACPI_STATUS(AE_OK);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700202}
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203
Robert Moore44f6c012005-04-18 22:49:35 -0400204/*******************************************************************************
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205 *
Bob Moore2feec472012-02-14 15:00:53 +0800206 * FUNCTION: acpi_hw_legacy_wake_prep
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207 *
Bob Moore2feec472012-02-14 15:00:53 +0800208 * PARAMETERS: sleep_state - Which sleep state we just exited
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209 *
210 * RETURN: Status
211 *
Rafael J. Wysockic95d47a2008-01-08 00:05:21 +0100212 * DESCRIPTION: Perform the first state of OS-independent ACPI cleanup after a
213 * sleep.
Bob Moore2feec472012-02-14 15:00:53 +0800214 * Called with interrupts ENABLED.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215 *
216 ******************************************************************************/
Bob Moore2feec472012-02-14 15:00:53 +0800217
Len Brown3f6f49c2012-07-26 20:08:54 -0400218acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219{
Len Brown4be44fc2005-08-05 00:44:28 -0400220 acpi_status status;
221 struct acpi_bit_register_info *sleep_type_reg_info;
222 struct acpi_bit_register_info *sleep_enable_reg_info;
Bob Moore32c9ef92009-02-18 14:36:05 +0800223 u32 pm1a_control;
224 u32 pm1b_control;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225
Bob Moore2feec472012-02-14 15:00:53 +0800226 ACPI_FUNCTION_TRACE(hw_legacy_wake_prep);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700227
228 /*
229 * Set SLP_TYPE and SLP_EN to state S0.
230 * This is unclear from the ACPI Spec, but it is required
231 * by some machines.
232 */
Len Brown4be44fc2005-08-05 00:44:28 -0400233 status = acpi_get_sleep_type_data(ACPI_STATE_S0,
234 &acpi_gbl_sleep_type_a,
235 &acpi_gbl_sleep_type_b);
236 if (ACPI_SUCCESS(status)) {
237 sleep_type_reg_info =
Bob Moore82d79b82009-02-18 14:31:05 +0800238 acpi_hw_get_bit_register_info(ACPI_BITREG_SLEEP_TYPE);
Len Brown4be44fc2005-08-05 00:44:28 -0400239 sleep_enable_reg_info =
240 acpi_hw_get_bit_register_info(ACPI_BITREG_SLEEP_ENABLE);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700241
242 /* Get current value of PM1A control */
243
Alexey Starikovskiyd30dc9ab2007-09-30 22:39:36 +0400244 status = acpi_hw_register_read(ACPI_REGISTER_PM1_CONTROL,
Bob Moore32c9ef92009-02-18 14:36:05 +0800245 &pm1a_control);
Len Brown4be44fc2005-08-05 00:44:28 -0400246 if (ACPI_SUCCESS(status)) {
Bob Moore52fc0b02006-10-02 00:00:00 -0400247
Bob Moore32c9ef92009-02-18 14:36:05 +0800248 /* Clear the SLP_EN and SLP_TYP fields */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700249
Bob Moore32c9ef92009-02-18 14:36:05 +0800250 pm1a_control &= ~(sleep_type_reg_info->access_bit_mask |
251 sleep_enable_reg_info->
252 access_bit_mask);
253 pm1b_control = pm1a_control;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700254
Bob Moore32c9ef92009-02-18 14:36:05 +0800255 /* Insert the SLP_TYP bits */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256
Bob Moored4913dc2009-03-06 10:05:18 +0800257 pm1a_control |= (acpi_gbl_sleep_type_a <<
258 sleep_type_reg_info->bit_position);
259 pm1b_control |= (acpi_gbl_sleep_type_b <<
260 sleep_type_reg_info->bit_position);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700261
Bob Moore32c9ef92009-02-18 14:36:05 +0800262 /* Write the control registers and ignore any errors */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700263
Bob Moore32c9ef92009-02-18 14:36:05 +0800264 (void)acpi_hw_write_pm1_control(pm1a_control,
265 pm1b_control);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700266 }
267 }
268
Rafael J. Wysockic95d47a2008-01-08 00:05:21 +0100269 return_ACPI_STATUS(status);
270}
271
272/*******************************************************************************
273 *
Bob Moore2feec472012-02-14 15:00:53 +0800274 * FUNCTION: acpi_hw_legacy_wake
Rafael J. Wysockic95d47a2008-01-08 00:05:21 +0100275 *
276 * PARAMETERS: sleep_state - Which sleep state we just exited
277 *
278 * RETURN: Status
279 *
280 * DESCRIPTION: Perform OS-independent ACPI cleanup after a sleep
281 * Called with interrupts ENABLED.
282 *
283 ******************************************************************************/
Bob Moore2feec472012-02-14 15:00:53 +0800284
Len Brown3f6f49c2012-07-26 20:08:54 -0400285acpi_status acpi_hw_legacy_wake(u8 sleep_state)
Rafael J. Wysockic95d47a2008-01-08 00:05:21 +0100286{
Rafael J. Wysockic95d47a2008-01-08 00:05:21 +0100287 acpi_status status;
288
Bob Moore2feec472012-02-14 15:00:53 +0800289 ACPI_FUNCTION_TRACE(hw_legacy_wake);
Rafael J. Wysockic95d47a2008-01-08 00:05:21 +0100290
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291 /* Ensure enter_sleep_state_prep -> enter_sleep_state ordering */
292
293 acpi_gbl_sleep_type_a = ACPI_SLEEP_TYPE_INVALID;
Bob Moore4efeeec2012-03-21 09:42:45 +0800294 acpi_hw_execute_sleep_method(METHOD_PATHNAME__SST, ACPI_SST_WAKING);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700295
Linus Torvalds1da177e2005-04-16 15:20:36 -0700296 /*
Thomas Renninger79d2dfa2007-08-24 01:24:47 -0400297 * GPEs must be enabled before _WAK is called as GPEs
298 * might get fired there
299 *
Linus Torvalds1da177e2005-04-16 15:20:36 -0700300 * Restore the GPEs:
301 * 1) Disable/Clear all GPEs
302 * 2) Enable all runtime GPEs
303 */
Len Brown4be44fc2005-08-05 00:44:28 -0400304 status = acpi_hw_disable_all_gpes();
305 if (ACPI_FAILURE(status)) {
306 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700307 }
Bob Moore2feec472012-02-14 15:00:53 +0800308
Len Brown4be44fc2005-08-05 00:44:28 -0400309 status = acpi_hw_enable_all_runtime_gpes();
310 if (ACPI_FAILURE(status)) {
311 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700312 }
313
Bob Moore2feec472012-02-14 15:00:53 +0800314 /*
315 * Now we can execute _WAK, etc. Some machines require that the GPEs
316 * are enabled before the wake methods are executed.
317 */
Bob Moore4efeeec2012-03-21 09:42:45 +0800318 acpi_hw_execute_sleep_method(METHOD_PATHNAME__WAK, sleep_state);
Thomas Renninger79d2dfa2007-08-24 01:24:47 -0400319
Matthew Garretta68823e2008-08-06 19:12:04 +0100320 /*
Bob Moore2feec472012-02-14 15:00:53 +0800321 * Some BIOS code assumes that WAK_STS will be cleared on resume
322 * and use it to determine whether the system is rebooting or
323 * resuming. Clear WAK_STS for compatibility.
Matthew Garretta68823e2008-08-06 19:12:04 +0100324 */
Lv Zheng739dcbb2012-12-20 01:07:26 +0000325 (void)acpi_write_bit_register(ACPI_BITREG_WAKE_STATUS,
326 ACPI_CLEAR_STATUS);
Thomas Renninger79d2dfa2007-08-24 01:24:47 -0400327 acpi_gbl_system_awake_and_running = TRUE;
328
Linus Torvalds1da177e2005-04-16 15:20:36 -0700329 /* Enable power button */
330
Len Brown4be44fc2005-08-05 00:44:28 -0400331 (void)
Bob Moore50ffba12009-02-23 15:02:07 +0800332 acpi_write_bit_register(acpi_gbl_fixed_event_info
Bob Moore2feec472012-02-14 15:00:53 +0800333 [ACPI_EVENT_POWER_BUTTON].
334 enable_register_id, ACPI_ENABLE_EVENT);
Robert Moore44f6c012005-04-18 22:49:35 -0400335
Len Brown4be44fc2005-08-05 00:44:28 -0400336 (void)
Bob Moore50ffba12009-02-23 15:02:07 +0800337 acpi_write_bit_register(acpi_gbl_fixed_event_info
Bob Moore2feec472012-02-14 15:00:53 +0800338 [ACPI_EVENT_POWER_BUTTON].
339 status_register_id, ACPI_CLEAR_STATUS);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700340
Bob Moore4efeeec2012-03-21 09:42:45 +0800341 acpi_hw_execute_sleep_method(METHOD_PATHNAME__SST, ACPI_SST_WORKING);
Len Brown4be44fc2005-08-05 00:44:28 -0400342 return_ACPI_STATUS(status);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700343}
Bob Moore83135242006-10-03 00:00:00 -0400344
Bob Moore33620c52012-02-14 18:14:27 +0800345#endif /* !ACPI_REDUCED_HARDWARE */