Ensure correct boot volume is used to boot XTOS
This commit is contained in:
parent
953de7fb5f
commit
ecaf923e6d
@ -323,7 +323,7 @@ XtBootSystem(IN PXTBL_BOOT_PARAMETERS Parameters)
|
|||||||
Parameters->KernelFile, Parameters->Parameters);
|
Parameters->KernelFile, Parameters->Parameters);
|
||||||
|
|
||||||
/* Open EFI volume */
|
/* Open EFI volume */
|
||||||
Status = XtLdrProtocol->Disk.OpenVolume(NULL, &DiskHandle, &FsHandle);
|
Status = XtLdrProtocol->Disk.OpenVolume(Parameters->DevicePath, &DiskHandle, &FsHandle);
|
||||||
if(Status != STATUS_EFI_SUCCESS)
|
if(Status != STATUS_EFI_SUCCESS)
|
||||||
{
|
{
|
||||||
/* Failed to open a volume */
|
/* Failed to open a volume */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user