Added reboot code, doesn't do a thing.

This commit is contained in:
Zhuowei Zhang 2019-02-23 16:26:16 -08:00
parent 381b0ec79b
commit 941ccaf626

View File

@ -86,6 +86,11 @@ Pixel3XLEntryPoint (
EFI_STATUS Status;
EFI_EVENT EndOfDxeEvent;
// give up, reboot the thing
WriteBackDataCache();
MmioWrite32(0xC264000, 0);
while (1) {}
Status = gBS->LocateProtocol (&gEfiCpuArchProtocolGuid, NULL, (VOID **)&gCpu);
ASSERT_EFI_ERROR(Status);