Skip to content

Commit

Permalink
MMU disabling no longer needed as GOOS=tamago can boot natively
Browse files Browse the repository at this point in the history
  • Loading branch information
abarisani committed Oct 16, 2023
1 parent b1572ce commit db3b9e6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/runtime/rt0_tamago_arm.s
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ TEXT _rt0_arm_tamago(SB),NOSPLIT,$0
WORD $0xe160006e // eret

after_eret:
// Disable MMU as soon as possible. It must be re-enabled by the
// application.
MRC 15, 0, R0, C1, C0, 0
BIC $0x1, R0
MCR 15, 0, R0, C1, C0, 0

// Enter System Mode
WORD $0xe321f0df // msr CPSR_c, 0xdf

Expand Down

0 comments on commit db3b9e6

Please sign in to comment.