ok, this doesn't even reboot the device. So Dxe is broken
This commit is contained in:
parent
6cfcdb0b4a
commit
9fbf75ca45
@ -40,12 +40,17 @@ InitPeripherals (
|
||||
IN VOID
|
||||
)
|
||||
{
|
||||
/*
|
||||
// set the screen
|
||||
for (UINT64 addr = 0x9d400000ull; addr < 0x9d400000ull + (1440 * 2960 * 4); addr += 4) {
|
||||
MmioWrite32(addr, 0);
|
||||
}
|
||||
// reboot
|
||||
MmioWrite32(0xC264000, 0);
|
||||
*/
|
||||
// you know what, just set the pshold
|
||||
int* pshold = (int*)0xC264000;
|
||||
*pshold = 0;
|
||||
// spin forever
|
||||
while (1) {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user