mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 21:16:40 +07:00
ACPICA: Renamed some #defined flag constants for clarity
ACPICA commit 438905b205e64e742f9670a0970419c426264831 Expanded a couple of cryptic names. Link: https://github.com/acpica/acpica/commit/438905b2 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>
This commit is contained in:
parent
14f9857909
commit
5391abfdae
@ -856,24 +856,24 @@ struct acpi_parse_state {
|
|||||||
|
|
||||||
/* Parse object flags */
|
/* Parse object flags */
|
||||||
|
|
||||||
#define ACPI_PARSEOP_GENERIC 0x01
|
#define ACPI_PARSEOP_GENERIC 0x01
|
||||||
#define ACPI_PARSEOP_NAMED 0x02
|
#define ACPI_PARSEOP_NAMED_OBJECT 0x02
|
||||||
#define ACPI_PARSEOP_DEFERRED 0x04
|
#define ACPI_PARSEOP_DEFERRED 0x04
|
||||||
#define ACPI_PARSEOP_BYTELIST 0x08
|
#define ACPI_PARSEOP_BYTELIST 0x08
|
||||||
#define ACPI_PARSEOP_IN_STACK 0x10
|
#define ACPI_PARSEOP_IN_STACK 0x10
|
||||||
#define ACPI_PARSEOP_TARGET 0x20
|
#define ACPI_PARSEOP_TARGET 0x20
|
||||||
#define ACPI_PARSEOP_IN_CACHE 0x80
|
#define ACPI_PARSEOP_IN_CACHE 0x80
|
||||||
|
|
||||||
/* Parse object disasm_flags */
|
/* Parse object disasm_flags */
|
||||||
|
|
||||||
#define ACPI_PARSEOP_IGNORE 0x01
|
#define ACPI_PARSEOP_IGNORE 0x01
|
||||||
#define ACPI_PARSEOP_PARAMLIST 0x02
|
#define ACPI_PARSEOP_PARAMETER_LIST 0x02
|
||||||
#define ACPI_PARSEOP_EMPTY_TERMLIST 0x04
|
#define ACPI_PARSEOP_EMPTY_TERMLIST 0x04
|
||||||
#define ACPI_PARSEOP_PREDEF_CHECKED 0x08
|
#define ACPI_PARSEOP_PREDEFINED_CHECKED 0x08
|
||||||
#define ACPI_PARSEOP_CLOSING_PAREN 0x10
|
#define ACPI_PARSEOP_CLOSING_PAREN 0x10
|
||||||
#define ACPI_PARSEOP_COMPOUND 0x20
|
#define ACPI_PARSEOP_COMPOUND_ASSIGNMENT 0x20
|
||||||
#define ACPI_PARSEOP_ASSIGNMENT 0x40
|
#define ACPI_PARSEOP_ASSIGNMENT 0x40
|
||||||
#define ACPI_PARSEOP_ELSEIF 0x80
|
#define ACPI_PARSEOP_ELSEIF 0x80
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
|
@ -128,7 +128,7 @@ union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml)
|
|||||||
if (op_info->flags & AML_DEFER) {
|
if (op_info->flags & AML_DEFER) {
|
||||||
flags = ACPI_PARSEOP_DEFERRED;
|
flags = ACPI_PARSEOP_DEFERRED;
|
||||||
} else if (op_info->flags & AML_NAMED) {
|
} else if (op_info->flags & AML_NAMED) {
|
||||||
flags = ACPI_PARSEOP_NAMED;
|
flags = ACPI_PARSEOP_NAMED_OBJECT;
|
||||||
} else if (opcode == AML_INT_BYTELIST_OP) {
|
} else if (opcode == AML_INT_BYTELIST_OP) {
|
||||||
flags = ACPI_PARSEOP_BYTELIST;
|
flags = ACPI_PARSEOP_BYTELIST;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user