diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-28 19:24:02 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-28 19:24:02 +0100 |
| commit | a71e1f4adc378ae69a001a9b7103c37ce1b1ee64 (patch) | |
| tree | dde8530831d997b414524c1bc78e28c060d87b9b /Private/HALKit | |
| parent | 1ab61e6bb20dd39f85fca30c1d0a83db12fea9d6 (diff) | |
Kernel: Add splash screen, fixing interrupt handler.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit')
| -rw-r--r-- | Private/HALKit/AMD64/HalKernelMain.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Private/HALKit/AMD64/HalKernelMain.cxx b/Private/HALKit/AMD64/HalKernelMain.cxx index eaddb338..a9e15820 100644 --- a/Private/HALKit/AMD64/HalKernelMain.cxx +++ b/Private/HALKit/AMD64/HalKernelMain.cxx @@ -13,8 +13,7 @@ #include <KernelKit/FileManager.hpp> #include <KernelKit/Framebuffer.hpp> #include <KernelKit/PEFCodeManager.hxx> -#include <KernelKit/Rsrc/Award.hxx> -#include <KernelKit/Rsrc/HCore.hxx> +#include <KernelKit/Rsrc/Splash.hxx> #include <KernelKit/Rsrc/Util.hxx> #include <NewKit/Json.hpp> #include <NewKit/KernelHeap.hpp> @@ -91,6 +90,10 @@ EXTERN_C void RuntimeMain( HCore::HAL::IDTLoader idt; idt.Load(idtBase); + KeInitRsrc(); + KeDrawRsrc(MahroussLogic, MAHROUSSLOGIC_HEIGHT, MAHROUSSLOGIC_WIDTH, ((kHandoverHeader->f_GOP.f_Width - MAHROUSSLOGIC_WIDTH) / 2.5), ((kHandoverHeader->f_GOP.f_Height - MAHROUSSLOGIC_HEIGHT) / 2.5)); + KeClearRsrc(); + Detail::_ke_power_on_self_test(); HCore::kcout << "HCoreKrnl: System Call issued, everything is OK...\r\n"; |
