diff options
Diffstat (limited to 'drivers/acpi/apei/apei-internal.h')
-rw-r--r-- | drivers/acpi/apei/apei-internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/apei/apei-internal.h b/drivers/acpi/apei/apei-internal.h index f57050e7a5e7..cca240a33038 100644 --- a/drivers/acpi/apei/apei-internal.h +++ b/drivers/acpi/apei/apei-internal.h | |||
@@ -68,6 +68,9 @@ static inline int apei_exec_run_optional(struct apei_exec_context *ctx, u8 actio | |||
68 | /* IP has been set in instruction function */ | 68 | /* IP has been set in instruction function */ |
69 | #define APEI_EXEC_SET_IP 1 | 69 | #define APEI_EXEC_SET_IP 1 |
70 | 70 | ||
71 | int apei_read(u64 *val, struct acpi_generic_address *reg); | ||
72 | int apei_write(u64 val, struct acpi_generic_address *reg); | ||
73 | |||
71 | int __apei_exec_read_register(struct acpi_whea_header *entry, u64 *val); | 74 | int __apei_exec_read_register(struct acpi_whea_header *entry, u64 *val); |
72 | int __apei_exec_write_register(struct acpi_whea_header *entry, u64 val); | 75 | int __apei_exec_write_register(struct acpi_whea_header *entry, u64 val); |
73 | int apei_exec_read_register(struct apei_exec_context *ctx, | 76 | int apei_exec_read_register(struct apei_exec_context *ctx, |
@@ -95,6 +98,9 @@ static inline void apei_resources_init(struct apei_resources *resources) | |||
95 | } | 98 | } |
96 | 99 | ||
97 | void apei_resources_fini(struct apei_resources *resources); | 100 | void apei_resources_fini(struct apei_resources *resources); |
101 | int apei_resources_add(struct apei_resources *resources, | ||
102 | unsigned long start, unsigned long size, | ||
103 | bool iomem); | ||
98 | int apei_resources_sub(struct apei_resources *resources1, | 104 | int apei_resources_sub(struct apei_resources *resources1, |
99 | struct apei_resources *resources2); | 105 | struct apei_resources *resources2); |
100 | int apei_resources_request(struct apei_resources *resources, | 106 | int apei_resources_request(struct apei_resources *resources, |