uint64_t aml_bit_size_t
Represents a size in bits within an opregion.
uint64_t aml_def_create_field_read(aml_term_list_ctx_t *ctx)
Reads a DefCreateField structure from the AML byte stream.
uint64_t aml_def_opregion_read(aml_term_list_ctx_t *ctx)
Reads a DefOpRegion structure from the AML byte stream.
uint8_t aml_proc_id_t
ProcID structure, deprecated in version 6.4 of the ACPI specification.
uint64_t aml_def_device_read(aml_term_list_ctx_t *ctx)
Reads a DefDevice structure from the AML byte stream.
uint64_t aml_field_flags_read(aml_term_list_ctx_t *ctx, aml_field_flags_t *out)
Reads a FieldFlags structure from the AML byte stream.
uint64_t aml_reserved_field_read(aml_term_list_ctx_t *ctx, aml_field_list_ctx_t *fieldCtx)
Reads a ReservedField structure from the AML byte stream.
uint32_t aml_pblk_addr_t
PblkAddr structure, deprecated in version 6.4 of the ACPI specification.
uint64_t aml_def_index_field_read(aml_term_list_ctx_t *ctx)
Reads a DefIndexField structure from the AML byte stream.
uint64_t aml_def_field_read(aml_term_list_ctx_t *ctx)
Reads a DefField structure from the AML byte stream.
uint64_t aml_byte_index_read(aml_term_list_ctx_t *ctx, aml_integer_t *out)
Reads a ByteIndex structure from the AML byte stream.
aml_access_type_t
Enum for all field access types, bits 0-3 of FieldFlags.
uint64_t aml_def_create_byte_field_read(aml_term_list_ctx_t *ctx)
Reads a DefCreateByteField structure from the AML byte stream.
uint64_t aml_def_bank_field_read(aml_term_list_ctx_t *ctx)
Reads a DefBankField structure from the AML byte stream.
uint64_t aml_field_element_read(aml_term_list_ctx_t *ctx, aml_field_list_ctx_t *fieldCtx)
Reads a FieldElement structure from the AML byte stream.
uint64_t aml_sync_flags_read(aml_term_list_ctx_t *ctx, aml_sync_level_t *out)
Reads a SyncFlags structure from the AML byte stream.
uint64_t aml_def_thermal_zone_read(aml_term_list_ctx_t *ctx)
Reads a DefThermalZone structure from the AML byte stream.
aml_lock_rule_t
Enum for all field lock rules, bit 4 of FieldFlags.
uint64_t aml_region_space_read(aml_term_list_ctx_t *ctx, aml_region_space_t *out)
Reads a RegionSpace structure from the AML byte stream.
uint64_t aml_num_bits_read(aml_term_list_ctx_t *ctx, aml_integer_t *out)
Reads a NumBits structure from the AML byte stream.
uint64_t aml_def_create_dword_field_read(aml_term_list_ctx_t *ctx)
Reads a DefCreateDWordField structure from the AML byte stream.
uint64_t aml_def_data_region_read(aml_term_list_ctx_t *ctx)
Reads a DefDataRegion structure from the AML byte stream.
aml_update_rule_t
Enum for all field update rules, bits 5-6 of FieldFlags.
uint64_t aml_def_create_word_field_read(aml_term_list_ctx_t *ctx)
Reads a DefCreateWordField structure from the AML byte stream.
uint64_t aml_def_create_qword_field_read(aml_term_list_ctx_t *ctx)
Reads a DefCreateQWordField structure from the AML byte stream.
aml_field_list_type_t
Enum for all FieldList types.
uint64_t aml_name_field_read(aml_term_list_ctx_t *ctx, aml_field_list_ctx_t *fieldCtx)
Reads a NamedField structure from the AML byte stream.
uint64_t aml_system_level_read(aml_term_list_ctx_t *ctx, aml_system_level_t *out)
Reads a SystemLevel structure from the AML byte stream.
uint64_t aml_def_create_bit_field_read(aml_term_list_ctx_t *ctx)
Reads a DefCreateBitField structure from the AML byte stream.
uint8_t aml_system_level_t
SystemLevel structure.
uint64_t aml_def_method_read(aml_term_list_ctx_t *ctx)
Reads a DefMethod structure from the AML byte stream.
uint64_t aml_def_event_read(aml_term_list_ctx_t *ctx)
Reads a DefEvent structure from the AML byte stream.
uint64_t aml_named_obj_read(aml_term_list_ctx_t *ctx)
Reads a NamedObj structure from the AML byte stream.
uint8_t aml_pblk_len_t
PblkLen structure, deprecated in version 6.4 of the ACPI specification.
uint64_t aml_def_mutex_read(aml_term_list_ctx_t *ctx)
Reads a DefMutex structure from the AML byte stream.
uint64_t aml_proc_id_read(aml_term_list_ctx_t *ctx, aml_proc_id_t *out)
Reads a ProcID structure from the AML byte stream. Deprecated in ACPI 6.4 but still supported.
uint64_t aml_bit_index_read(aml_term_list_ctx_t *ctx, aml_integer_t *out)
Reads a BitIndex structure from the AML byte stream.
uint64_t aml_def_processor_read(aml_term_list_ctx_t *ctx)
Reads a DefProcessor structure from the AML byte stream. Deprecated in ACPI 6.4 but still supported.
aml_object_t * aml_source_buff_read(aml_term_list_ctx_t *ctx)
Reads a SourceBuff structure from the AML byte stream.
uint64_t aml_pblk_len_read(aml_term_list_ctx_t *ctx, aml_pblk_len_t *out)
Reads a PblkLen structure from the AML byte stream. Deprecated in ACPI 6.4 but still supported.
uint64_t aml_bank_value_read(aml_term_list_ctx_t *ctx, aml_integer_t *out)
Reads a BankValue structure from the AML byte stream.
aml_region_space_t
Region Space Encoding.
uint64_t aml_resource_order_read(aml_term_list_ctx_t *ctx, aml_resource_order_t *out)
Reads a ResourceOrder structure from the AML byte stream.
uint64_t aml_method_flags_read(aml_term_list_ctx_t *ctx, aml_method_flags_t *out)
Reads a MethodFlags structure from the AML byte stream.
uint16_t aml_resource_order_t
ResourceOrder structure.
uint64_t aml_def_power_res_read(aml_term_list_ctx_t *ctx)
Reads a DefPowerRes structure from the AML byte stream.
uint64_t aml_region_offset_read(aml_term_list_ctx_t *ctx, aml_integer_t *out)
Reads a RegionOffset structure from the AML byte stream.
uint64_t aml_region_len_read(aml_term_list_ctx_t *ctx, aml_integer_t *out)
Reads a RegionLen structure from the AML byte stream.
uint64_t aml_field_list_read(aml_term_list_ctx_t *ctx, aml_field_list_ctx_t *fieldCtx, const uint8_t *end)
Reads a FieldList structure from the AML byte stream.
uint64_t aml_pblk_addr_read(aml_term_list_ctx_t *ctx, aml_pblk_addr_t *out)
Reads a PblkAddr structure from the AML byte stream. Deprecated in ACPI 6.4 but still supported.
@ AML_UPDATE_RULE_PRESERVE
@ AML_UPDATE_RULE_WRITE_AS_ZEROS
@ AML_UPDATE_RULE_WRITE_AS_ONES
@ AML_FIELD_LIST_TYPE_FIELD
FieldList is part of a DefField.
@ AML_FIELD_LIST_TYPE_BANK_FIELD
FieldList is part of a BankField.
@ AML_FIELD_LIST_TYPE_INDEX_FIELD
FieldList is part of an IndexField.
@ AML_REGION_GENERIC_SERIAL_BUS
@ AML_REGION_PCI_BAR_TARGET
@ AML_REGION_GENERAL_PURPOSE_IO
@ AML_REGION_EMBEDDED_CONTROL
@ AML_REGION_SYSTEM_MEMORY
uint64_t aml_integer_t
AML Integer type.
static block_t field[FIELD_HEIGHT][FIELD_WIDTH]
aml_access_type_t accessType
aml_update_rule_t updateRule
Context passed to lower functions by aml_field_list_read().
aml_field_unit_obj_t * bank
aml_field_flags_t flags
The flags of the FieldList.
aml_bit_size_t currentOffset
The current offset within the opregion.
aml_opregion_obj_t * opregion
aml_field_unit_obj_t * index
aml_field_list_type_t type
The type of FieldList.
aml_field_unit_obj_t * data
Data for a field unit object.
bool isSerialized
true if method is serialized, false if not
uint8_t argCount
Amount of arguments (0-7)
aml_sync_level_t syncLevel
Synchronization level (0-15)
Data for an operation region object.
Context for reading a TermList.