Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba494bee authored by Bob Moore's avatar Bob Moore Committed by Len Brown
Browse files

ACPICA: AcpiSrc: Fix some translation issues for Linux conversion



Fixes issues like this:

i_aSL -> iASL
00-7_f -> 00-7F
local_fADT -> local_FADT
execute_oSI -> execute_OSI

Also, in function headers, the parameters are now translated to
lower case (with underscores if necessary.)

Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 75e7386b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ u32 acpi_ev_install_sci_handler(void);

acpi_status acpi_ev_remove_sci_handler(void);

u32 acpi_ev_initialize_sCI(u32 program_sCI);
u32 acpi_ev_initialize_SCI(u32 program_SCI);

ACPI_HW_DEPENDENT_RETURN_VOID(void acpi_ev_terminate(void))
#endif				/* __ACEVENTS_H__  */
+2 −2
Original line number Diff line number Diff line
@@ -299,7 +299,7 @@ acpi_status(*ACPI_INTERNAL_METHOD) (struct acpi_walk_state * walk_state);
 * Information structure for ACPI predefined names.
 * Each entry in the table contains the following items:
 *
 * Name                 - The ACPI reserved name
 * name                 - The ACPI reserved name
 * param_count          - Number of arguments to the method
 * expected_return_btypes - Allowed type(s) for the return value
 */
@@ -734,7 +734,7 @@ struct acpi_parse_obj_named {
	u32 name;		/* 4-byte name or zero if no name */
};

/* This version is used by the i_aSL compiler only */
/* This version is used by the iASL compiler only */

#define ACPI_MAX_PARSEOP_NAME   20

+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@
 * printf() format helpers
 */

/* Split 64-bit integer into two 32-bit values. Use with %8.8_x%8.8_x */
/* Split 64-bit integer into two 32-bit values. Use with %8.8X%8.8X */

#define ACPI_FORMAT_UINT64(i)           ACPI_HIDWORD(i), ACPI_LODWORD(i)

+1 −1
Original line number Diff line number Diff line
@@ -381,7 +381,7 @@ struct acpi_object_cache_list {

/******************************************************************************
 *
 * union acpi_operand_object Descriptor - a giant union of all of the above
 * union acpi_operand_object descriptor - a giant union of all of the above
 *
 *****************************************************************************/

+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ enum acpi_return_package_types {
 *
 * The main entries in the table each contain the following items:
 *
 * Name                 - The ACPI reserved name
 * name                 - The ACPI reserved name
 * param_count          - Number of arguments to the method
 * expected_btypes      - Allowed type(s) for the return value.
 *                        0 means that no return value is expected.
Loading