diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-02-21 06:10:42 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-02-21 06:10:42 +0100 |
| commit | 6bcd425f0ee691eceeec5b3c6743aca4b0bbf66c (patch) | |
| tree | 16e6fb5a7cfc8304b35383543d88bce363911c3c /src/boot | |
| parent | 0497cb15ae35a38847e0b5914a03c29d686369f0 (diff) | |
feat: BootZ: BootThread and other modules patches and hardening. Copyright year updates.
feat: Kernel: Copyright year updates.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/boot')
| -rw-r--r-- | src/boot/src/BootFileReader.cc | 6 | ||||
| -rw-r--r-- | src/boot/src/BootThread.cc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/boot/src/BootFileReader.cc b/src/boot/src/BootFileReader.cc index 07f1d3c2..9deeeb4b 100644 --- a/src/boot/src/BootFileReader.cc +++ b/src/boot/src/BootFileReader.cc @@ -1,4 +1,4 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org) // Licensed under the Apache License, Version 2.0 (see LICENSE file) // Official repository: https://github.com/nekernel-org/nekernel @@ -69,7 +69,7 @@ Boot::BootFileReader::BootFileReader(const CharacterTypeUTF16* path, EfiHandlePt mWriter.Write(L"BootZ: Fetch-Protocol: No-Such-Path: ").Write(mPath).Write(L"\r"); this->mErrorCode = kNotSupported; - cg_render_string("BootZ: PLEASE RECOVER YOUR NEKERNEL INSTALL.", 40, 10, RGB(0xFF, 0xFF, 0xFF)); + cg_render_string("BOOTZ: PLEASE RECOVER YOUR NEKERNEL INSTALL.", 40, 10, RGB(0xFF, 0xFF, 0xFF)); mRootFs->Close(mRootFs); @@ -114,7 +114,7 @@ Void Boot::BootFileReader::ReadAll(SizeT readUntil, SizeT chunkToRead, UIntPtr o if (mFile->GetInfo(mFile, &kFileInfoGUID, &szInfo, &newPtrInfo) == kEfiOk) { readUntil = newPtrInfo.FileSize; - mWriter.Write(L"BootZ: File size: ").Write(readUntil).Write("\r"); + mWriter.Write(L"BootZ: File-Size: ").Write(readUntil).Write("\r"); } if (readUntil == 0) { diff --git a/src/boot/src/BootThread.cc b/src/boot/src/BootThread.cc index 2da5f638..c75ff41d 100644 --- a/src/boot/src/BootThread.cc +++ b/src/boot/src/BootThread.cc @@ -1,4 +1,4 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org) // Licensed under the Apache License, Version 2.0 (see LICENSE file) // Official repository: https://github.com/nekernel-org/nekernel @@ -80,7 +80,7 @@ BootThread::BootThread(VoidPtr blob) : fStartAddress(nullptr), fBlob(blob) { fStack = new UInt8[kBootThreadSz]; if (!fStack) { - writer.Write("BootZ: Unable to allocate stack.\r"); + writer.Write("BootZ: Unable to allocate the stack for the thread.\r"); return; } @@ -143,7 +143,7 @@ BootThread::BootThread(VoidPtr blob) : fStartAddress(nullptr), fBlob(blob) { } } - writer.Write("BootZ: Raw offset: ") + writer.Write("BootZ: Raw-Offset: ") .Write(sect->PointerToRawData) .Write(" of ") .Write(sect->Name) |
