Skip to content

Commit c01bd3e

Browse files
committed
loader: fix stack management on el1_mmu_enable
There was a missing ldp instruction poping the x27 and x28 values from the stack. Signed-off-by: IkerGalardi <contacto.ikergalardi@gmail.com>
1 parent 77d04c3 commit c01bd3e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

loader/src/aarch64/util64.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ BEGIN_FUNC(el1_mmu_enable)
371371

372372
enable_mmu sctlr_el1, x8
373373

374+
ldp x27, x28, [sp], #16
374375
ldp x29, x30, [sp], #16
375376
ret
376377

0 commit comments

Comments
 (0)