Page MenuHomeFreeBSD

D52472.1784736609.diff
No OneTemporary

Size
552 B
Referenced Files
None
Subscribers
None

D52472.1784736609.diff

diff --git a/sys/arm64/arm64/exception.S b/sys/arm64/arm64/exception.S
--- a/sys/arm64/arm64/exception.S
+++ b/sys/arm64/arm64/exception.S
@@ -42,7 +42,6 @@
*/
.macro save_registers_head el
.if \el == 1
- mov x18, sp
stp x0, x1, [sp, #-(TF_SIZE - TF_X + 128)]!
.else
stp x0, x1, [sp, #-(TF_SIZE - TF_X)]!
@@ -61,7 +60,9 @@
stp x24, x25, [sp, #(24 * 8)]
stp x26, x27, [sp, #(26 * 8)]
stp x28, x29, [sp, #(28 * 8)]
-.if \el == 0
+.if \el == 1
+ add x18, sp, #(TF_SIZE - TF_X + 128)
+.else
mrs x18, sp_el0
.endif
mrs x10, elr_el1

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 22, 4:10 PM (9 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29229074
Default Alt Text
D52472.1784736609.diff (552 B)

Event Timeline