dxe is executing; paint screen green to celebrate

This commit is contained in:
Zhuowei Zhang
2019-02-22 20:56:05 -08:00
parent 780fa066fe
commit d03460e5b3

View File

@@ -40,17 +40,12 @@ InitPeripherals (
IN VOID
)
{
/*
// set the screen
for (UINT64 addr = 0x9d400000ull; addr < 0x9d400000ull + (1440 * 2960 * 4); addr += 4) {
MmioWrite32(addr, 0);
MmioWrite32(addr, 0x00ff80); // green
}
// reboot
MmioWrite32(0xC264000, 0);
*/
// you know what, just set the pshold
int* pshold = (int*)0xC264000;
*pshold = 0;
//MmioWrite32(0xC264000, 0);
// spin forever
while (1) {}
}