Set screen to black in DXE to see if we get there

This commit is contained in:
Zhuowei Zhang
2019-02-21 19:01:49 -08:00
parent 665adc4b50
commit cef0e0f475

View File

@@ -40,6 +40,12 @@ InitPeripherals (
IN VOID
)
{
// set the screen
for (uint64_t addr = 0x9d400000ull; addr < 0x9d400000ull + (1440 * 2960 * 4); addr += 4) {
MmioWrite32(addr, 0);
}
// spin forever
while (1) {}
}
/**