/* Get the total number of logical processors in the platform. */
UINT32 CpuCacheInfoGetNumberOfProcessors(IN MP_SERVICES MpServices)
/* Get the total number of logical processors in the platform. */
UINT32 CpuCacheInfoGetNumberOfProcessors(IN MP_SERVICES MpServices)
{
  EFI_STATUS  Status;
  UINTN       NumberOfProcessor;
  UINTN       NumberOfEnabledProcessor;
  Status = MpServices.Protocol->GetNumberOfProcessors (MpServices.Protocol, &NumberOfProcessor, &NumberOfEnabledProcessor);
  ASSERT_EFI_ERROR (Status);
  return (UINT32)NumberOfProcessor;
}