diff options
Diffstat (limited to 'aarch64/common/init_util.S')
-rw-r--r-- | aarch64/common/init_util.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/aarch64/common/init_util.S b/aarch64/common/init_util.S index 0f9e393..f1dd26b 100644 --- a/aarch64/common/init_util.S +++ b/aarch64/common/init_util.S @@ -4,10 +4,12 @@ /* allocate_pa() - Allocates and returns next pool PA */ allocate_pa: stp x10, x11, [sp, #-16]! + str x30, [sp, #-8]! ldr x10, =RAM_BASE+0x2000 ldr x0, [x10] add x11, x0, #0x1000 str x11, [x10] + ldr x30, [sp], #8 ldp x10, x11, [sp], #16 ret |