// find the current directory
DevicePathAsString = DevicePathToStr(SelfLoadedImage->FilePath);
-// Print(L"DevicePathAsString is '%s'\n", DevicePathAsString);
CleanUpPathNameSlashes(DevicePathAsString);
if (SelfDirPath != NULL)
FreePool(SelfDirPath);
SelfDirPath = FindPath(DevicePathAsString);
-// Print(L"SelfDirPath is '%s'\n", SelfDirPath);
-// PauseForKey();
FreePool(DevicePathAsString);
return FinishInitRefitLib();
} // switch()
}
-static VOID ScanVolume(IN OUT REFIT_VOLUME *Volume)
+VOID ScanVolume(IN OUT REFIT_VOLUME *Volume)
{
EFI_STATUS Status;
EFI_DEVICE_PATH *DevicePath, *NextDevicePath;