summaryrefslogtreecommitdiffhomepage
path: root/dev/ZBA/Sources
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-09-01 11:21:55 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-09-01 11:21:55 +0200
commit1af5efb5c96af6f3246c8eae42912b2fbcd7f006 (patch)
tree9cf4cf8d7ed93eef0ff3daac211879cb9a961c81 /dev/ZBA/Sources
parente757bb6a90c98f53995e4828d68eba26a2327540 (diff)
Many bug fixes, and wip fixes.
RoadMap: - Ring-3 switch [ Still gives GPF ] - Make timer interrupt on non SMP profile. - Work on SMP support, to offload tasks to other cores. - Validate kernel and components (compiler, dlls, programs...) Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZBA/Sources')
-rw-r--r--dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx3
-rw-r--r--dev/ZBA/Sources/HEL/AMD64/BootMain.cxx4
2 files changed, 7 insertions, 0 deletions
diff --git a/dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx b/dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx
index c8e0bb4e..c2dff978 100644
--- a/dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx
+++ b/dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx
@@ -13,6 +13,7 @@
#include <BootKit/BootKit.hxx>
#include <FirmwareKit/Handover.hxx>
#include <FirmwareKit/EFI/API.hxx>
+#include <Modules/CoreCG/TextRenderer.hxx>
/// @file BootFileReader
/// @brief Bootloader File reader.
@@ -85,6 +86,8 @@ BFileReader::BFileReader(const CharacterTypeUTF16* path,
.Write(L"\r");
this->mErrorCode = kNotSupported;
+ CGDrawString("NEWOSLDR: PLEASE RECOVER YOUR NEWOSKRNL INSTALL.", 40, 10, RGB(0xFF, 0xFF, 0xFF));
+
mRootFs->Close(mRootFs);
return;
diff --git a/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx b/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx
index cd131a2d..67b2a478 100644
--- a/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx
+++ b/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx
@@ -265,6 +265,10 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle,
loader = new Boot::BThread(readerKernel.Blob());
loader->SetName("64-bit Kernel DLL.");
}
+ else
+ {
+ CGDrawString("NEWOSLDR: PLEASE RECOVER YOUR NEWOSKRNL INSTALL.", 40, 10, RGB(0xFF, 0xFF, 0xFF));
+ }
EFI::ExitBootServices(MapKey, ImageHandle);