Skip to content

Commit 32c1a01

Browse files
committed
MMU disabling no longer needed as GOOS=tamago can boot natively
1 parent edff2bb commit 32c1a01

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/runtime/rt0_tamago_arm.s

-6
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ TEXT _rt0_arm_tamago(SB),NOSPLIT,$0
2323
WORD $0xe160006e // eret
2424

2525
after_eret:
26-
// Disable MMU as soon as possible. It must be re-enabled by the
27-
// application.
28-
MRC 15, 0, R0, C1, C0, 0
29-
BIC $0x1, R0
30-
MCR 15, 0, R0, C1, C0, 0
31-
3226
// Enter System Mode
3327
WORD $0xe321f0df // msr CPSR_c, 0xdf
3428

0 commit comments

Comments
 (0)