Skip to content

Commit

Permalink
ACPICA: Split large interpreter file
Browse files Browse the repository at this point in the history
New file: exserial.c

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Oct 4, 2018
1 parent e324e10 commit 9e9f873
Show file tree
Hide file tree
Showing 4 changed files with 381 additions and 364 deletions.
1 change: 1 addition & 0 deletions drivers/acpi/acpica/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ acpi-y += \
exresnte.o \
exresolv.o \
exresop.o \
exserial.o \
exstore.o \
exstoren.o \
exstorob.o \
Expand Down
20 changes: 20 additions & 0 deletions drivers/acpi/acpica/acinterp.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,26 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc,

acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info);

/*
* exserial - field_unit support for serial address spaces
*/
acpi_status
acpi_ex_read_serial_bus(union acpi_operand_object *obj_desc,
union acpi_operand_object **return_buffer);

acpi_status
acpi_ex_write_serial_bus(union acpi_operand_object *source_desc,
union acpi_operand_object *obj_desc,
union acpi_operand_object **return_buffer);

acpi_status
acpi_ex_read_gpio(union acpi_operand_object *obj_desc, void *buffer);

acpi_status
acpi_ex_write_gpio(union acpi_operand_object *source_desc,
union acpi_operand_object *obj_desc,
union acpi_operand_object **return_buffer);

/*
* exsystem - Interface to OS services
*/
Expand Down
Loading

0 comments on commit 9e9f873

Please sign in to comment.