summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-13 15:52:14 +0200
committerAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-13 15:52:14 +0200
commit70ae21935c7c68ed8a380611481b553b94cee657 (patch)
tree00f767e585a8b41c9f4492fc16fb17bd2ed7a99a
parent2f921f57ec48cc8c98882d7150a08c354b60bb72 (diff)
MHR-31: common namespace, mahrouss api.
Signed-off-by: Amlal EL Mahrouss <amlal@softwarelabs.com>
-rw-r--r--Kernel/FirmwareKit/EFI.hxx2
-rw-r--r--Kernel/NewKit/Defines.hpp6
2 files changed, 8 insertions, 0 deletions
diff --git a/Kernel/FirmwareKit/EFI.hxx b/Kernel/FirmwareKit/EFI.hxx
index 4b230489..c83d62fe 100644
--- a/Kernel/FirmwareKit/EFI.hxx
+++ b/Kernel/FirmwareKit/EFI.hxx
@@ -5,3 +5,5 @@
------------------------------------------- */
#include <FirmwareKit/EFI/EFI.hxx>
+
+/// @note this header is used to reference the EFI/EFI.hxx \ No newline at end of file
diff --git a/Kernel/NewKit/Defines.hpp b/Kernel/NewKit/Defines.hpp
index 3210f1ef..96f13fd9 100644
--- a/Kernel/NewKit/Defines.hpp
+++ b/Kernel/NewKit/Defines.hpp
@@ -133,6 +133,12 @@ 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) \