/* The small/large bit is included in the descriptor Id, but the size bits are not included for small resource data elements. */
AML_RD_HEADER EFIAPI AmlRdGetDescId(IN CONST AML_RD_HEADER *Header)
/* The small/large bit is included in the descriptor Id, but the size bits are not included for small resource data elements. */
AML_RD_HEADER EFIAPI AmlRdGetDescId(IN CONST AML_RD_HEADER *Header)
{
  if (Header == NULL) {
    ASSERT (0);
    return FALSE;
  }
  if (AML_RD_IS_LARGE (Header)) {
    return *Header;
  }
  return *Header & AML_RD_SMALL_ID_MASK;
}