ACPICA: Add infrastructure for External() opcode.
ACPICA commit d115fe2ffdab449d6107d58580c5afd0a81d65fe This change adds the basic low-level infrastructure for the External AML opcode. The interpreter will simply ignore this op, as the op is intended for use by the disassembler only. Note that External() opcode is useful for disassembler, interpreter can simply ignore it and still return exceptions for unknown control methods so the kernel part only includes the grammar definition of External() opcode in order to ignore it but doesn't interpret it. Link: https://github.com/acpica/acpica/commit/d115fe2f Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Este cometimento está contido em:

cometido por
Rafael J. Wysocki

ascendente
2e7cc46a0f
cometimento
56a3d5e755
@@ -114,7 +114,18 @@ acpi_status acpi_ex_opcode_3A_0T_0R(struct acpi_walk_state *walk_state)
|
||||
/* Might return while OS is shutting down, just continue */
|
||||
|
||||
ACPI_FREE(fatal);
|
||||
break;
|
||||
goto cleanup;
|
||||
|
||||
case AML_EXTERNAL_OP:
|
||||
/*
|
||||
* If the interpreter sees this opcode, just ignore it. The External
|
||||
* op is intended for use by disassemblers in order to properly
|
||||
* disassemble control method invocations. The opcode or group of
|
||||
* opcodes should be surrounded by an "if (0)" clause to ensure that
|
||||
* AML interpreters never see the opcode.
|
||||
*/
|
||||
status = AE_OK;
|
||||
goto cleanup;
|
||||
|
||||
default:
|
||||
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador