From e159d3895e29f38ec1345d396a593a04b7475b92 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 27 Dec 2025 08:55:09 +0100 Subject: kernel! giant source code refactor. Signed-off-by: Amlal El Mahrouss --- src/modules/ACPI/ACPI.h | 8 +++----- src/modules/ACPI/ACPIFactoryInterface.h | 8 +++----- src/modules/AHCI/AHCI.h | 15 +++------------ src/modules/APM/APM.h | 8 +++----- src/modules/ATA/ATA.h | 15 +++------------ src/modules/CoreGfx/CoreGfx.h | 8 +++----- src/modules/CoreGfx/TextGfx.h | 8 +++----- src/modules/MBCI/MBCI.h | 8 +++----- src/modules/NVME/NVME.h | 13 +++---------- src/modules/Power/PowerFactory.h | 8 +++----- src/modules/SCSI/SCSI.h | 8 +++----- src/modules/XHCI/XHCI.h | 16 +++------------- 12 files changed, 36 insertions(+), 87 deletions(-) (limited to 'src/modules') diff --git a/src/modules/ACPI/ACPI.h b/src/modules/ACPI/ACPI.h index 5977da61..4ebc6e2c 100644 --- a/src/modules/ACPI/ACPI.h +++ b/src/modules/ACPI/ACPI.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 __ACPI__ #define __ACPI__ diff --git a/src/modules/ACPI/ACPIFactoryInterface.h b/src/modules/ACPI/ACPIFactoryInterface.h index 372175b3..1949f9db 100644 --- a/src/modules/ACPI/ACPIFactoryInterface.h +++ b/src/modules/ACPI/ACPIFactoryInterface.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 __MOD_ACPI_H__ #define __MOD_ACPI_H__ diff --git a/src/modules/AHCI/AHCI.h b/src/modules/AHCI/AHCI.h index 8f17f6d8..7e933723 100644 --- a/src/modules/AHCI/AHCI.h +++ b/src/modules/AHCI/AHCI.h @@ -1,15 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - - File: AHCI.h - Purpose: AHCI protocol defines. - - Revision History: - - 03/02/24: Added file (amlel) - -======================================== */ +// 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 AHCI_AHCI_H #define AHCI_AHCI_H diff --git a/src/modules/APM/APM.h b/src/modules/APM/APM.h index a7932426..65d014d5 100644 --- a/src/modules/APM/APM.h +++ b/src/modules/APM/APM.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 APM_APM_H #define APM_APM_H diff --git a/src/modules/ATA/ATA.h b/src/modules/ATA/ATA.h index 626bb247..f3cd2ab8 100644 --- a/src/modules/ATA/ATA.h +++ b/src/modules/ATA/ATA.h @@ -1,15 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - - File: Config.h - Purpose: ATA header. - - Revision History: - - 03/02/24: Added file (amlel) - -======================================== */ +// 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 ATA_ATA_H #define ATA_ATA_H diff --git a/src/modules/CoreGfx/CoreGfx.h b/src/modules/CoreGfx/CoreGfx.h index 81d3fc62..470dd510 100644 --- a/src/modules/CoreGfx/CoreGfx.h +++ b/src/modules/CoreGfx/CoreGfx.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 COREGFX_COREGFX_H #define COREGFX_COREGFX_H diff --git a/src/modules/CoreGfx/TextGfx.h b/src/modules/CoreGfx/TextGfx.h index 221949c0..61df69d3 100644 --- a/src/modules/CoreGfx/TextGfx.h +++ b/src/modules/CoreGfx/TextGfx.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 COREGFX_TEXTGFX_H #define COREGFX_TEXTGFX_H diff --git a/src/modules/MBCI/MBCI.h b/src/modules/MBCI/MBCI.h index 1cefe034..daf1f02d 100644 --- a/src/modules/MBCI/MBCI.h +++ b/src/modules/MBCI/MBCI.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 _INC_MODULE_MBCI_H_ #define _INC_MODULE_MBCI_H_ diff --git a/src/modules/NVME/NVME.h b/src/modules/NVME/NVME.h index ee9002d4..62123ed8 100644 --- a/src/modules/NVME/NVME.h +++ b/src/modules/NVME/NVME.h @@ -1,13 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - - Revision History: - - ??/??/24: Added file (amlel) - 23 Jul 24: Update filename to Config.h and using NE_ALIGN_NVME for NVME structs. (amlel) - -======================================== */ +// 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 __MODULE_NVME_H__ #define __MODULE_NVME_H__ diff --git a/src/modules/Power/PowerFactory.h b/src/modules/Power/PowerFactory.h index 68f568b0..7e93af3f 100644 --- a/src/modules/Power/PowerFactory.h +++ b/src/modules/Power/PowerFactory.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 POWER_POWERFACTORY_H #define POWER_POWERFACTORY_H diff --git a/src/modules/SCSI/SCSI.h b/src/modules/SCSI/SCSI.h index 4ca79fdc..2aedc5fc 100644 --- a/src/modules/SCSI/SCSI.h +++ b/src/modules/SCSI/SCSI.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 SCSI_SCSI_H #define SCSI_SCSI_H diff --git a/src/modules/XHCI/XHCI.h b/src/modules/XHCI/XHCI.h index 16abf3f3..c3e06474 100644 --- a/src/modules/XHCI/XHCI.h +++ b/src/modules/XHCI/XHCI.h @@ -1,16 +1,6 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - - File: Config.h - Purpose: XHCI (and backwards) header. - - Revision History: - - 01/02/24: Added file (amlel) - 03/02/24: Update filename to Config.h (amlel) - -======================================== */ +// 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 XHCI_XHCI_H #define XHCI_XHCI_H -- cgit v1.2.3