]> git.ipfire.org Git - thirdparty/grub.git/commit
ACPIhalt: Add more ACPI opcodes.
authorValentin Dornauer <valentin@unimplemented.org>
Sun, 21 Sep 2014 16:58:14 +0000 (18:58 +0200)
committerVladimir Serbinenko <phcoder@gmail.com>
Sun, 21 Sep 2014 16:58:14 +0000 (18:58 +0200)
commit0f1f95c7b7bc72cfbeea2f6dc5986855738ad96d
tree785404666aabf0f8438cfdcc46d1c68f1babd331
parent41c6f91fce842b6c9565b8a61bf6289ba0f5cd6a
ACPIhalt: Add more ACPI opcodes.

The AML parser implements only a small subset of possible AML
opcodes. On the Fujitsu Lifebook E744 this and another bug in
the parser (incorrect handling of TermArg data types) would lead
to the laptop not turning off (_S5 not found).

* grub-core/commands/acpihalt.c: Support OpAlias in the AML parser;
in skip_ext_op(), handle some Type2Opcodes more correctly (TermArgs
aren't always simply strings!); Add function to skip TermArgs
* include/grub/acpi.h: Add new opcodes
ChangeLog
grub-core/commands/acpihalt.c
include/grub/acpi.h