summaryrefslogtreecommitdiff
path: root/kernel/utility.cpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-01-20 17:59:40 -0500
committerBenji Dial <benji@benjidial.net>2024-01-20 17:59:40 -0500
commit7199e74aa22e592a3b77bdd81f735edca5470596 (patch)
tree66e935372acc5d6e013f764965f2a9d81814f809 /kernel/utility.cpp
parent53135e2592c21cb9b2609bf95242aaf1f19233da (diff)
downloadhilbert-os-7199e74aa22e592a3b77bdd81f735edca5470596.tar.gz
update
Diffstat (limited to 'kernel/utility.cpp')
-rw-r--r--kernel/utility.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/utility.cpp b/kernel/utility.cpp
index 249fb2c..12e88fd 100644
--- a/kernel/utility.cpp
+++ b/kernel/utility.cpp
@@ -1,5 +1,11 @@
#include <hilbert/kernel/utility.hpp>
+void *operator new(size_t, void *ptr) {
+ return ptr;
+}
+
+void operator delete(void *, void *) {}
+
namespace hilbert::kernel::utility {
void mark_bitmap_region_zero(