summaryrefslogtreecommitdiffhomepage
path: root/Kernel/NewKit
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-16 12:32:15 +0200
committerAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-16 12:32:15 +0200
commit684197d4bcb66e94c1dbf37591ed2a984792e51d (patch)
treec0d086f05f3b59f847c7be1d06cde71e411f1da0 /Kernel/NewKit
parent84aea90cff9952dbafcf147b7741c1985622a8d2 (diff)
MHR-31: Add ARM64 executable type for newoskrnl's PEF implementation.
Signed-off-by: Amlal EL Mahrouss <amlal@softwarelabs.com>
Diffstat (limited to 'Kernel/NewKit')
-rw-r--r--Kernel/NewKit/Defines.hpp6
-rw-r--r--Kernel/NewKit/String.hpp2
2 files changed, 1 insertions, 7 deletions
diff --git a/Kernel/NewKit/Defines.hpp b/Kernel/NewKit/Defines.hpp
index 96f13fd9..3210f1ef 100644
--- a/Kernel/NewKit/Defines.hpp
+++ b/Kernel/NewKit/Defines.hpp
@@ -133,12 +133,6 @@ namespace NewOS
};
} // namespace NewOS
-/// @note this is for the purpose of having a common namespace alongside zeta's codebase.
-namespace ma::zeta::kernel
-{
- using namespace NewOS;
-}
-
#define DEDUCE_ENDIAN(address, value) \
(((reinterpret_cast<NewOS::Char*>(address)[0]) == (value)) \
? (NewOS::Endian::kEndianBig) \
diff --git a/Kernel/NewKit/String.hpp b/Kernel/NewKit/String.hpp
index 644a1394..14286ca0 100644
--- a/Kernel/NewKit/String.hpp
+++ b/Kernel/NewKit/String.hpp
@@ -35,7 +35,7 @@ namespace NewOS
StringView(const StringView&) = default;
Char* Data();
- const Char* CData();
+ const Char* CData() const;
Size Length() const;
bool operator==(const Char* rhs) const;