diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-10 07:58:47 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-10 08:00:25 +0200 |
| commit | 80039963ff08d1810e22a0ae41497b156e861db0 (patch) | |
| tree | 32b0f12573584668e656b4869a733e31264a06ba /CRTKit | |
| parent | 1c217ed09c6c4b13ec09b897270a208439f0db55 (diff) | |
[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 <amlalelmahrouss@icloud.com>
Diffstat (limited to 'CRTKit')
| -rw-r--r-- | CRTKit/__mpcc_exception.hxx | 2 | ||||
| -rw-r--r-- | CRTKit/__mpcc_iostream.hxx | 32 | ||||
| -rw-r--r-- | CRTKit/build.json | 4 |
3 files changed, 2 insertions, 36 deletions
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 <CRTKit/__mpcc_iostream.hxx> - /// @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 <typename Encoding>
- class ofstream;
-
- template <typename Encoding>
- class ostream
- {
- public:
- ostream() = default;
- virtual ~ostream() = default;
-
- virtual ostream<Encoding>& operator<<(const Encoding* input_streamable) = 0;
- virtual ostream<Encoding>& operator<<(Encoding* input_streamable) = 0;
- };
-
- extern ofstream<char> 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 |
