aml-build.h (ca3d87d4c84032f19478010b5604cac88b045c25) aml-build.h (fb9f592623b0f9bb82a88d68d7921fb581918ef5)
1#ifndef HW_ACPI_AML_BUILD_H
2#define HW_ACPI_AML_BUILD_H
3
4#include "hw/acpi/acpi-defs.h"
5#include "hw/acpi/bios-linker-loader.h"
6
7/* Reserve RAM space for tables: add another order of magnitude. */
8#define ACPI_BUILD_TABLE_MAX_SIZE 0x200000

--- 353 unchanged lines hidden (view full) ---

362Aml *aml_touuid(const char *uuid);
363Aml *aml_unicode(const char *str);
364Aml *aml_refof(Aml *arg);
365Aml *aml_derefof(Aml *arg);
366Aml *aml_sizeof(Aml *arg);
367Aml *aml_concatenate(Aml *source1, Aml *source2, Aml *target);
368Aml *aml_object_type(Aml *object);
369
1#ifndef HW_ACPI_AML_BUILD_H
2#define HW_ACPI_AML_BUILD_H
3
4#include "hw/acpi/acpi-defs.h"
5#include "hw/acpi/bios-linker-loader.h"
6
7/* Reserve RAM space for tables: add another order of magnitude. */
8#define ACPI_BUILD_TABLE_MAX_SIZE 0x200000

--- 353 unchanged lines hidden (view full) ---

362Aml *aml_touuid(const char *uuid);
363Aml *aml_unicode(const char *str);
364Aml *aml_refof(Aml *arg);
365Aml *aml_derefof(Aml *arg);
366Aml *aml_sizeof(Aml *arg);
367Aml *aml_concatenate(Aml *source1, Aml *source2, Aml *target);
368Aml *aml_object_type(Aml *object);
369
370void build_append_int_noprefix(GArray *table, uint64_t value, int size);
370void
371build_header(BIOSLinker *linker, GArray *table_data,
372 AcpiTableHeader *h, const char *sig, int len, uint8_t rev,
373 const char *oem_id, const char *oem_table_id);
374void *acpi_data_push(GArray *table_data, unsigned size);
375unsigned acpi_data_len(GArray *table);
376void acpi_add_table(GArray *table_offsets, GArray *table_data);
377void acpi_build_tables_init(AcpiBuildTables *tables);

--- 13 unchanged lines hidden ---
371void
372build_header(BIOSLinker *linker, GArray *table_data,
373 AcpiTableHeader *h, const char *sig, int len, uint8_t rev,
374 const char *oem_id, const char *oem_table_id);
375void *acpi_data_push(GArray *table_data, unsigned size);
376unsigned acpi_data_len(GArray *table);
377void acpi_add_table(GArray *table_offsets, GArray *table_data);
378void acpi_build_tables_init(AcpiBuildTables *tables);

--- 13 unchanged lines hidden ---