From 684197d4bcb66e94c1dbf37591ed2a984792e51d Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Sun, 16 Jun 2024 12:32:15 +0200 Subject: MHR-31: Add ARM64 executable type for newoskrnl's PEF implementation. Signed-off-by: Amlal EL Mahrouss --- Kernel/NewKit/Defines.hpp | 6 ------ Kernel/NewKit/String.hpp | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'Kernel/NewKit') 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(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; -- cgit v1.2.3