/* If a runtime driver exits with an error, it must call this routine to free the allocated resource before the exiting. */
EFI_STATUS EFIAPI DxeRuntimeDebugLibSerialPortDestructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
/* If a runtime driver exits with an error, it must call this routine to free the allocated resource before the exiting. */
EFI_STATUS EFIAPI DxeRuntimeDebugLibSerialPortDestructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
{
  return SystemTable->BootServices->CloseEvent (mEfiExitBootServicesEvent);
}