From d03460e5b380d193e804d56b273fa5bd47a57004 Mon Sep 17 00:00:00 2001 From: Zhuowei Zhang Date: Fri, 22 Feb 2019 20:56:05 -0800 Subject: [PATCH] dxe is executing; paint screen green to celebrate --- Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c b/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c index 7606b58..9607a31 100644 --- a/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c +++ b/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c @@ -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) {} }