arm64: Save all integer registers in exception handlers.

* This is needed in order to support syscalls and other exceptions
  that need to be able to inspect/modify userspace register contents.

Change-Id: I8a638c0c40dd44ed882adad0591ae3bf5493a6b9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8329
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
Owen Anderson
2024-09-18 19:34:15 +00:00
committed by Fredrik Holmqvist
parent 0f807f4401
commit c2f3786ab0
3 changed files with 17 additions and 8 deletions
+2 -2
View File
@@ -132,10 +132,10 @@ struct iframe {
// return info
uint64 elr;
uint64 spsr;
uint64 x[20];
uint64 x[29];
uint64 fp;
uint64 lr;
uint64 sp;
uint64 fp;
// exception info
uint64 esr;