Local diff: allow use of the disassembler.
This commit is contained in:
parent
6c57d4e8fb
commit
4ace1857d7
@ -1,7 +1,7 @@
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Module Name: dbcmds - debug commands and output routines
|
||||
* $Revision: 110 $
|
||||
* $Revision: 112 $
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
@ -157,6 +157,37 @@ static ARGUMENT_INFO AcpiDbObjectTypes [] =
|
||||
};
|
||||
|
||||
|
||||
ACPI_STATUS
|
||||
AcpiDbSleep (
|
||||
char *ObjectArg)
|
||||
{
|
||||
ACPI_STATUS Status;
|
||||
UINT8 SleepState;
|
||||
|
||||
|
||||
SleepState = (UINT8) ACPI_STRTOUL (ObjectArg, NULL, 0);
|
||||
|
||||
AcpiOsPrintf ("**** Prepare to sleep ****\n");
|
||||
Status = AcpiEnterSleepStatePrep (SleepState);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
return (Status);
|
||||
}
|
||||
|
||||
AcpiOsPrintf ("**** Going to sleep ****\n");
|
||||
Status = AcpiEnterSleepState (SleepState);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
return (Status);
|
||||
}
|
||||
|
||||
AcpiOsPrintf ("**** returning from sleep ****\n");
|
||||
Status = AcpiLeaveSleepState (SleepState);
|
||||
|
||||
return (Status);
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* FUNCTION: AcpiDbWalkForReferences
|
||||
@ -1300,7 +1331,7 @@ AcpiDbGenerateGpe (
|
||||
return;
|
||||
}
|
||||
|
||||
AcpiEvGpeDispatch (GpeEventInfo, GpeNumber);
|
||||
(void) AcpiEvGpeDispatch (GpeEventInfo, GpeNumber);
|
||||
}
|
||||
|
||||
#endif /* ACPI_DEBUGGER */
|
||||
|
Loading…
x
Reference in New Issue
Block a user