aboutsummaryrefslogtreecommitdiff
path: root/lib/arch/x86_64/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arch/x86_64/README.md')
-rw-r--r--lib/arch/x86_64/README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/arch/x86_64/README.md b/lib/arch/x86_64/README.md
index f81fc98..7420bf3 100644
--- a/lib/arch/x86_64/README.md
+++ b/lib/arch/x86_64/README.md
@@ -1,9 +1,12 @@
-# SystemV AMD64 ABI
+# x86_64 (SystemV)
+Provide an implementation of the platform specific API as required in
+[`api.h`](../api.h) according to the `x86_64 SystemV ABI`.
+## Notes: SystemV ABI
- Integer/pointer arguments via `rdi`, `rsi`, `rdx`, `rcx`, `r8`, `r9`
- Integer/pointer return values via `rax`
- Callee saved registers `rbx`, `rbp`, `r12` – `r15`
-## Reference
+## References
- [johannst x86_64 notes](https://johannst.github.io/notes/arch/x86_64.html)
-
+- [x86_64 SystemV ABI](https://www.uclibc.org/docs/psABI-x86_64.pdf)