utxface.c (67754) | utxface.c (69450) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: cmxface - External interfaces for "global" ACPI functions | 1/****************************************************************************** 2 * 3 * Module Name: cmxface - External interfaces for "global" ACPI functions |
4 * $Revision: 51 $ | 4 * $Revision: 54 $ |
5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights --- 208 unchanged lines hidden (view full) --- 221 UINT32 Flags) 222{ 223 ACPI_STATUS Status = AE_OK; 224 225 226 FUNCTION_TRACE ("AcpiEnableSubsystem"); 227 228 | 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights --- 208 unchanged lines hidden (view full) --- 221 UINT32 Flags) 222{ 223 ACPI_STATUS Status = AE_OK; 224 225 226 FUNCTION_TRACE ("AcpiEnableSubsystem"); 227 228 |
229 /* Sanity check the FACP for valid values */ | 229 /* Sanity check the FADT for valid values */ |
230 | 230 |
231 Status = AcpiCmValidateFacp (); | 231 Status = AcpiCmValidateFadt (); |
232 if (ACPI_FAILURE (Status)) 233 { 234 return_ACPI_STATUS (Status); 235 } 236 237 /* 238 * Install the default OpRegion handlers. These are 239 * installed unless other handlers have already been --- 29 unchanged lines hidden (view full) --- 269 /* 270 * Enable ACPI on this platform 271 */ 272 273 if (!(Flags & ACPI_NO_ACPI_ENABLE)) 274 { 275 DEBUG_PRINT (TRACE_EXEC, ("[Init] Going into ACPI mode\n")); 276 | 232 if (ACPI_FAILURE (Status)) 233 { 234 return_ACPI_STATUS (Status); 235 } 236 237 /* 238 * Install the default OpRegion handlers. These are 239 * installed unless other handlers have already been --- 29 unchanged lines hidden (view full) --- 269 /* 270 * Enable ACPI on this platform 271 */ 272 273 if (!(Flags & ACPI_NO_ACPI_ENABLE)) 274 { 275 DEBUG_PRINT (TRACE_EXEC, ("[Init] Going into ACPI mode\n")); 276 |
277 AcpiEnable (); | 277 Status = AcpiEnable (); 278 if (ACPI_FAILURE (Status)) 279 { 280 return_ACPI_STATUS (Status); 281 } |
278 } 279 280 /* 281 * Note: 282 * We must have the hardware AND events initialized before we can execute 283 * ANY control methods SAFELY. Any control method can require ACPI hardware 284 * support, so the hardware MUST be initialized before execution! 285 */ --- 65 unchanged lines hidden (view full) --- 351ACPI_STATUS 352AcpiTerminate (void) 353{ 354 355 FUNCTION_TRACE ("AcpiTerminate"); 356 357 /* Terminate the AML Debuger if present */ 358 | 282 } 283 284 /* 285 * Note: 286 * We must have the hardware AND events initialized before we can execute 287 * ANY control methods SAFELY. Any control method can require ACPI hardware 288 * support, so the hardware MUST be initialized before execution! 289 */ --- 65 unchanged lines hidden (view full) --- 355ACPI_STATUS 356AcpiTerminate (void) 357{ 358 359 FUNCTION_TRACE ("AcpiTerminate"); 360 361 /* Terminate the AML Debuger if present */ 362 |
359 AcpiGbl_DbTerminateThreads = TRUE; | 363 DEBUGGER_EXEC(AcpiGbl_DbTerminateThreads = TRUE); |
360 361 /* TBD: [Investigate] This is no longer needed?*/ 362/* AcpiCmReleaseMutex (ACPI_MTX_DEBUG_CMD_READY); */ 363 364 365 /* Shutdown and free all resources */ 366 367 AcpiCmSubsystemShutdown (); --- 162 unchanged lines hidden --- | 364 365 /* TBD: [Investigate] This is no longer needed?*/ 366/* AcpiCmReleaseMutex (ACPI_MTX_DEBUG_CMD_READY); */ 367 368 369 /* Shutdown and free all resources */ 370 371 AcpiCmSubsystemShutdown (); --- 162 unchanged lines hidden --- |