diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-27 08:55:09 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-27 08:55:09 +0100 |
| commit | e159d3895e29f38ec1345d396a593a04b7475b92 (patch) | |
| tree | 5be83ae6f069465780504a642f00955aa3e7b509 /src/boot | |
| parent | 9e746d42d2e3faa526f12ba222f5ee6924dd30f9 (diff) | |
kernel! giant source code refactor.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/boot')
30 files changed, 93 insertions, 190 deletions
diff --git a/src/boot/BootKit/BitManip.h b/src/boot/BootKit/BitManip.h index 32795328..ea64ece7 100644 --- a/src/boot/BootKit/BitManip.h +++ b/src/boot/BootKit/BitManip.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef __BITMANIP_H__ #define __BITMANIP_H__ diff --git a/src/boot/BootKit/BootKit.h b/src/boot/BootKit/BootKit.h index c7057d4b..2add0fcc 100644 --- a/src/boot/BootKit/BootKit.h +++ b/src/boot/BootKit/BootKit.h @@ -1,13 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ - -/***********************************************************************************/ -/// @file BootKit.h -/// @brief Bootloader Application Programming Interface. -/***********************************************************************************/ +// Copyright 2024-2025, 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 #ifndef __BOOTKIT_H__ #define __BOOTKIT_H__ diff --git a/src/boot/BootKit/BootThread.h b/src/boot/BootKit/BootThread.h index cde4e65e..57fe5754 100644 --- a/src/boot/BootKit/BootThread.h +++ b/src/boot/BootKit/BootThread.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef BOOTKIT_BOOTTHREAD_H #define BOOTKIT_BOOTTHREAD_H diff --git a/src/boot/BootKit/Config.h b/src/boot/BootKit/Config.h index 42063d45..11832840 100644 --- a/src/boot/BootKit/Config.h +++ b/src/boot/BootKit/Config.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef __BOOTKIT_CONFIG_H__ #define __BOOTKIT_CONFIG_H__ diff --git a/src/boot/BootKit/Device.h b/src/boot/BootKit/Device.h index e54d0bf1..728133c7 100644 --- a/src/boot/BootKit/Device.h +++ b/src/boot/BootKit/Device.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef __BOOTKIT_DEVICE_H__ #define __BOOTKIT_DEVICE_H__ diff --git a/src/boot/BootKit/EPM.h b/src/boot/BootKit/EPM.h index 5657337a..407e995b 100644 --- a/src/boot/BootKit/EPM.h +++ b/src/boot/BootKit/EPM.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef __BOOTKIT_EPM_H__ #define __BOOTKIT_EPM_H__ diff --git a/src/boot/BootKit/HW/ATA.h b/src/boot/BootKit/HW/ATA.h index db35fa64..aeaa003a 100644 --- a/src/boot/BootKit/HW/ATA.h +++ b/src/boot/BootKit/HW/ATA.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef BOOTKIT_ATA_H #define BOOTKIT_ATA_H diff --git a/src/boot/BootKit/HW/SATA.h b/src/boot/BootKit/HW/SATA.h index 90f7afbb..ab1b8196 100644 --- a/src/boot/BootKit/HW/SATA.h +++ b/src/boot/BootKit/HW/SATA.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef BOOTKIT_SATA_H #define BOOTKIT_SATA_H diff --git a/src/boot/BootKit/Platform.h b/src/boot/BootKit/Platform.h index 242716c5..61910bdb 100644 --- a/src/boot/BootKit/Platform.h +++ b/src/boot/BootKit/Platform.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef BOOTKIT_PLATFORM_H #define BOOTKIT_PLATFORM_H diff --git a/src/boot/BootKit/Protocol.h b/src/boot/BootKit/Protocol.h index 6b4544ce..efae47ae 100644 --- a/src/boot/BootKit/Protocol.h +++ b/src/boot/BootKit/Protocol.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef BOOTKIT_PROTOCOL_H #define BOOTKIT_PROTOCOL_H diff --git a/src/boot/BootKit/Qr.h b/src/boot/BootKit/Qr.h index a07e03c9..33e72051 100644 --- a/src/boot/BootKit/Qr.h +++ b/src/boot/BootKit/Qr.h @@ -1,3 +1,7 @@ +// Copyright 2024-2025, 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 + #ifndef QR_H #define QR_H diff --git a/src/boot/BootKit/QrPrelude.h b/src/boot/BootKit/QrPrelude.h index 0717db6a..d9b30df3 100644 --- a/src/boot/BootKit/QrPrelude.h +++ b/src/boot/BootKit/QrPrelude.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef BOOTKIT_QRPRELUDE_H #define BOOTKIT_QRPRELUDE_H diff --git a/src/boot/BootKit/Shared/base.h b/src/boot/BootKit/Shared/base.h index c95db0cc..4d2d9a91 100644 --- a/src/boot/BootKit/Shared/base.h +++ b/src/boot/BootKit/Shared/base.h @@ -1,3 +1,7 @@ +// Copyright 2024-2025, 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 + #ifndef UTL_BASE_H #define UTL_BASE_H diff --git a/src/boot/BootKit/Shared/bit.h b/src/boot/BootKit/Shared/bit.h index 1ac29c89..74143bbc 100644 --- a/src/boot/BootKit/Shared/bit.h +++ b/src/boot/BootKit/Shared/bit.h @@ -1,3 +1,7 @@ +// Copyright 2024-2025, 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 + #ifndef UTL_BIT_H #define UTL_BIT_H diff --git a/src/boot/BootKit/Support.h b/src/boot/BootKit/Support.h index b51112ef..bcb13827 100644 --- a/src/boot/BootKit/Support.h +++ b/src/boot/BootKit/Support.h @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #ifndef BOOTKIT_SUPPORT_H #define BOOTKIT_SUPPORT_H diff --git a/src/boot/modules/BootNet/BootNet.cc b/src/boot/modules/BootNet/BootNet.cc index 21981ad3..8b0112c5 100644 --- a/src/boot/modules/BootNet/BootNet.cc +++ b/src/boot/modules/BootNet/BootNet.cc @@ -1,11 +1,6 @@ -/* - * ======================================================== - * - * BootNet - * Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - * - * ======================================================== - */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/BootThread.h> diff --git a/src/boot/modules/BootNet/BootNet.h b/src/boot/modules/BootNet/BootNet.h index b8498608..6ea5a9dd 100644 --- a/src/boot/modules/BootNet/BootNet.h +++ b/src/boot/modules/BootNet/BootNet.h @@ -1,11 +1,6 @@ -/* - * ======================================================== - * - * BootNet - * Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - * - * ======================================================== - */ +// Copyright 2024-2025, 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 #ifndef BOOTNET_BOOTNET_H #define BOOTNET_BOOTNET_H diff --git a/src/boot/modules/SysChk/SysChk.cc b/src/boot/modules/SysChk/SysChk.cc index 0706d457..baedf3e8 100644 --- a/src/boot/modules/SysChk/SysChk.cc +++ b/src/boot/modules/SysChk/SysChk.cc @@ -1,11 +1,6 @@ -/* - * ======================================================== - * - * SysChk - * Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - * - * ======================================================== - */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/BootThread.h> diff --git a/src/boot/src/BootFileReader.cc b/src/boot/src/BootFileReader.cc index a929bb93..07f1d3c2 100644 --- a/src/boot/src/BootFileReader.cc +++ b/src/boot/src/BootFileReader.cc @@ -1,12 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - - File: FileReader.cc - Purpose: New Boot FileReader, - Read complete file and store it in a buffer. - -======================================== */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/Platform.h> diff --git a/src/boot/src/BootString.cc b/src/boot/src/BootString.cc index 6dadda3f..6cda5f24 100644 --- a/src/boot/src/BootString.cc +++ b/src/boot/src/BootString.cc @@ -1,15 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - - File: BootString.cc - Purpose: BootZ string library - - Revision History: - - - -======================================== */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/Platform.h> diff --git a/src/boot/src/BootSupport.cc b/src/boot/src/BootSupport.cc index ab3a5bd4..cb6d9d0b 100644 --- a/src/boot/src/BootSupport.cc +++ b/src/boot/src/BootSupport.cc @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/Support.h> diff --git a/src/boot/src/BootTextWriter.cc b/src/boot/src/BootTextWriter.cc index 92ace7d3..e980b0ae 100644 --- a/src/boot/src/BootTextWriter.cc +++ b/src/boot/src/BootTextWriter.cc @@ -1,15 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - - File: BootTextWriter.cc - Purpose: BootZ string library - - Revision History: - - - -======================================== */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/Platform.h> diff --git a/src/boot/src/BootThread.cc b/src/boot/src/BootThread.cc index fcd0d0a3..ec26209b 100644 --- a/src/boot/src/BootThread.cc +++ b/src/boot/src/BootThread.cc @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/BootThread.h> diff --git a/src/boot/src/HEL/AMD64/BootATA.cc b/src/boot/src/HEL/AMD64/BootATA.cc index 0276ca4c..423f4437 100644 --- a/src/boot/src/HEL/AMD64/BootATA.cc +++ b/src/boot/src/HEL/AMD64/BootATA.cc @@ -1,19 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss/Symphony Corp, licensed under the Apache 2.0 license. - -======================================== */ - -/** - * @file BootATA.cc - * @author Amlal El Mahrouss (amlal@nekernel.org) - * @brief ATA driver. - * @version 0.1 - * @date 2024-02-02 - * - * @copyright Copyright (c) Amlal El Mahrouss - * - */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/HW/ATA.h> diff --git a/src/boot/src/HEL/AMD64/BootEFI.cc b/src/boot/src/HEL/AMD64/BootEFI.cc index c043bbb9..7d65b037 100644 --- a/src/boot/src/HEL/AMD64/BootEFI.cc +++ b/src/boot/src/HEL/AMD64/BootEFI.cc @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/BootThread.h> diff --git a/src/boot/src/HEL/AMD64/BootPlatform.cc b/src/boot/src/HEL/AMD64/BootPlatform.cc index 7d88b883..acdf8258 100644 --- a/src/boot/src/HEL/AMD64/BootPlatform.cc +++ b/src/boot/src/HEL/AMD64/BootPlatform.cc @@ -1,9 +1,6 @@ - -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/Platform.h> diff --git a/src/boot/src/HEL/AMD64/BootSATA.cc b/src/boot/src/HEL/AMD64/BootSATA.cc index b184e02e..c093179b 100644 --- a/src/boot/src/HEL/AMD64/BootSATA.cc +++ b/src/boot/src/HEL/AMD64/BootSATA.cc @@ -1,19 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ - -/** - * @file BootAHCI.cc - * @author Amlal El Mahrouss (amlal@nekernel.org) - * @brief SATA support for BootZ. - * @version 0.1 - * @date 2024-02-02 - * - * @copyright Copyright (c) Amlal El Mahrouss - * - */ +// Copyright 2024-2025, 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 #include <BootKit/HW/SATA.h> #include <BootKit/Platform.h> diff --git a/src/boot/src/HEL/ARM64/BootEFI.cc b/src/boot/src/HEL/ARM64/BootEFI.cc index bdef6549..a393e841 100644 --- a/src/boot/src/HEL/ARM64/BootEFI.cc +++ b/src/boot/src/HEL/ARM64/BootEFI.cc @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/BootThread.h> diff --git a/src/boot/src/HEL/ARM64/BootPlatform.cc b/src/boot/src/HEL/ARM64/BootPlatform.cc index 9da3a2a6..8e45fa60 100644 --- a/src/boot/src/HEL/ARM64/BootPlatform.cc +++ b/src/boot/src/HEL/ARM64/BootPlatform.cc @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/Platform.h> diff --git a/src/boot/src/New+Delete.cc b/src/boot/src/New+Delete.cc index dcbd31de..20965cbe 100644 --- a/src/boot/src/New+Delete.cc +++ b/src/boot/src/New+Delete.cc @@ -1,8 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ +// Copyright 2024-2025, 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 #include <BootKit/BootKit.h> #include <BootKit/Platform.h> |
