From e3b0df6ae2a5cd1f98400f671c374b5955bd0bcc Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 11 Jan 2026 17:48:17 +0100 Subject: chore: kernel: specs fixes and kernel API impl improvements. Signed-off-by: Amlal El Mahrouss --- doc/specs/SPECFICATION_MACROS.md | 13 ------------- doc/specs/SPECIFICATION_FWRK.md | 2 +- doc/specs/SPECIFICATION_MACROS.md | 25 +++++++++++++++++++++++++ 3 files changed, 26 insertions(+), 14 deletions(-) delete mode 100644 doc/specs/SPECFICATION_MACROS.md create mode 100644 doc/specs/SPECIFICATION_MACROS.md (limited to 'doc') diff --git a/doc/specs/SPECFICATION_MACROS.md b/doc/specs/SPECFICATION_MACROS.md deleted file mode 100644 index 08c57447..00000000 --- a/doc/specs/SPECFICATION_MACROS.md +++ /dev/null @@ -1,13 +0,0 @@ -# Configuration Macros of NeKernel. - -## NeKernel - -- `__nekernel_max_cores` -> Max SMP cores usable by NeKernel's scheduler. -- `__nekernel_boot_core_index` -> Index of the boot core (0, 1, or 3). -- `__nekernel_allow_non_nekernel_pe` -> Allow non-subsystem 17 to run on NeKernel. - -## KernelTest: - -- `__KT_TEST_MAIN` -> KernelTest entrypoint symbol. -- `KT_TESTING_ENABLED` -> Program is running under testing constraints. - diff --git a/doc/specs/SPECIFICATION_FWRK.md b/doc/specs/SPECIFICATION_FWRK.md index e7366987..6d965ef5 100644 --- a/doc/specs/SPECIFICATION_FWRK.md +++ b/doc/specs/SPECIFICATION_FWRK.md @@ -9,7 +9,7 @@ =================================== -# 1: The specification: +# 1: Specification: =================================== diff --git a/doc/specs/SPECIFICATION_MACROS.md b/doc/specs/SPECIFICATION_MACROS.md new file mode 100644 index 00000000..3b5cdf2d --- /dev/null +++ b/doc/specs/SPECIFICATION_MACROS.md @@ -0,0 +1,25 @@ +=================================== + +# 0: General Information: + +=================================== + +=================================== + +# NeKernel + +=================================== + +- `__nekernel_max_cores` -> Max SMP cores usable by NeKernel's scheduler. +- `__nekernel_boot_core_index` -> Index of the boot core (0, 1, or 3). +- `__nekernel_allow_non_nekernel_pe` -> Allow non-subsystem 17 to run on NeKernel. + +=================================== + +# KernelTest + +=================================== + +- `__KT_TEST_MAIN` -> KernelTest entrypoint symbol. +- `KT_TESTING_ENABLED` -> Program is running under testing constraints. + -- cgit v1.2.3