* grub-core/commands/acpihalt.c (skip_ext_op): Add support for

skipping Event, Device, Processor, PowerRes, ThermalZone, and
	  BankField extended opcodes.
	  (get_sleep_type): Add minimal scope handling (just enough to
	  handle setting the scope to the root path).
	  (grub_acpi_halt): Parse any SSDTs as well as the DSDT.
	* include/grub/acpi.h: Add enumeration values for Event, Device,
	  Processor, PowerRes, ThermalZone, and BankField extended opcodes.
This commit is contained in:
Colin Watson 2013-03-26 11:29:52 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent 33871a10a8
commit 33028f4c0b
3 changed files with 81 additions and 24 deletions

View file

@ -203,9 +203,15 @@ enum
enum
{
GRUB_ACPI_EXTOPCODE_MUTEX = 0x01,
GRUB_ACPI_EXTOPCODE_EVENT_OP = 0x02,
GRUB_ACPI_EXTOPCODE_OPERATION_REGION = 0x80,
GRUB_ACPI_EXTOPCODE_FIELD_OP = 0x81,
GRUB_ACPI_EXTOPCODE_DEVICE_OP = 0x82,
GRUB_ACPI_EXTOPCODE_PROCESSOR_OP = 0x83,
GRUB_ACPI_EXTOPCODE_POWER_RES_OP = 0x84,
GRUB_ACPI_EXTOPCODE_THERMAL_ZONE_OP = 0x85,
GRUB_ACPI_EXTOPCODE_INDEX_FIELD_OP = 0x86,
GRUB_ACPI_EXTOPCODE_BANK_FIELD_OP = 0x87,
};
#endif /* ! GRUB_ACPI_HEADER */