diff options
Diffstat (limited to 'lib/arch')
-rw-r--r-- | lib/arch/arm/README.md | 11 | ||||
-rw-r--r-- | lib/arch/arm64/README.md | 9 | ||||
-rw-r--r-- | lib/arch/x86_64/README.md | 9 |
3 files changed, 19 insertions, 10 deletions
diff --git a/lib/arch/arm/README.md b/lib/arch/arm/README.md index 8631c93..83675a9 100644 --- a/lib/arch/arm/README.md +++ b/lib/arch/arm/README.md @@ -1,9 +1,12 @@ -# Procedure Call Standard ARM64 +# ARM (aapcs32) +Provide an implementation of the platform specific API as required in +[`api.h`](../api.h) according to the `ARM Procedure Call Standard (aapcs32)`. +## Notes: Procedure Call Standard ARM (aapcs32) - Integer/pointer arguments via `r0`-`r3` - Integer/pointer return values via `r0` -- Callee saved registers `r4`-`r11`, `sp`, `lr`, `fp` +- Callee saved registers `r4`-`r11`, `sp` -## Reference +## References - [johannst armv7 notes](https://johannst.github.io/notes/arch/armv7.html) - +- [Procedure Call Standard aapcs32](https://github.com/ARM-software/abi-aa/blob/master/aapcs32/aapcs32.rst) diff --git a/lib/arch/arm64/README.md b/lib/arch/arm64/README.md index 9bf85bf..b726186 100644 --- a/lib/arch/arm64/README.md +++ b/lib/arch/arm64/README.md @@ -1,9 +1,12 @@ -# Procedure Call Standard ARM64 +# ARM64 (aapcs64) +Provide an implementation of the platform specific API as required in +[`api.h`](../api.h) according to the `ARM64 Procedure Call Standard (aapcs64)`. +## Notes: Procedure Call Standard ARM64 (aapcs64) - Integer/pointer arguments via `x0`-`x7` - Integer/pointer return values via `x0` - Callee saved registers `x19`-`x28`, `sp` -## Reference +## References - [johannst arm64 notes](https://johannst.github.io/notes/arch/arm64.html) - +- [Procedure Call Standard aapcs64](https://github.com/ARM-software/abi-aa/blob/master/aapcs64/aapcs64.rst) 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) |