tools: amldecode: add parsing support for more AML opcodes

This commit is contained in:
2023-07-22 17:57:20 +01:00
parent d08612f7db
commit d66f0df2c2
5 changed files with 613 additions and 183 deletions

View File

@@ -36,6 +36,10 @@ static inline bool aml_value_is_integer(const struct aml_value *value)
{
return value->type == AML_VALUE_UINT8 || value->type == AML_VALUE_UINT16 || value->type == AML_VALUE_UINT32 || value->type == AML_VALUE_UINT64;
}
static inline bool aml_value_is_name(const struct aml_value *value)
{
return value->type == AML_VALUE_NAME;
}
extern uint64_t aml_value_get_integer(const struct aml_value *value);
extern void aml_value_destroy(struct aml_value *value);