This commit is contained in:
parent
21abe0553a
commit
42c3d4eff7
@ -99,6 +99,7 @@ XtBootSystem(IN PXT_BOOT_PROTOCOL_PARAMETERS Parameters)
|
||||
Parameters->SystemPath = L"\\ExectOS";
|
||||
}
|
||||
|
||||
/* Check if kernel file is set */
|
||||
if(Parameters->KernelFile == NULL)
|
||||
{
|
||||
/* No kernel filename set, fallback to default */
|
||||
@ -106,6 +107,13 @@ XtBootSystem(IN PXT_BOOT_PROTOCOL_PARAMETERS Parameters)
|
||||
Parameters->KernelFile = L"xtoskrnl.exe";
|
||||
}
|
||||
|
||||
/* Check if provided any kernel boot arguments */
|
||||
if(Parameters->Arguments == NULL)
|
||||
{
|
||||
/* No argument supplied */
|
||||
Parameters->Arguments = L"";
|
||||
}
|
||||
|
||||
/* Print a debug message */
|
||||
XtLdrProtocol->DbgPrint(L"[XTOS] ARC Path: %S\n"
|
||||
L"[XTOS] System Path: %S\n"
|
||||
|
Loading…
Reference in New Issue
Block a user