diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-02-01 08:08:44 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-02-01 08:08:44 +0100 |
| commit | be3ec5e358fcf47ab1136b38f03c7348bb5390e9 (patch) | |
| tree | 3823779097e66cd1b73421eb2b4097f92491e41b | |
| parent | 0e3adadf557dd197423436a14e73feb5a20fad32 (diff) | |
See below.
- Remove useless imports (by Zed)
- Minor commit, refactors, that's it.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
| -rw-r--r-- | Private/NewBoot/BootKit/compile_flags.txt | 1 | ||||
| -rw-r--r-- | Private/NewBoot/Source/HEL/AMD64/BootKit.cxx | 2 | ||||
| -rw-r--r-- | Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx | 3 | ||||
| -rw-r--r-- | Private/Source/RuntimeMain.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Private/NewBoot/BootKit/compile_flags.txt b/Private/NewBoot/BootKit/compile_flags.txt index 45e268ea..e58d7ab9 100644 --- a/Private/NewBoot/BootKit/compile_flags.txt +++ b/Private/NewBoot/BootKit/compile_flags.txt @@ -1,2 +1,3 @@ -std=c++20 -I../ +-I../../ diff --git a/Private/NewBoot/Source/HEL/AMD64/BootKit.cxx b/Private/NewBoot/Source/HEL/AMD64/BootKit.cxx index d5b4ee9e..43a79b41 100644 --- a/Private/NewBoot/Source/HEL/AMD64/BootKit.cxx +++ b/Private/NewBoot/Source/HEL/AMD64/BootKit.cxx @@ -10,8 +10,6 @@ #include <BootKit/BootKit.hxx> #include <EFIKit/EFILib.hxx> -#include "NewKit/Defines.hpp" - /// bugs 0 HCore::SizeT BStrLen(const CharacterType *ptr) { diff --git a/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx b/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx index 17d308df..d1d230b6 100644 --- a/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx +++ b/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx @@ -28,7 +28,8 @@ EFI_EXTERN_C int EfiMain(EfiHandlePtr ImageHandle, auto blob = reader.ReadAll(); if (!blob) - KeRuntimeStop(L"HCoreLdr", L"Couldn't find HCoreKrnl.exe! Aborting..."); + KeRuntimeStop(L"HCoreLdr_NoSuchKernel", + L"Couldn't find HCoreKrnl.exe! Aborting..."); EFI::ExitBootServices(SystemTable, mapKey, ImageHandle); EFI::Stop(); diff --git a/Private/Source/RuntimeMain.cxx b/Private/Source/RuntimeMain.cxx index bc13f6e7..94f8ba67 100644 --- a/Private/Source/RuntimeMain.cxx +++ b/Private/Source/RuntimeMain.cxx @@ -14,7 +14,7 @@ #include <NewKit/KernelHeap.hpp> #include <NewKit/UserHeap.hpp> -/// PRIVATE SYMBOLS EXPORTED BY GCC. +/// PRIVATE SYMBOLS EXPORTED BY C++ COMPILER. extern "C" void (*__SYSTEM_FINI)(); extern "C" void (**__SYSTEM_INIT)(); |
