From 15493aad092a3e2f0ebacc4fe38d40de02ea67de Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 28 Mar 2025 20:19:56 +0100 Subject: ahci: fix: report success when ahci is detected. mbci: reintroduce NeKernel's MBCI. cfkit: rename: CFKit -> CF libuser: rename ErrKind to ErrRef. coregfx: fix last unconsistent things about the module. Signed-off-by: Amlal El Mahrouss --- .../CoreFoundation.fwrk/src/Foundation.cc | 3 +++ public/frameworks/KernelTest.fwrk/KernelTest.json | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 public/frameworks/KernelTest.fwrk/KernelTest.json (limited to 'public/frameworks') diff --git a/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc b/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc index 8dffdd02..89adf665 100644 --- a/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc +++ b/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc @@ -6,6 +6,9 @@ #include +/***********************************************************************************/ +/// @brief returns true if the proportions are valid. +/***********************************************************************************/ CF::CFRect::operator bool() { return width > 0 && height > 0; diff --git a/public/frameworks/KernelTest.fwrk/KernelTest.json b/public/frameworks/KernelTest.fwrk/KernelTest.json new file mode 100644 index 00000000..93207890 --- /dev/null +++ b/public/frameworks/KernelTest.fwrk/KernelTest.json @@ -0,0 +1,22 @@ +{ + "compiler_path": "x86_64-w64-mingw32-g++", + "compiler_std": "c++20", + "headers_path": ["../", "./", "../../../dev", "../../../dev/kernel"], + "sources_path": ["src/*.cc"], + "output_name": "./dist/libKernelTest.dylib", + "compiler_flags": [ + "-fPIC", + "-ffreestanding", + "-shared", + "-fno-rtti", + "-fno-exceptions", + "-Wl,--subsystem=17" + ], + "cpp_macros": [ + "kKTVersion=0x0100", + "kKTVersionHighest=0x0100", + "kKTVersionLowest=0x0100", + "__NE_AMD64__" + ] + } + \ No newline at end of file -- cgit v1.2.3