summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/HALKit/ARM64
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-25 14:04:14 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-25 14:04:14 +0100
commit4ed658c633ce5d7c5bde4acdbe322e5f51592369 (patch)
tree2eaf1d46946bf86123f1561338c81aaff8956662 /dev/Kernel/HALKit/ARM64
parent02fd0b59edbcb2b5c08ab1f36bbffc12ba08a5d3 (diff)
IMPL: Important refactors and improvements of ZkaOS.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/HALKit/ARM64')
-rw-r--r--dev/Kernel/HALKit/ARM64/HalKernelMain.cc6
-rw-r--r--dev/Kernel/HALKit/ARM64/Storage/.gitkeep0
-rw-r--r--dev/Kernel/HALKit/ARM64/Storage/HalFlashMemory.cc (renamed from dev/Kernel/HALKit/ARM64/Storage/HalFlash.cc)6
3 files changed, 6 insertions, 6 deletions
diff --git a/dev/Kernel/HALKit/ARM64/HalKernelMain.cc b/dev/Kernel/HALKit/ARM64/HalKernelMain.cc
index 3892e31b..ff4676e4 100644
--- a/dev/Kernel/HALKit/ARM64/HalKernelMain.cc
+++ b/dev/Kernel/HALKit/ARM64/HalKernelMain.cc
@@ -5,7 +5,7 @@
------------------------------------------- */
#include <ArchKit/ArchKit.h>
-#include <Modules/FB/FB.h>
+#include <Modules/GfxMgr/FBMgr.h>
#include <FirmwareKit/Handover.h>
#include <KernelKit/FileMgr.h>
#include <KernelKit/Heap.h>
@@ -15,7 +15,7 @@
#include <KernelKit/CodeMgr.h>
#include <Modules/ACPI/ACPIFactoryInterface.h>
#include <NetworkKit/IPC.h>
-#include <Modules/FB/AppearanceMgr.h>
+#include <Modules/GfxMgr/AppearanceMgr.h>
#include <CFKit/Property.h>
Kernel::Void hal_real_init(Kernel::Void) noexcept;
@@ -47,7 +47,7 @@ EXTERN_C void hal_init_platform(
/// @note do initialize the interrupts after it.
- CG::ui_draw_background();
+ UI::ui_draw_background();
auto str_proc = Kernel::rt_alloc_string("System");
Kernel::rtl_create_process(rtl_kernel_main, str_proc);
diff --git a/dev/Kernel/HALKit/ARM64/Storage/.gitkeep b/dev/Kernel/HALKit/ARM64/Storage/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/dev/Kernel/HALKit/ARM64/Storage/.gitkeep
+++ /dev/null
diff --git a/dev/Kernel/HALKit/ARM64/Storage/HalFlash.cc b/dev/Kernel/HALKit/ARM64/Storage/HalFlashMemory.cc
index 9bd71b57..d5a9ecf4 100644
--- a/dev/Kernel/HALKit/ARM64/Storage/HalFlash.cc
+++ b/dev/Kernel/HALKit/ARM64/Storage/HalFlashMemory.cc
@@ -10,13 +10,13 @@
/// @file Flash.cc
/// @brief Flash memory builtin.
-#ifdef __USE_MBCI_FLASH__
+#ifdef ZKA_USE_MBCI_FLASH
#define kMaxFlash (4U)
namespace Kernel
{
- /// /:/BRIDGE/FLSH/1
+ /// /Mount/Flash/n
constexpr auto kFlashBridgeMagic = "FLSH";
constexpr auto kFlashBridgeRevision = 1;
@@ -63,4 +63,4 @@ namespace Kernel
}
} // namespace Kernel
-#endif // if __USE_MBCI_FLASH__ (Bridge)
+#endif // if ZKA_USE_MBCI_FLASH (Bridge)