1
0
Fork 0
mirror of https://gitlab.com/bztsrc/bootboot.git synced 2023-02-13 20:54:32 -05:00

No AFE in 64 bit mode

This commit is contained in:
bzt 2019-03-20 13:32:53 +01:00
parent 7c80ca51df
commit f01d06c962
2 changed files with 1 additions and 2 deletions

View file

@ -1741,8 +1741,7 @@ void bootboot_startcore()
asm volatile ("dsb ish; isb; mrs %0, sctlr_el1" : "=r" (reg));
// set mandatory reserved bits
reg|=0xC00800;
reg&=~( (1<<29) | // clear AFE, full access permisson model
(1<<25) | // clear EE, little endian translation tables
reg&=~( (1<<25) | // clear EE, little endian translation tables
(1<<24) | // clear E0E
(1<<19) | // clear WXN
(1<<12) | // clear I, no instruction cache

Binary file not shown.