From 6bcd425f0ee691eceeec5b3c6743aca4b0bbf66c Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 21 Feb 2026 06:10:42 +0100 Subject: feat: BootZ: BootThread and other modules patches and hardening. Copyright year updates. feat: Kernel: Copyright year updates. Signed-off-by: Amlal El Mahrouss --- src/boot/src/BootFileReader.cc | 6 +++--- src/boot/src/BootThread.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/boot') 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) -- cgit v1.2.3