Skip to content

Commit 5d2f7e7

Browse files
zaidal-ampererafaeljw
authored andcommitted
ACPICA: actbl1: Update values to hex to follow ACPI specs
ACPICA commit 0b44ed75fb551bf3fbbbd39ca72bd932872fff20 ACPI specs(1) define Error Injection Actions in hex values. This commit intends to update values from decimal to hex to be consistent with ACPI specs. Link: https://uefi.org/specs/ACPI/6.5/18_Platform_Error_Interfaces.html (1) Link: acpica/acpica@0b44ed75 Signed-off-by: Zaid Alali <zaidal@os.amperecomputing.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/13729719.uLZWGnKmhe@rjwysocki.net
1 parent a05cea3 commit 5d2f7e7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

include/acpi/actbl1.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,17 +1024,17 @@ struct acpi_einj_entry {
10241024
/* Values for Action field above */
10251025

10261026
enum acpi_einj_actions {
1027-
ACPI_EINJ_BEGIN_OPERATION = 0,
1028-
ACPI_EINJ_GET_TRIGGER_TABLE = 1,
1029-
ACPI_EINJ_SET_ERROR_TYPE = 2,
1030-
ACPI_EINJ_GET_ERROR_TYPE = 3,
1031-
ACPI_EINJ_END_OPERATION = 4,
1032-
ACPI_EINJ_EXECUTE_OPERATION = 5,
1033-
ACPI_EINJ_CHECK_BUSY_STATUS = 6,
1034-
ACPI_EINJ_GET_COMMAND_STATUS = 7,
1035-
ACPI_EINJ_SET_ERROR_TYPE_WITH_ADDRESS = 8,
1036-
ACPI_EINJ_GET_EXECUTE_TIMINGS = 9,
1037-
ACPI_EINJ_ACTION_RESERVED = 10, /* 10 and greater are reserved */
1027+
ACPI_EINJ_BEGIN_OPERATION = 0x0,
1028+
ACPI_EINJ_GET_TRIGGER_TABLE = 0x1,
1029+
ACPI_EINJ_SET_ERROR_TYPE = 0x2,
1030+
ACPI_EINJ_GET_ERROR_TYPE = 0x3,
1031+
ACPI_EINJ_END_OPERATION = 0x4,
1032+
ACPI_EINJ_EXECUTE_OPERATION = 0x5,
1033+
ACPI_EINJ_CHECK_BUSY_STATUS = 0x6,
1034+
ACPI_EINJ_GET_COMMAND_STATUS = 0x7,
1035+
ACPI_EINJ_SET_ERROR_TYPE_WITH_ADDRESS = 0x8,
1036+
ACPI_EINJ_GET_EXECUTE_TIMINGS = 0x9,
1037+
ACPI_EINJ_ACTION_RESERVED = 0xA, /* 10 and greater are reserved */
10381038
ACPI_EINJ_TRIGGER_ERROR = 0xFF /* Except for this value */
10391039
};
10401040

0 commit comments

Comments
 (0)