diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-11 04:49:20 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-11 04:49:20 +0100 |
| commit | fcffbf8fe95570ac551ccd4cc9475742213e9e5b (patch) | |
| tree | a836c2ddcda3d7120e558468d863e3bc49a9a4cf /doc | |
| parent | a393a14154b435879e0fa2791fc629030073e810 (diff) | |
chore: codegen and specs improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/specs/NECTAR_LANG.md | 2 | ||||
| -rw-r--r-- | doc/specs/NEKERNEL_ABI.md | 18 |
2 files changed, 16 insertions, 4 deletions
diff --git a/doc/specs/NECTAR_LANG.md b/doc/specs/NECTAR_LANG.md index cf94c5f..c1eae55 100644 --- a/doc/specs/NECTAR_LANG.md +++ b/doc/specs/NECTAR_LANG.md @@ -18,6 +18,8 @@ - `&` Checked pointer type. - `*` Unchecked pointer type. +- `.` Checked pointer access. +- `->` UnChecked pointer access. - `struct` Plain Old Data data Structure, implement Trees, Heaps, etc.. - `import` import module. - `export` export module. diff --git a/doc/specs/NEKERNEL_ABI.md b/doc/specs/NEKERNEL_ABI.md index a9af6d8..385c330 100644 --- a/doc/specs/NEKERNEL_ABI.md +++ b/doc/specs/NEKERNEL_ABI.md @@ -4,18 +4,28 @@ The PEF ABI has multiple versions depending on the ISA. =================================== -# 0: General Information (x64) +# 0: General Information (ISA agnostic) =================================== -- Arguments goes from r8, to r15 -- SIMD arguments uses xmm +- Arguments goes from a0 to max argument register of ISA. +- SIMD arguments uses SIMD registers. - The ABI is stack based, rbp is preserved. =================================== +# 0: General Information (x64) + +=================================== + +- RBP is saved. +- SIMD is saved. + +=================================== + # 0: General Information (ARM64) =================================== -
\ No newline at end of file +- BP is saved. +- SIMD is saved. |
