Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147901951
D52472.1784736609.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
552 B
Referenced Files
None
Subscribers
None
D52472.1784736609.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_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
Details
Attached
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)
Attached To
Mode
D52472: aarch64: Save correct value of x18 on trapframe for nested faults
Attached
Detach File
Event Timeline
Log In to Comment