/* This function validates the Cache Type Structure (Type 1) 'Associativity' field. */
STATIC VOID EFIAPI ValidateCacheAssociativity(IN UINT8 *Ptr, IN VOID *Context)
/* This function validates the Cache Type Structure (Type 1) 'Associativity' field. */
STATIC VOID EFIAPI ValidateCacheAssociativity(IN UINT8 *Ptr, IN VOID *Context)
{
  UINT8  Associativity;
  Associativity = *(UINT8 *)Ptr;
  if (Associativity == 0) {
    IncrementErrorCount ();
    Print (L"\nERROR: Cache associativity must be greater than 0");
    return;
  }
}