Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154311192
D52472.id161856.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
551 B
Referenced Files
None
Subscribers
None
D52472.id161856.diff
View Options
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_X - TF_SIZE - 128)]!
.else
stp x0, x1, [sp, #(TF_X - TF_SIZE)]!
@@ -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_X - TF_SIZE - 128)
+.else
mrs x18, sp_el0
.endif
mrs x10, elr_el1
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 28, 6:33 PM (13 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32298637
Default Alt Text
D52472.id161856.diff (551 B)
Attached To
Mode
D52472: aarch64: Save correct value of x18 on trapframe for nested faults
Attached
Detach File
Event Timeline
Log In to Comment