/* This function validates the Cache Type Structure (Type 1) Attributes field. */
STATIC VOID EFIAPI ValidateCacheAttributes(IN UINT8 *Ptr, IN VOID *Context)
/* This function validates the Cache Type Structure (Type 1) Attributes field. */
STATIC VOID EFIAPI ValidateCacheAttributes(IN UINT8 *Ptr, IN VOID *Context)
{
  UINT8  Attributes;
  Attributes = *(UINT8 *)Ptr;
  if ((Attributes & 0xE0) != 0) {
    IncrementErrorCount ();
    Print (
      L"\nERROR: Attributes bits [7:5] are reserved and must be zero.",
      Attributes
      );
    return;
  }
}