diff options
author | johannst <johannes.stoelp@gmail.com> | 2021-02-28 20:40:11 +0100 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2021-02-28 20:40:11 +0100 |
commit | e699ff88fd42dd144f6a0b4e9c3311c852b0fb71 (patch) | |
tree | c104eee2ffd96a747f4bf85ad1affbce9b891be5 /lib/arch/x86_64 | |
parent | e58a957f32e0becfe49f313a819087789211a6c2 (diff) | |
download | matcha-threads-e699ff88fd42dd144f6a0b4e9c3311c852b0fb71.tar.gz matcha-threads-e699ff88fd42dd144f6a0b4e9c3311c852b0fb71.zip |
updated READMEs
Diffstat (limited to 'lib/arch/x86_64')
-rw-r--r-- | lib/arch/x86_64/README.md | 9 |
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) |