diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-29 12:29:21 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-29 12:29:21 +0200 |
| commit | a6eb9a77787f63f08470c3ff12ac0517b482ea65 (patch) | |
| tree | c570fd7ba45aa4fb809d6b9b39fd258a5097f6cc /dev/zka/HALKit | |
| parent | 7fdd5033ec93694b57d3471ff9a78164ec76943d (diff) | |
IMP: Design changes and reworked WM to PDM.
- Refactor other modules and drivers as well.
- AMD64 HAL code improvements as well.
The last thing left is the paging API and driver loading internal API.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/zka/HALKit')
| -rw-r--r-- | dev/zka/HALKit/AMD64/HalBMPMgr.cxx | 2 | ||||
| -rw-r--r-- | dev/zka/HALKit/AMD64/HalCoreMPScheduler.cxx | 4 | ||||
| -rw-r--r-- | dev/zka/HALKit/AMD64/HalKernelMain.cxx | 10 | ||||
| -rw-r--r-- | dev/zka/HALKit/ARM64/HalKernelMain.cxx | 8 |
4 files changed, 5 insertions, 19 deletions
diff --git a/dev/zka/HALKit/AMD64/HalBMPMgr.cxx b/dev/zka/HALKit/AMD64/HalBMPMgr.cxx index 0c941977..b22e96ec 100644 --- a/dev/zka/HALKit/AMD64/HalBMPMgr.cxx +++ b/dev/zka/HALKit/AMD64/HalBMPMgr.cxx @@ -15,7 +15,7 @@ #endif #include <NewKit/Defines.hxx> -#include <NewKit/KernelCheck.hxx> +#include <NewKit/Stop.hxx> #define cBitMapMagIdx 0 #define cBitMapSizeIdx 1 diff --git a/dev/zka/HALKit/AMD64/HalCoreMPScheduler.cxx b/dev/zka/HALKit/AMD64/HalCoreMPScheduler.cxx index 4c36c278..18ab835c 100644 --- a/dev/zka/HALKit/AMD64/HalCoreMPScheduler.cxx +++ b/dev/zka/HALKit/AMD64/HalCoreMPScheduler.cxx @@ -7,12 +7,12 @@ #include <Modules/ACPI/ACPIFactoryInterface.hxx> #include <KernelKit/UserProcessScheduler.hxx> #include <HALKit/AMD64/Processor.hxx> -#include <NewKit/KernelCheck.hxx> +#include <NewKit/Stop.hxx> #include <ArchKit/ArchKit.hxx> #include <KernelKit/Semaphore.hxx> #include <KernelKit/UserProcessScheduler.hxx> #include <KernelKit/Timer.hxx> -#include <Modules/CoreCG/Text.hxx> +#include <Modules/FB/Text.hxx> // Needed for SMP. // #include <FirmwareKit/EFI.hxx> diff --git a/dev/zka/HALKit/AMD64/HalKernelMain.cxx b/dev/zka/HALKit/AMD64/HalKernelMain.cxx index 6bce92c2..83c51734 100644 --- a/dev/zka/HALKit/AMD64/HalKernelMain.cxx +++ b/dev/zka/HALKit/AMD64/HalKernelMain.cxx @@ -5,20 +5,12 @@ ------------------------------------------- */ #include <ArchKit/ArchKit.hxx> -#include <Modules/CoreCG/FB.hxx> -#include <FirmwareKit/Handover.hxx> -#include <KernelKit/FileMgr.hxx> -#include <KernelKit/Heap.hxx> -#include <KernelKit/PEFCodeMgr.hxx> #include <KernelKit/UserProcessScheduler.hxx> -#include <NewKit/Json.hxx> -#include <Modules/CoreCG/Accessibility.hxx> #include <KernelKit/CodeMgr.hxx> #include <Modules/ACPI/ACPIFactoryInterface.hxx> #include <NetworkKit/IPC.hxx> #include <CFKit/Property.hxx> -#include <Modules/CoreCG/Text.hxx> -#include <Modules/CoreCG/Desktop.hxx> +#include <Modules/FB/Text.hxx> namespace Kernel::HAL { diff --git a/dev/zka/HALKit/ARM64/HalKernelMain.cxx b/dev/zka/HALKit/ARM64/HalKernelMain.cxx index d7252394..2a08bb57 100644 --- a/dev/zka/HALKit/ARM64/HalKernelMain.cxx +++ b/dev/zka/HALKit/ARM64/HalKernelMain.cxx @@ -5,19 +5,17 @@ ------------------------------------------- */ #include <ArchKit/ArchKit.hxx> -#include <Modules/CoreCG/FB.hxx> +#include <Modules/FB/FB.hxx> #include <FirmwareKit/Handover.hxx> #include <KernelKit/FileMgr.hxx> #include <KernelKit/Heap.hxx> #include <KernelKit/PEFCodeMgr.hxx> #include <KernelKit/UserProcessScheduler.hxx> #include <NewKit/Json.hxx> -#include <Modules/CoreCG/Accessibility.hxx> #include <KernelKit/CodeMgr.hxx> #include <Modules/ACPI/ACPIFactoryInterface.hxx> #include <NetworkKit/IPC.hxx> #include <CFKit/Property.hxx> -#include <Modules/CoreCG/Desktop.hxx> namespace Kernel::HAL { @@ -32,8 +30,6 @@ EXTERN_C Kernel::Void ke_dll_entrypoint(Kernel::Void); EXTERN_C void hal_init_platform( Kernel::HEL::HANDOVER_INFO_HEADER* HandoverHeader) { - /* Setup globals. */ - kHandoverHeader = HandoverHeader; if (kHandoverHeader->f_Magic != kHandoverMagic && @@ -42,8 +38,6 @@ EXTERN_C void hal_init_platform( return; } - CG::CGFillBackground(); - // get page size. kKernelBitMpSize = kHandoverHeader->f_BitMapSize; |
