From e699ff88fd42dd144f6a0b4e9c3311c852b0fb71 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 28 Feb 2021 20:40:11 +0100 Subject: updated READMEs --- lib/arch/x86_64/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/arch/x86_64/README.md') 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) -- cgit v1.2.3