1/*******************************************************************************
2 *
3 * Module Name: dbcmds - debug commands and output routines
4 * $Revision: 112 $
5 *
6 ******************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
--- 143 unchanged lines hidden (view full) ---
156 {NULL} /* Must be null terminated */
157};
158
159
160ACPI_STATUS
161AcpiDbSleep (
162 char *ObjectArg)
163{
164 ACPI_STATUS Status;
165 UINT8 SleepState;
166
167
168 SleepState = (UINT8) ACPI_STRTOUL (ObjectArg, NULL, 0);
169
170 AcpiOsPrintf ("**** Prepare to sleep ****\n");
171 Status = AcpiEnterSleepStatePrep (SleepState);
--- 8 unchanged lines hidden (view full) ---
180 {
181 return (Status);
182 }
183
184 AcpiOsPrintf ("**** returning from sleep ****\n");
185 Status = AcpiLeaveSleepState (SleepState);
186
187 return (Status);
188}
189
190
191/*******************************************************************************
192 *
193 * FUNCTION: AcpiDbWalkForReferences
194 *
195 * PARAMETERS: Callback from WalkNamespace
--- 1140 unchanged lines hidden ---
2 *
3 * Module Name: dbcmds - debug commands and output routines
4 * $Revision: 112 $
5 *
6 ******************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
--- 143 unchanged lines hidden (view full) ---
156 {NULL} /* Must be null terminated */
157};
158
159
160ACPI_STATUS
161AcpiDbSleep (
162 char *ObjectArg)
163{
164 ACPI_STATUS Status;
165 UINT8 SleepState;
166
167
168 SleepState = (UINT8) ACPI_STRTOUL (ObjectArg, NULL, 0);
169
170 AcpiOsPrintf ("**** Prepare to sleep ****\n");
171 Status = AcpiEnterSleepStatePrep (SleepState);
--- 8 unchanged lines hidden (view full) ---
180 {
181 return (Status);
182 }
183
184 AcpiOsPrintf ("**** returning from sleep ****\n");
185 Status = AcpiLeaveSleepState (SleepState);
186
187 return (Status);
188}
189
190
191/*******************************************************************************
192 *
193 * FUNCTION: AcpiDbWalkForReferences
194 *
195 * PARAMETERS: Callback from WalkNamespace
--- 1140 unchanged lines hidden ---