Added reboot code, doesn't do a thing.
This commit is contained in:
parent
381b0ec79b
commit
941ccaf626
@ -86,6 +86,11 @@ Pixel3XLEntryPoint (
|
|||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
EFI_EVENT EndOfDxeEvent;
|
EFI_EVENT EndOfDxeEvent;
|
||||||
|
|
||||||
|
// give up, reboot the thing
|
||||||
|
WriteBackDataCache();
|
||||||
|
MmioWrite32(0xC264000, 0);
|
||||||
|
while (1) {}
|
||||||
|
|
||||||
Status = gBS->LocateProtocol (&gEfiCpuArchProtocolGuid, NULL, (VOID **)&gCpu);
|
Status = gBS->LocateProtocol (&gEfiCpuArchProtocolGuid, NULL, (VOID **)&gCpu);
|
||||||
ASSERT_EFI_ERROR(Status);
|
ASSERT_EFI_ERROR(Status);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user