diff options
| author | Andrei Borzenkov <arvidjaar@gmail.com> | 2016-01-02 21:33:18 +0300 |
|---|---|---|
| committer | Andrei Borzenkov <arvidjaar@gmail.com> | 2016-01-02 21:33:18 +0300 |
| commit | aa7bb4607bb799b2790ea008bcfd8d6ca0a6d752 (patch) | |
| tree | a7090c46b5c6fab6dd716b7aa5746304f63bd1b0 | |
| parent | 19554a6034edfc333143fd7dc4842429a64bbd2d (diff) | |
| download | grub-aa7bb4607bb799b2790ea008bcfd8d6ca0a6d752.tar.gz | |
acpihalt: add GRUB_ACPI_OPCODE_CREATE_DWORD_FIELD (0x8a)
Fixes ACPI halt on ASUSTeK P8B75-V,
Bios: American Megatrends v: 0414 date: 04/24/2012
Reported-By: Goh Lip <g.lip@gmx.com>
| -rw-r--r-- | grub-core/commands/acpihalt.c | 1 | ||||
| -rw-r--r-- | include/grub/acpi.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/grub-core/commands/acpihalt.c b/grub-core/commands/acpihalt.c index 412a9c9..9cc7f18 100644 --- a/grub-core/commands/acpihalt.c +++ b/grub-core/commands/acpihalt.c @@ -248,6 +248,7 @@ get_sleep_type (grub_uint8_t *table, grub_uint8_t *ptr, grub_uint8_t *end, if (!add) return -1; break; + case GRUB_ACPI_OPCODE_CREATE_DWORD_FIELD: case GRUB_ACPI_OPCODE_CREATE_WORD_FIELD: case GRUB_ACPI_OPCODE_CREATE_BYTE_FIELD: { diff --git a/include/grub/acpi.h b/include/grub/acpi.h index 10bfbd2..a4224e0 100644 --- a/include/grub/acpi.h +++ b/include/grub/acpi.h @@ -221,9 +221,10 @@ enum GRUB_ACPI_OPCODE_CONCATRES = 0x84, GRUB_ACPI_OPCODE_MOD = 0x85, GRUB_ACPI_OPCODE_INDEX = 0x88, - GRUB_ACPI_OPCODE_TOSTRING = 0x9c, + GRUB_ACPI_OPCODE_CREATE_DWORD_FIELD = 0x8a, GRUB_ACPI_OPCODE_CREATE_WORD_FIELD = 0x8b, GRUB_ACPI_OPCODE_CREATE_BYTE_FIELD = 0x8c, + GRUB_ACPI_OPCODE_TOSTRING = 0x9c, GRUB_ACPI_OPCODE_IF = 0xa0, GRUB_ACPI_OPCODE_ONES = 0xff }; enum |
