/* This is a temperary function which will be removed when EfiReleaseLock() in UefiLib can handle the call in UEFI Runtimer driver in RT phase. It calls EfiReleaseLock() at boot time and simply returns at runtime. */
VOID ReleaseLockOnlyAtBootTime(IN EFI_LOCK *Lock)
/* This is a temperary function which will be removed when EfiReleaseLock() in UefiLib can handle the call in UEFI Runtimer driver in RT phase. It calls EfiReleaseLock() at boot time and simply returns at runtime. */
VOID ReleaseLockOnlyAtBootTime(IN EFI_LOCK *Lock)
{
  if (!AtRuntime ()) {
    EfiReleaseLock (Lock);
  }
}