14#ifndef AML_RESOURCE_DATA_H_
15#define AML_RESOURCE_DATA_H_
61#define AML_RD_SMALL_SIZE_MASK (0x7U)
67#define AML_RD_SMALL_ID_MASK (0xFU << 3)
73#define AML_RD_LARGE_ID_MASK (0x7FU)
92#define AML_RD_IS_LARGE(Header) \
93 (((ACPI_SMALL_RESOURCE_HEADER*)Header)->Bits.Type == \
106#define AML_RD_BUILD_SMALL_DESC_ID(Id) ((AML_RD_HEADER)((Id & 0xF) << 3))
117#define AML_RD_BUILD_LARGE_DESC_ID(Id) ((AML_RD_HEADER)((BIT7) | Id))
EFI_STATUS EFIAPI AmlRdSetEndTagChecksum(IN CONST AML_RD_HEADER *Header, IN UINT8 CheckSum)
UINT32 EFIAPI AmlRdGetSize(IN CONST AML_RD_HEADER *Header)
AML_RD_HEADER EFIAPI AmlRdGetDescId(IN CONST AML_RD_HEADER *Header)
BOOLEAN EFIAPI AmlRdCompareDescId(IN CONST AML_RD_HEADER *Header, IN AML_RD_HEADER DescriptorId)