/* Indicate whether the driver is currently executing in the SMM Initialization phase. */
EFI_STATUS EFIAPI SmmBase2InSmram(IN CONST EFI_SMM_BASE2_PROTOCOL *This, OUT BOOLEAN *InSmram)
/* Indicate whether the driver is currently executing in the SMM Initialization phase. */
EFI_STATUS EFIAPI SmmBase2InSmram(IN CONST EFI_SMM_BASE2_PROTOCOL *This, OUT BOOLEAN *InSmram)
{
  if (InSmram == NULL) {
    return EFI_INVALID_PARAMETER;
  }
  *InSmram = gSmmCorePrivate->InSmm;
  return EFI_SUCCESS;
}