test boot by adding code to blank screen and freeze

This commit is contained in:
Zhuowei Zhang
2019-02-21 17:57:14 -08:00
parent 92d47a6b0e
commit f4c6a17c63

View File

@@ -18,6 +18,15 @@
.align 3
ASM_FUNC(ArmPlatformPeiBootAction)
// blank the screen, freeze forever
mov x1, 10240
mov x0, 0x9d400000
movk x1, 0x9e44, lsl 16 // 1440 * 2960
.L2:
str wzr, [x0], 4
cmp x0, x1
bne .L2
b .
ret
//UINTN