From 8e4fc23a4864f5bee41fefe85af6d8b75ddbcc75 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 10 Jan 2026 13:38:31 +0100 Subject: wip: abi: NeKernel ABI Draft. Signed-off-by: Amlal El Mahrouss --- doc/specs/NEKERNEL_ABI.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/specs/NEKERNEL_ABI.md b/doc/specs/NEKERNEL_ABI.md index 0eedc2d..a9af6d8 100644 --- a/doc/specs/NEKERNEL_ABI.md +++ b/doc/specs/NEKERNEL_ABI.md @@ -1,7 +1,21 @@ # Specification of NeKernel's ABI +The PEF ABI has multiple versions depending on the ISA. + +=================================== + +# 0: General Information (x64) + =================================== -# 0: General Information +- Arguments goes from r8, to r15 +- SIMD arguments uses xmm +- The ABI is stack based, rbp is preserved. =================================== + +# 0: General Information (ARM64) + +=================================== + + \ No newline at end of file -- cgit v1.2.3