mirror of
https://gitlab.com/bztsrc/bootboot.git
synced 2023-02-13 20:54:32 -05:00
Clear AFE in sctlr
This commit is contained in:
parent
6528f753c7
commit
7c80ca51df
4 changed files with 4 additions and 3 deletions
|
@ -12,7 +12,7 @@ Előre lefordított binárisok mellékelve, egyből használhatók.
|
|||
[boot.bin](https://gitlab.com/bztsrc/bootboot/raw/master/boot.bin) (512 bájt, egyszerre MBR, VBR és CDROM indító szektor), [bootboot.bin](https://gitlab.com/bztsrc/bootboot/raw/master/bootboot.bin) (11k, a boot.bin tölti be, valamint BBS bővítő ROM és Multiboot kompatíbilis is)
|
||||
|
||||
3. *aarch64-rpi* ARMv8 betöltő Raspberry Pi 3-hoz
|
||||
[bootboot.img](https://gitlab.com/bztsrc/bootboot/raw/master/bootboot.img) (31k)
|
||||
[bootboot.img](https://gitlab.com/bztsrc/bootboot/raw/master/bootboot.img) (32k)
|
||||
|
||||
4. *mykernel* egy példa BOOTBOOT [kompatíbilis kernel](https://gitlab.com/bztsrc/bootboot/tree/master/mykernel) C-ben írva, ami vonalakat húz meg színes dobozokat rajzol
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ I provide pre-compiled images ready for use.
|
|||
[boot.bin](https://gitlab.com/bztsrc/bootboot/raw/master/boot.bin) (512 bytes, works as MBR, VBR and CDROM boot record too), [bootboot.bin](https://gitlab.com/bztsrc/bootboot/raw/master/bootboot.bin) (11k, loaded by boot.bin, also BBS Expansion ROM and Multiboot compliant)
|
||||
|
||||
3. *aarch64-rpi* ARMv8 boot loader for Raspberry Pi 3
|
||||
[bootboot.img](https://gitlab.com/bztsrc/bootboot/raw/master/bootboot.img) (31k)
|
||||
[bootboot.img](https://gitlab.com/bztsrc/bootboot/raw/master/bootboot.img) (32k)
|
||||
|
||||
4. *mykernel* an example BOOTBOOT [compatible kernel](https://gitlab.com/bztsrc/bootboot/tree/master/mykernel) in C which draws lines and boxes
|
||||
|
||||
|
|
|
@ -1741,7 +1741,8 @@ void bootboot_startcore()
|
|||
asm volatile ("dsb ish; isb; mrs %0, sctlr_el1" : "=r" (reg));
|
||||
// set mandatory reserved bits
|
||||
reg|=0xC00800;
|
||||
reg&=~( (1<<25) | // clear EE, little endian translation tables
|
||||
reg&=~( (1<<29) | // clear AFE, full access permisson model
|
||||
(1<<25) | // clear EE, little endian translation tables
|
||||
(1<<24) | // clear E0E
|
||||
(1<<19) | // clear WXN
|
||||
(1<<12) | // clear I, no instruction cache
|
||||
|
|
BIN
bootboot.img
BIN
bootboot.img
Binary file not shown.
Loading…
Reference in a new issue