/* This function "opens" SMRAM so that it is visible while not inside of SMM. The function should return EFI_UNSUPPORTED if the hardware does not support hiding of SMRAM. The function should return EFI_DEVICE_ERROR if the SMRAM configuration is locked. */
STATIC EFI_STATUS EFIAPI SmmAccess2DxeOpen(IN EFI_SMM_ACCESS2_PROTOCOL *This)
/* This function "opens" SMRAM so that it is visible while not inside of SMM. The function should return EFI_UNSUPPORTED if the hardware does not support hiding of SMRAM. The function should return EFI_DEVICE_ERROR if the SMRAM configuration is locked. */
STATIC EFI_STATUS EFIAPI SmmAccess2DxeOpen(IN EFI_SMM_ACCESS2_PROTOCOL *This)
{
  return SmramAccessOpen (&This->LockState, &This->OpenState);
}