/* Check whether the register table is empty or not. */
BOOLEAN IsRegisterTableEmpty(IN CPU_REGISTER_TABLE *RegisterTable, IN UINT32 NumberOfCpus)
/* Check whether the register table is empty or not. */
BOOLEAN IsRegisterTableEmpty(IN CPU_REGISTER_TABLE *RegisterTable, IN UINT32 NumberOfCpus)
{
  UINTN  Index;
  if (RegisterTable != NULL) {
    for (Index = 0; Index < NumberOfCpus; Index++) {
      if (RegisterTable[Index].TableLength != 0) {
        return FALSE;
      }
    }
  }
  return TRUE;
}