aml-build.h (d0dddab40e472ba62b5f43f11cc7dba085dabe71) aml-build.h (910e4069710d854757c8fe8921dcff5b62dcd960)
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

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

296Aml *aml_name_decl(const char *name, Aml *val);
297Aml *aml_debug(void);
298Aml *aml_return(Aml *val);
299Aml *aml_int(const uint64_t val);
300Aml *aml_arg(int pos);
301Aml *aml_to_integer(Aml *arg);
302Aml *aml_to_hexstring(Aml *src, Aml *dst);
303Aml *aml_to_buffer(Aml *src, Aml *dst);
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

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

296Aml *aml_name_decl(const char *name, Aml *val);
297Aml *aml_debug(void);
298Aml *aml_return(Aml *val);
299Aml *aml_int(const uint64_t val);
300Aml *aml_arg(int pos);
301Aml *aml_to_integer(Aml *arg);
302Aml *aml_to_hexstring(Aml *src, Aml *dst);
303Aml *aml_to_buffer(Aml *src, Aml *dst);
304Aml *aml_to_decimalstring(Aml *src, Aml *dst);
304Aml *aml_store(Aml *val, Aml *target);
305Aml *aml_and(Aml *arg1, Aml *arg2, Aml *dst);
306Aml *aml_or(Aml *arg1, Aml *arg2, Aml *dst);
307Aml *aml_land(Aml *arg1, Aml *arg2);
308Aml *aml_lor(Aml *arg1, Aml *arg2);
309Aml *aml_shiftleft(Aml *arg1, Aml *count);
310Aml *aml_shiftright(Aml *arg1, Aml *count, Aml *dst);
311Aml *aml_lless(Aml *arg1, Aml *arg2);

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

318Aml *aml_break(void);
319Aml *aml_call0(const char *method);
320Aml *aml_call1(const char *method, Aml *arg1);
321Aml *aml_call2(const char *method, Aml *arg1, Aml *arg2);
322Aml *aml_call3(const char *method, Aml *arg1, Aml *arg2, Aml *arg3);
323Aml *aml_call4(const char *method, Aml *arg1, Aml *arg2, Aml *arg3, Aml *arg4);
324Aml *aml_call5(const char *method, Aml *arg1, Aml *arg2, Aml *arg3, Aml *arg4,
325 Aml *arg5);
305Aml *aml_store(Aml *val, Aml *target);
306Aml *aml_and(Aml *arg1, Aml *arg2, Aml *dst);
307Aml *aml_or(Aml *arg1, Aml *arg2, Aml *dst);
308Aml *aml_land(Aml *arg1, Aml *arg2);
309Aml *aml_lor(Aml *arg1, Aml *arg2);
310Aml *aml_shiftleft(Aml *arg1, Aml *count);
311Aml *aml_shiftright(Aml *arg1, Aml *count, Aml *dst);
312Aml *aml_lless(Aml *arg1, Aml *arg2);

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

319Aml *aml_break(void);
320Aml *aml_call0(const char *method);
321Aml *aml_call1(const char *method, Aml *arg1);
322Aml *aml_call2(const char *method, Aml *arg1, Aml *arg2);
323Aml *aml_call3(const char *method, Aml *arg1, Aml *arg2, Aml *arg3);
324Aml *aml_call4(const char *method, Aml *arg1, Aml *arg2, Aml *arg3, Aml *arg4);
325Aml *aml_call5(const char *method, Aml *arg1, Aml *arg2, Aml *arg3, Aml *arg4,
326 Aml *arg5);
327Aml *aml_call6(const char *method, Aml *arg1, Aml *arg2, Aml *arg3, Aml *arg4,
328 Aml *arg5, Aml *arg6);
326Aml *aml_gpio_int(AmlConsumerAndProducer con_and_pro,
327 AmlLevelAndEdge edge_level,
328 AmlActiveHighAndLow active_level, AmlShared shared,
329 AmlPinConfig pin_config, uint16_t debounce_timeout,
330 const uint32_t pin_list[], uint32_t pin_count,
331 const char *resource_source_name,
332 const uint8_t *vendor_data, uint16_t vendor_data_len);
333Aml *aml_memory32_fixed(uint32_t addr, uint32_t size,

--- 137 unchanged lines hidden ---
329Aml *aml_gpio_int(AmlConsumerAndProducer con_and_pro,
330 AmlLevelAndEdge edge_level,
331 AmlActiveHighAndLow active_level, AmlShared shared,
332 AmlPinConfig pin_config, uint16_t debounce_timeout,
333 const uint32_t pin_list[], uint32_t pin_count,
334 const char *resource_source_name,
335 const uint8_t *vendor_data, uint16_t vendor_data_len);
336Aml *aml_memory32_fixed(uint32_t addr, uint32_t size,

--- 137 unchanged lines hidden ---