dbcmds.c (129684) | dbcmds.c (131440) |
---|---|
1/******************************************************************************* 2 * 3 * Module Name: dbcmds - debug commands and output routines | 1/******************************************************************************* 2 * 3 * Module Name: dbcmds - debug commands and output routines |
4 * $Revision: 112 $ | 4 * $Revision: 113 $ |
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{ | 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#if ACPI_MACHINE_WIDTH == 16 165 return (AE_OK); 166#else |
|
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); | 167 ACPI_STATUS Status; 168 UINT8 SleepState; 169 170 171 SleepState = (UINT8) ACPI_STRTOUL (ObjectArg, NULL, 0); 172 173 AcpiOsPrintf ("**** Prepare to sleep ****\n"); 174 Status = AcpiEnterSleepStatePrep (SleepState); --- 8 unchanged lines hidden (view full) --- 183 { 184 return (Status); 185 } 186 187 AcpiOsPrintf ("**** returning from sleep ****\n"); 188 Status = AcpiLeaveSleepState (SleepState); 189 190 return (Status); |
191#endif |
|
188} 189 190 191/******************************************************************************* 192 * 193 * FUNCTION: AcpiDbWalkForReferences 194 * 195 * PARAMETERS: Callback from WalkNamespace --- 1140 unchanged lines hidden --- | 192} 193 194 195/******************************************************************************* 196 * 197 * FUNCTION: AcpiDbWalkForReferences 198 * 199 * PARAMETERS: Callback from WalkNamespace --- 1140 unchanged lines hidden --- |