summaryrefslogtreecommitdiff
path: root/coroutine
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine')
-rw-r--r--coroutine/arm32/Context.S6
-rw-r--r--coroutine/arm64/Context.S2
2 files changed, 4 insertions, 4 deletions
diff --git a/coroutine/arm32/Context.S b/coroutine/arm32/Context.S
index b66db29622..08a0491de8 100644
--- a/coroutine/arm32/Context.S
+++ b/coroutine/arm32/Context.S
@@ -15,12 +15,12 @@
coroutine_transfer:
# Save caller state (8 registers + return address)
push {r4-r11,lr}
-
+
# Save caller stack pointer
str sp, [r0]
-
+
# Restore callee stack pointer
ldr sp, [r1]
-
+
# Restore callee state (8 registers program counter)
pop {r4-r11,pc}
diff --git a/coroutine/arm64/Context.S b/coroutine/arm64/Context.S
index 7d282626ab..701ae21eec 100644
--- a/coroutine/arm64/Context.S
+++ b/coroutine/arm64/Context.S
@@ -13,7 +13,7 @@ coroutine_transfer:
# Make space on the stack for caller registers
sub sp, sp, 0xb0
-
+
# Save caller registers
stp d8, d9, [sp, 0x00]
stp d10, d11, [sp, 0x10]