/* Service to retrieves the number of logical processor in the platform. */
EFI_STATUS EFIAPI SmmMpGetNumberOfProcessors(IN CONST EFI_MM_MP_PROTOCOL *This, OUT UINTN *NumberOfProcessors)
/* Service to retrieves the number of logical processor in the platform. */
EFI_STATUS EFIAPI SmmMpGetNumberOfProcessors(IN CONST EFI_MM_MP_PROTOCOL *This, OUT UINTN *NumberOfProcessors)
{
  if (NumberOfProcessors == NULL) {
    return EFI_INVALID_PARAMETER;
  }
  *NumberOfProcessors = gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus;
  return EFI_SUCCESS;
}