]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
arch: Define regular function calling convention register arguments
authorSergiu Moga <sergiu@unikraft.io>
Mon, 24 Mar 2025 16:34:28 +0000 (18:34 +0200)
committerUnikraft Bot <monkey@unikraft.io>
Thu, 17 Apr 2025 12:33:46 +0000 (12:33 +0000)
commit81322bb61bc3d05cff0b151a90f31c2670c0dd08
tree2a024cc11ff15ae57a705672a8a9cf9647c05e6c
parent2cfd3b6002714a515c5f5aaa34872ca17da9ab4f
arch: Define regular function calling convention register arguments

Define the macros that one could use to access the registers within
`struct __regs` that represent the ABI/calling convention specific
that contain the arguments (and the return value).

Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
Approved-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1618
arch/arm/arm64/include/uk/asm/lcpu.h
arch/x86/x86_64/include/uk/asm/lcpu.h