Add a hang loop for possible future GDB debugging
This commit is contained in:
parent
568bb11573
commit
0eb8a5ec94
|
@ -44,6 +44,14 @@ EFI_STATUS LoadKernel(EFI_HANDLE ImageHandle, GFX_INFO* Graphics, EFI_CONFIGURAT
|
||||||
return KernelStatus;
|
return KernelStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Print(L"Syncboot loaded at 0x%llx\n", LoadedImage->ImageBase);
|
||||||
|
AwaitKey("\0");
|
||||||
|
|
||||||
|
int Loop = 1;
|
||||||
|
while (Loop) {
|
||||||
|
__asm volatile("pause");
|
||||||
|
}
|
||||||
|
|
||||||
/* Get the path to the device */
|
/* Get the path to the device */
|
||||||
CHAR16* ESPRootTemp = DevicePathToStr(DevicePathFromHandle(LoadedImage->DeviceHandle));
|
CHAR16* ESPRootTemp = DevicePathToStr(DevicePathFromHandle(LoadedImage->DeviceHandle));
|
||||||
size_t ESPRootSize = StrSize(ESPRootTemp);
|
size_t ESPRootSize = StrSize(ESPRootTemp);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user