]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - include/acpi/acpi_table.h
acpi: Move acpi_add_table() to generic code
[thirdparty/u-boot.git] / include / acpi / acpi_table.h
index 6fd4c5241a589f6b247e9355947bd3234a5dae20..55349c0bb63ca7210f83649e044df1c541731892 100644 (file)
@@ -551,6 +551,15 @@ void acpi_inc(struct acpi_ctx *ctx, uint amount);
  */
 void acpi_inc_align(struct acpi_ctx *ctx, uint amount);
 
+/**
+ * acpi_add_table() - Add a new table to the RSDP and XSDT
+ *
+ * @ctx: ACPI context
+ * @table: Table to add
+ * @return 0 if OK, -E2BIG if too many tables
+ */
+int acpi_add_table(struct acpi_ctx *ctx, void *table);
+
 #endif /* !__ACPI__*/
 
 #include <asm/acpi_table.h>