PatchworkOS
Loading...
Searching...
No Matches
package_length.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdint.h>
4
5typedef struct aml_object aml_object_t;
6typedef struct aml_term_list_ctx aml_term_list_ctx_t;
7
22
34
48
65
uint32_t aml_pkg_length_t
PkgLength structure.
uint64_t aml_pkg_length_read(aml_term_list_ctx_t *ctx, aml_pkg_length_t *out)
Reads a PkgLength structure from the AML byte stream.
uint64_t aml_pkg_lead_byte_read(aml_term_list_ctx_t *ctx, aml_pkg_lead_byte_t *out)
Reads a PkgLeadByte structure from the AML byte stream.
__UINT32_TYPE__ uint32_t
Definition stdint.h:15
__UINT64_TYPE__ uint64_t
Definition stdint.h:17
__UINT8_TYPE__ uint8_t
Definition stdint.h:11
ACPI object.
Definition object.h:425
PkgLeadByte structure.
uint8_t byteDataCount
Amount of ByteData structures that come after the lead byte.
uint8_t leastSignificantNybble
Least significant nybble of the package length.
Context for reading a TermList.
Definition term.h:37