mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Fix minor url typo for System V ABI on cpu-exceptions page (#496)
This commit is contained in:
committed by
Philipp Oppermann
parent
442da8c9eb
commit
b5b39d1b6e
@@ -134,7 +134,7 @@ However, there is a major difference between exceptions and function calls: A fu
|
|||||||
[Calling conventions] specify the details of a function call. For example, they specify where function parameters are placed (e.g. in registers or on the stack) and how results are returned. On x86_64 Linux, the following rules apply for C functions (specified in the [System V ABI]):
|
[Calling conventions] specify the details of a function call. For example, they specify where function parameters are placed (e.g. in registers or on the stack) and how results are returned. On x86_64 Linux, the following rules apply for C functions (specified in the [System V ABI]):
|
||||||
|
|
||||||
[Calling conventions]: https://en.wikipedia.org/wiki/Calling_convention
|
[Calling conventions]: https://en.wikipedia.org/wiki/Calling_convention
|
||||||
[System V ABI]: http://refspecs.linuxbase.org/elf/x86-64-abi-0.99.pdf
|
[System V ABI]: http://refspecs.linuxbase.org/elf/x86_64-abi-0.99.pdf
|
||||||
|
|
||||||
- the first six integer arguments are passed in registers `rdi`, `rsi`, `rdx`, `rcx`, `r8`, `r9`
|
- the first six integer arguments are passed in registers `rdi`, `rsi`, `rdx`, `rcx`, `r8`, `r9`
|
||||||
- additional arguments are passed on the stack
|
- additional arguments are passed on the stack
|
||||||
|
|||||||
Reference in New Issue
Block a user