summaryrefslogtreecommitdiffhomepage
path: root/Private/NewKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-23 02:58:39 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-23 02:58:39 +0100
commit5563deabd8f7ce3fc713ea23f8cf5bbac33b4024 (patch)
treef182700a0360ecf7319415915638e44a5d0074dc /Private/NewKit
parentab4eaababec7f870378ed64fbbf51b154b292a7b (diff)
Kernel: add heap information (allocator)
- Force use of itanium ABI even of MPCC. - Revision of handover has been done. (it is not assuming any starting address) Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/NewKit')
-rw-r--r--Private/NewKit/KernelCheck.hpp (renamed from Private/NewKit/RuntimeCheck.hpp)0
-rw-r--r--Private/NewKit/KernelHeap.hpp1
-rw-r--r--Private/NewKit/NewKit.hpp20
-rw-r--r--Private/NewKit/OwnPtr.hpp2
-rw-r--r--Private/NewKit/Ref.hpp2
-rw-r--r--Private/NewKit/String.hpp2
-rw-r--r--Private/NewKit/UserHeap.hpp1
7 files changed, 12 insertions, 16 deletions
diff --git a/Private/NewKit/RuntimeCheck.hpp b/Private/NewKit/KernelCheck.hpp
index 9f37eb8e..9f37eb8e 100644
--- a/Private/NewKit/RuntimeCheck.hpp
+++ b/Private/NewKit/KernelCheck.hpp
diff --git a/Private/NewKit/KernelHeap.hpp b/Private/NewKit/KernelHeap.hpp
index 80934caf..fba25b70 100644
--- a/Private/NewKit/KernelHeap.hpp
+++ b/Private/NewKit/KernelHeap.hpp
@@ -17,7 +17,6 @@
#include <NewKit/Pmm.hpp>
namespace HCore {
-Void ke_init_ke_heap() noexcept;
Int32 ke_delete_ke_heap(voidPtr allocatedPtr);
voidPtr ke_new_ke_heap(SizeT sz, const bool rw, const bool user);
} // namespace HCore
diff --git a/Private/NewKit/NewKit.hpp b/Private/NewKit/NewKit.hpp
index 8e560914..fc18a900 100644
--- a/Private/NewKit/NewKit.hpp
+++ b/Private/NewKit/NewKit.hpp
@@ -10,18 +10,16 @@
#pragma once
-#include <NewKit/OwnPtr.hpp>
-#include <NewKit/New.hpp>
-#include <NewKit/Json.hpp>
-#include <NewKit/UserHeap.hpp>
-#include <NewKit/ErrorOr.hpp>
-#include <NewKit/ArrayList.hpp>
#include <NewKit/Array.hpp>
+#include <NewKit/ArrayList.hpp>
+#include <NewKit/ErrorOr.hpp>
+#include <NewKit/Json.hpp>
+#include <NewKit/KernelCheck.hpp>
+#include <NewKit/LockDelegate.hpp>
+#include <NewKit/MutableArray.hpp>
+#include <NewKit/New.hpp>
+#include <NewKit/OwnPtr.hpp>
#include <NewKit/Ref.hpp>
-#include <NewKit/RuntimeCheck.hpp>
#include <NewKit/Stream.hpp>
+#include <NewKit/UserHeap.hpp>
#include <NewKit/Utils.hpp>
-#include <NewKit/MutableArray.hpp>
-#include <NewKit/LockDelegate.hpp>
-
-
diff --git a/Private/NewKit/OwnPtr.hpp b/Private/NewKit/OwnPtr.hpp
index e24eba3e..69e3389f 100644
--- a/Private/NewKit/OwnPtr.hpp
+++ b/Private/NewKit/OwnPtr.hpp
@@ -11,8 +11,8 @@
#pragma once
#include <NewKit/Defines.hpp>
+#include <NewKit/KernelCheck.hpp>
#include <NewKit/Ref.hpp>
-#include <NewKit/RuntimeCheck.hpp>
namespace HCore {
template <typename T>
diff --git a/Private/NewKit/Ref.hpp b/Private/NewKit/Ref.hpp
index 9988c213..f97e3a90 100644
--- a/Private/NewKit/Ref.hpp
+++ b/Private/NewKit/Ref.hpp
@@ -11,7 +11,7 @@
#pragma once
#include <NewKit/Defines.hpp>
-#include <NewKit/RuntimeCheck.hpp>
+#include <NewKit/KernelCheck.hpp>
namespace HCore {
template <typename T>
diff --git a/Private/NewKit/String.hpp b/Private/NewKit/String.hpp
index e6bc745e..6979739a 100644
--- a/Private/NewKit/String.hpp
+++ b/Private/NewKit/String.hpp
@@ -11,7 +11,7 @@
#include <NewKit/Defines.hpp>
#include <NewKit/ErrorOr.hpp>
-#include <NewKit/RuntimeCheck.hpp>
+#include <NewKit/KernelCheck.hpp>
namespace HCore {
class StringView final {
diff --git a/Private/NewKit/UserHeap.hpp b/Private/NewKit/UserHeap.hpp
index 05430bf4..5c0b7134 100644
--- a/Private/NewKit/UserHeap.hpp
+++ b/Private/NewKit/UserHeap.hpp
@@ -38,7 +38,6 @@ struct HeapHeader final {
UIntPtr Pad;
};
-Void ke_init_heap();
VoidPtr ke_new_heap(Int32 flags);
Int32 ke_free_heap(voidPtr pointer);
} // namespace HCore