From 80039963ff08d1810e22a0ae41497b156e861db0 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Sat, 10 Aug 2024 07:58:47 +0200 Subject: [META] Important refactors and fixes. + FIX SCIBase.hxx header and inline scm.internal.inl header. + Rename targets libSCI, libDDK to sci.dll and ddk.dll. + Don't initialize again the values of heap and such in HalKernelMain.cxx + Add 'STOP code' in ke_stop call. + Updated ReadMe.md. Signed-off-by: Amlal EL Mahrouss --- CRTKit/__mpcc_exception.hxx | 2 -- CRTKit/__mpcc_iostream.hxx | 32 -------------------------------- CRTKit/build.json | 4 ++-- 3 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 CRTKit/__mpcc_iostream.hxx (limited to 'CRTKit') diff --git a/CRTKit/__mpcc_exception.hxx b/CRTKit/__mpcc_exception.hxx index 23b4a99a..b515769e 100644 --- a/CRTKit/__mpcc_exception.hxx +++ b/CRTKit/__mpcc_exception.hxx @@ -6,8 +6,6 @@ #pragma once -#include - /// @brief CRT exit, with exit code (!!! exits all threads. !!!) /// @param code /// @return diff --git a/CRTKit/__mpcc_iostream.hxx b/CRTKit/__mpcc_iostream.hxx deleted file mode 100644 index 1d93f1e4..00000000 --- a/CRTKit/__mpcc_iostream.hxx +++ /dev/null @@ -1,32 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies - -------------------------------------------- */ - -#pragma once - -/// @brief CRT exit, with exit code (!!! exits all threads. !!!) -/// @param code -/// @return -extern "C" int __exit(int code); - -/// @brief Standard C++ namespace -namespace std -{ - template - class ofstream; - - template - class ostream - { - public: - ostream() = default; - virtual ~ostream() = default; - - virtual ostream& operator<<(const Encoding* input_streamable) = 0; - virtual ostream& operator<<(Encoding* input_streamable) = 0; - }; - - extern ofstream cout; -}; \ No newline at end of file diff --git a/CRTKit/build.json b/CRTKit/build.json index f9d69a57..1ad1303e 100644 --- a/CRTKit/build.json +++ b/CRTKit/build.json @@ -3,8 +3,8 @@ "compiler_std": "c++20", "headers_path": ["../", "./"], "sources_path": ["*.cxx"], - "output_name": "libCRT.dll", - "compiler_flags": ["-ffreestanding", "-shared", "-std=c17", "-std=c++20", "-fno-rtti", "-fno-exceptions", " -Wl,--subsystem=17"], + "output_name": "crtcxx.dll", + "compiler_flags": ["-ffreestanding", "-shared", "-fno-rtti", "-fno-exceptions", " -Wl,--subsystem=17"], "cpp_macros": ["__CRT_AMD64__", "cCRTVersion=0x0100"] } \ No newline at end of file -- cgit v1.2.3