From 484130413d1fd5b1bdc4ae452cb469a9afe13fae Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 8 Mar 2026 07:21:07 +0100 Subject: [CHORE] Document __ne_arch, update Config.h. Signed-off-by: Amlal El Mahrouss --- .gitignore | 2 ++ doc/requirements/NE_ARCH.md | 8 ++++++++ include/System/Config.h | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 doc/requirements/NE_ARCH.md diff --git a/.gitignore b/.gitignore index 8e8b055..c23db19 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ __pycache__ .claude +*~ + xcuserdata/ *.efi diff --git a/doc/requirements/NE_ARCH.md b/doc/requirements/NE_ARCH.md new file mode 100644 index 0000000..ae2c7fd --- /dev/null +++ b/doc/requirements/NE_ARCH.md @@ -0,0 +1,8 @@ +# __ne_arch: Architecture Identification Macro. + +## Abstract: + +`__ne_arch` takes care of reporting NeSystem's running ISA+Computer_Architecture. In other words a platform. + +You use this for platform specific code. Recommended for C/C++ programs, JVM and VM based languages should not rely on this macro. + diff --git a/include/System/Config.h b/include/System/Config.h index 3c5f723..8be94f4 100644 --- a/include/System/Config.h +++ b/include/System/Config.h @@ -12,3 +12,7 @@ #define _NEKERNEL 202603 #include +#include +#include + + -- cgit v1.2.3