diff options
Diffstat (limited to 'include/acpi/actables.h')
-rw-r--r-- | include/acpi/actables.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/include/acpi/actables.h b/include/acpi/actables.h index 4b36a55b0b3b..0cbe1b9ab522 100644 --- a/include/acpi/actables.h +++ b/include/acpi/actables.h | |||
@@ -49,7 +49,7 @@ acpi_status acpi_allocate_root_table(u32 initial_table_count); | |||
49 | /* | 49 | /* |
50 | * tbfadt - FADT parse/convert/validate | 50 | * tbfadt - FADT parse/convert/validate |
51 | */ | 51 | */ |
52 | void acpi_tb_parse_fadt(acpi_native_uint table_index, u8 flags); | 52 | void acpi_tb_parse_fadt(u32 table_index, u8 flags); |
53 | 53 | ||
54 | void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length); | 54 | void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length); |
55 | 55 | ||
@@ -58,8 +58,7 @@ void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length); | |||
58 | */ | 58 | */ |
59 | acpi_status | 59 | acpi_status |
60 | acpi_tb_find_table(char *signature, | 60 | acpi_tb_find_table(char *signature, |
61 | char *oem_id, | 61 | char *oem_id, char *oem_table_id, u32 *table_index); |
62 | char *oem_table_id, acpi_native_uint * table_index); | ||
63 | 62 | ||
64 | /* | 63 | /* |
65 | * tbinstal - Table removal and deletion | 64 | * tbinstal - Table removal and deletion |
@@ -69,30 +68,28 @@ acpi_status acpi_tb_resize_root_table_list(void); | |||
69 | acpi_status acpi_tb_verify_table(struct acpi_table_desc *table_desc); | 68 | acpi_status acpi_tb_verify_table(struct acpi_table_desc *table_desc); |
70 | 69 | ||
71 | acpi_status | 70 | acpi_status |
72 | acpi_tb_add_table(struct acpi_table_desc *table_desc, | 71 | acpi_tb_add_table(struct acpi_table_desc *table_desc, u32 *table_index); |
73 | acpi_native_uint * table_index); | ||
74 | 72 | ||
75 | acpi_status | 73 | acpi_status |
76 | acpi_tb_store_table(acpi_physical_address address, | 74 | acpi_tb_store_table(acpi_physical_address address, |
77 | struct acpi_table_header *table, | 75 | struct acpi_table_header *table, |
78 | u32 length, u8 flags, acpi_native_uint * table_index); | 76 | u32 length, u8 flags, u32 *table_index); |
79 | 77 | ||
80 | void acpi_tb_delete_table(struct acpi_table_desc *table_desc); | 78 | void acpi_tb_delete_table(struct acpi_table_desc *table_desc); |
81 | 79 | ||
82 | void acpi_tb_terminate(void); | 80 | void acpi_tb_terminate(void); |
83 | 81 | ||
84 | void acpi_tb_delete_namespace_by_owner(acpi_native_uint table_index); | 82 | void acpi_tb_delete_namespace_by_owner(u32 table_index); |
85 | 83 | ||
86 | acpi_status acpi_tb_allocate_owner_id(acpi_native_uint table_index); | 84 | acpi_status acpi_tb_allocate_owner_id(u32 table_index); |
87 | 85 | ||
88 | acpi_status acpi_tb_release_owner_id(acpi_native_uint table_index); | 86 | acpi_status acpi_tb_release_owner_id(u32 table_index); |
89 | 87 | ||
90 | acpi_status | 88 | acpi_status acpi_tb_get_owner_id(u32 table_index, acpi_owner_id *owner_id); |
91 | acpi_tb_get_owner_id(acpi_native_uint table_index, acpi_owner_id * owner_id); | ||
92 | 89 | ||
93 | u8 acpi_tb_is_table_loaded(acpi_native_uint table_index); | 90 | u8 acpi_tb_is_table_loaded(u32 table_index); |
94 | 91 | ||
95 | void acpi_tb_set_table_loaded_flag(acpi_native_uint table_index, u8 is_loaded); | 92 | void acpi_tb_set_table_loaded_flag(u32 table_index, u8 is_loaded); |
96 | 93 | ||
97 | /* | 94 | /* |
98 | * tbutils - table manager utilities | 95 | * tbutils - table manager utilities |
@@ -103,14 +100,14 @@ void | |||
103 | acpi_tb_print_table_header(acpi_physical_address address, | 100 | acpi_tb_print_table_header(acpi_physical_address address, |
104 | struct acpi_table_header *header); | 101 | struct acpi_table_header *header); |
105 | 102 | ||
106 | u8 acpi_tb_checksum(u8 * buffer, acpi_native_uint length); | 103 | u8 acpi_tb_checksum(u8 *buffer, u32 length); |
107 | 104 | ||
108 | acpi_status | 105 | acpi_status |
109 | acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length); | 106 | acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length); |
110 | 107 | ||
111 | void | 108 | void |
112 | acpi_tb_install_table(acpi_physical_address address, | 109 | acpi_tb_install_table(acpi_physical_address address, |
113 | u8 flags, char *signature, acpi_native_uint table_index); | 110 | u8 flags, char *signature, u32 table_index); |
114 | 111 | ||
115 | acpi_status | 112 | acpi_status |
116 | acpi_tb_parse_root_table(acpi_physical_address rsdp_address, u8 flags); | 113 | acpi_tb_parse_root_table(acpi_physical_address rsdp_address, u8 flags); |