summaryrefslogtreecommitdiffhomepage
path: root/dev/boot/src/HEL/AMD64/BootEFI.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-11 13:04:22 +0200
committerGitHub <noreply@github.com>2025-05-11 13:04:22 +0200
commit57d040e3e6b6d0257c0ba5a914396520b18d9d87 (patch)
tree78be4974d8a24e983034b0962ac5435f1b1d0b53 /dev/boot/src/HEL/AMD64/BootEFI.cc
parent7690c1976b3127e17370708aef47ba3f18f3b8c2 (diff)
parentf775566da3cf4f8e3ffd4ca6dfe0a3c7776c3b35 (diff)
Merge pull request #30 from nekernel-org/dev0.0.2e2
0.0.2e2
Diffstat (limited to 'dev/boot/src/HEL/AMD64/BootEFI.cc')
-rw-r--r--dev/boot/src/HEL/AMD64/BootEFI.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev/boot/src/HEL/AMD64/BootEFI.cc b/dev/boot/src/HEL/AMD64/BootEFI.cc
index 260d7c00..dbc12265 100644
--- a/dev/boot/src/HEL/AMD64/BootEFI.cc
+++ b/dev/boot/src/HEL/AMD64/BootEFI.cc
@@ -17,11 +17,6 @@
#include <modules/CoreGfx/CoreGfx.h>
#include <modules/CoreGfx/TextGfx.h>
-// Makes the compiler shut up.
-#ifndef kMachineModel
-#define kMachineModel "OS"
-#endif // !kMachineModel
-
/** Graphics related. */
STATIC EfiGraphicsOutputProtocol* kGop = nullptr;
@@ -136,14 +131,14 @@ EFI_EXTERN_C EFI_API Int32 BootloaderMain(EfiHandlePtr image_handle, EfiSystemTa
Int32 trials = 5 * 10000000;
writer.Write("BootZ: Welcome to BootZ.\r");
- writer.Write("BootZ: Allocating sufficent memory, trying 4GB...\r");
+ writer.Write("BootZ: Allocating sufficient memory, trying 4GB...\r");
while (BS->AllocatePool(EfiLoaderData, handover_hdr->f_BitMapSize,
&handover_hdr->f_BitMapStart) != kEfiOk) {
--trials;
if (!trials) {
- writer.Write("BootZ: Unable to allocate sufficent memory, trying again with 2GB...\r");
+ writer.Write("BootZ: Unable to allocate sufficient memory, trying again with 2GB...\r");
trials = 3 * 10000000;