mirror of
https://github.com/acpica/acpica/
synced 2025-01-17 23:09:18 +03:00
EnableAcpi command need only run AcpiEnable
date 2000.05.18.22.36.00; author mwalz; state Exp;
This commit is contained in:
parent
14ba1a763b
commit
e070aba1ee
@ -284,7 +284,7 @@ DbDisplayHelp (void)
|
||||
OsdPrintf ("Debug <Namepath> [Arguments] Single Step a control method\n");
|
||||
OsdPrintf ("Dump <Address>|<Namepath>\n");
|
||||
OsdPrintf (" [Byte|Word|Dword|Qword] Display ACPI objects or memory\n");
|
||||
OsdPrintf ("EnableAcpi Initialize and Enable the ACPI CA subsystem\n");
|
||||
OsdPrintf ("EnableAcpi Enable the ACPI CA subsystem\n");
|
||||
OsdPrintf ("Event <F|G> <Value> Generate Event (Fixed/GPE)\n");
|
||||
OsdPrintf ("Execute <Namepath> [Arguments] Execute control method\n");
|
||||
OsdPrintf ("Find <Name> (? is wildcard) Find ACPI name(s) with wildcards\n");
|
||||
@ -575,27 +575,6 @@ DbCommandDispatch (
|
||||
break;
|
||||
|
||||
case CMD_ENABLEACPI:
|
||||
Status = AcpiInitialize(NULL);
|
||||
if (ACPI_FAILURE(Status))
|
||||
{
|
||||
OsdPrintf("AcpiInitialize failed (0x%x)\n", Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
Status = AcpiLoadFirmwareTables();
|
||||
if (ACPI_FAILURE(Status))
|
||||
{
|
||||
OsdPrintf("AcpiLoadFirmwareTables failed (0x%x)\n", Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
Status = AcpiLoadNamespace();
|
||||
if (ACPI_FAILURE(Status))
|
||||
{
|
||||
OsdPrintf("AcpiLoadNamespace failed (0x%x)\n", Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
Status = AcpiEnable();
|
||||
if (ACPI_FAILURE(Status))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user