From 21d71d46e7cb8d09a81119816c9ff390a521492d Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Tue, 26 Nov 2024 11:34:48 +0100 Subject: ELMH Group takes ownership of the code. Signed-off-by: Amlal EL Mahrouss --- dev/Modules/ACPI/ACPI.h | 2 +- dev/Modules/ACPI/ACPIFactoryInterface.h | 2 +- dev/Modules/AHCI/AHCI.h | 2 +- dev/Modules/APM/APM.h | 2 +- dev/Modules/ATA/ATA.h | 2 +- dev/Modules/FB/FB.h | 2 +- dev/Modules/FB/Text.h | 2 +- dev/Modules/FB/WS.h | 2 +- dev/Modules/Flash/Flash.h | 2 +- dev/Modules/HPET/Defines.h | 2 +- dev/Modules/LTE/LTE.h | 2 +- dev/Modules/MBCI/Interface.h | 2 +- dev/Modules/MBCI/MBCI.h | 2 +- dev/Modules/NVME/NVME.h | 2 +- dev/Modules/ReadMe.md | 2 +- dev/Modules/SCSI/SCSI.h | 2 +- dev/Modules/WSGL/WSGL.h | 2 +- dev/Modules/XHCI/Defines.h | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) (limited to 'dev/Modules') diff --git a/dev/Modules/ACPI/ACPI.h b/dev/Modules/ACPI/ACPI.h index 5e3a8ab4..d7401540 100644 --- a/dev/Modules/ACPI/ACPI.h +++ b/dev/Modules/ACPI/ACPI.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/ACPI/ACPIFactoryInterface.h b/dev/Modules/ACPI/ACPIFactoryInterface.h index 24b49429..c3b18b7d 100644 --- a/dev/Modules/ACPI/ACPIFactoryInterface.h +++ b/dev/Modules/ACPI/ACPIFactoryInterface.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/AHCI/AHCI.h b/dev/Modules/AHCI/AHCI.h index 207c9166..61cfe042 100644 --- a/dev/Modules/AHCI/AHCI.h +++ b/dev/Modules/AHCI/AHCI.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. File: AHCI.h Purpose: AHCI protocol defines. diff --git a/dev/Modules/APM/APM.h b/dev/Modules/APM/APM.h index 61fea20d..d8d7b107 100644 --- a/dev/Modules/APM/APM.h +++ b/dev/Modules/APM/APM.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/ATA/ATA.h b/dev/Modules/ATA/ATA.h index 876db96b..970a1dd0 100644 --- a/dev/Modules/ATA/ATA.h +++ b/dev/Modules/ATA/ATA.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. File: Defines.h Purpose: ATA header. diff --git a/dev/Modules/FB/FB.h b/dev/Modules/FB/FB.h index 49ff2c6a..1d68dc20 100644 --- a/dev/Modules/FB/FB.h +++ b/dev/Modules/FB/FB.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/FB/Text.h b/dev/Modules/FB/Text.h index abccb110..0b5aa7f8 100644 --- a/dev/Modules/FB/Text.h +++ b/dev/Modules/FB/Text.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/FB/WS.h b/dev/Modules/FB/WS.h index 60c7a78c..f16cabb4 100644 --- a/dev/Modules/FB/WS.h +++ b/dev/Modules/FB/WS.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/Flash/Flash.h b/dev/Modules/Flash/Flash.h index 01fe7957..3fe13d69 100644 --- a/dev/Modules/Flash/Flash.h +++ b/dev/Modules/Flash/Flash.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/HPET/Defines.h b/dev/Modules/HPET/Defines.h index 2d040cdf..1fd1d4d3 100644 --- a/dev/Modules/HPET/Defines.h +++ b/dev/Modules/HPET/Defines.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. File: HPET.h Purpose: HPET builtin. diff --git a/dev/Modules/LTE/LTE.h b/dev/Modules/LTE/LTE.h index 012d10c3..489ecc37 100644 --- a/dev/Modules/LTE/LTE.h +++ b/dev/Modules/LTE/LTE.h @@ -1,6 +1,6 @@ /* ------------------------------------------- -Copyright (C) 2024, EL Mahrouss Logic, all rights reserved.. +Copyright (C) 2024, ELMH Group, all rights reserved.. File: LTE\LTE.h. Purpose: LTE Standard Library. diff --git a/dev/Modules/MBCI/Interface.h b/dev/Modules/MBCI/Interface.h index d0d331d3..46c7e905 100644 --- a/dev/Modules/MBCI/Interface.h +++ b/dev/Modules/MBCI/Interface.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/MBCI/MBCI.h b/dev/Modules/MBCI/MBCI.h index 9e4a8e12..ff9f9e02 100644 --- a/dev/Modules/MBCI/MBCI.h +++ b/dev/Modules/MBCI/MBCI.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/NVME/NVME.h b/dev/Modules/NVME/NVME.h index a978dd20..8f1a1404 100644 --- a/dev/Modules/NVME/NVME.h +++ b/dev/Modules/NVME/NVME.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. Revision History: diff --git a/dev/Modules/ReadMe.md b/dev/Modules/ReadMe.md index 5bec0d73..070bb01d 100644 --- a/dev/Modules/ReadMe.md +++ b/dev/Modules/ReadMe.md @@ -4,4 +4,4 @@ They are pluggable modules for builtin hardware support. -###### Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. All rights reserved. +###### Copyright (C) 2024, ELMH Group, all rights reserved. All rights reserved. diff --git a/dev/Modules/SCSI/SCSI.h b/dev/Modules/SCSI/SCSI.h index 738a9aa2..4eb23ac5 100644 --- a/dev/Modules/SCSI/SCSI.h +++ b/dev/Modules/SCSI/SCSI.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/WSGL/WSGL.h b/dev/Modules/WSGL/WSGL.h index 59cf6f5c..b1dc8bb5 100644 --- a/dev/Modules/WSGL/WSGL.h +++ b/dev/Modules/WSGL/WSGL.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. ------------------------------------------- */ diff --git a/dev/Modules/XHCI/Defines.h b/dev/Modules/XHCI/Defines.h index aaf1b9e6..cec63321 100644 --- a/dev/Modules/XHCI/Defines.h +++ b/dev/Modules/XHCI/Defines.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + Copyright (C) 2024, ELMH Group, all rights reserved. File: Defines.h Purpose: XHCI (and backwards) header. -- cgit v1.2.3 From 49d8bce2413cc9497214cca88584917d9e9088c1 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Thu, 28 Nov 2024 18:29:13 +0100 Subject: IMP: Improve Kernel architecture. Signed-off-by: Amlal EL Mahrouss --- dev/Modules/FB/WS.h | 65 ----------------------------- dev/Modules/WSGL/WSGL.h | 35 ---------------- dev/ZKAKit/KernelKit/UserProcessScheduler.h | 11 ++--- dev/ZKAKit/src/WS/WS.cc | 7 ---- dev/ZKAKit/src/WS/WSGL.cc | 7 ---- zka-dev.files | 4 -- 6 files changed, 4 insertions(+), 125 deletions(-) delete mode 100644 dev/Modules/FB/WS.h delete mode 100644 dev/Modules/WSGL/WSGL.h delete mode 100644 dev/ZKAKit/src/WS/WS.cc delete mode 100644 dev/ZKAKit/src/WS/WSGL.cc (limited to 'dev/Modules') diff --git a/dev/Modules/FB/WS.h b/dev/Modules/FB/WS.h deleted file mode 100644 index f16cabb4..00000000 --- a/dev/Modules/FB/WS.h +++ /dev/null @@ -1,65 +0,0 @@ -/* ------------------------------------------- - - Copyright (C) 2024, ELMH Group, all rights reserved. - -------------------------------------------- */ - -#pragma once - -#include -#include - -/// @file WS.h -/// @brief WindowServer's window ownership implementation. -/// It is used to draw within a window. - -#define rtl_allocate_backbuffer(width, height) new WS::WSBackBufferKind[width * height] -#define rtl_compute_fb_geometry(width, height) (width * height) - -namespace WS -{ - using namespace Kernel; - - class WSWindowTexture; - class WSWindowContainer; - - typedef UInt32* WSBackBufferKind; - - class WSWindowContainer final - { - public: - WSWindowContainer() = default; - ~WSWindowContainer() = default; - - ZKA_COPY_DEFAULT(WSWindowContainer); - - /// @note the trick is, it could be GPU processed data, that's the cool thing. - BOOL Fill(WSBackBufferKind contents_buf, SizeT contents_len) - { - if (contents_len > BackBufferLength) - return NO; - - if (!contents_buf) - return NO; - - if (!BackBuffer || - !BackBufferLength) - return NO; - - rt_copy_memory(contents_buf, BackBuffer, contents_len); - return YES; - } - - BOOL Fill(WSWindowContainer* container) - { - if (!container) - return NO; - - return this->Fill(container->BackBuffer, container->BackBufferLength); - } - - public: - WSBackBufferKind BackBuffer{nullptr}; - SizeT BackBufferLength{0UL}; - }; -} // namespace WS diff --git a/dev/Modules/WSGL/WSGL.h b/dev/Modules/WSGL/WSGL.h deleted file mode 100644 index b1dc8bb5..00000000 --- a/dev/Modules/WSGL/WSGL.h +++ /dev/null @@ -1,35 +0,0 @@ -/* ------------------------------------------- - - Copyright (C) 2024, ELMH Group, all rights reserved. - -------------------------------------------- */ - -#pragma once - -#include -#include - -namespace WS -{ - /// @brief GPU texture class. - class WSWindowTexture final - { - public: - explicit WSWindowTexture() = default; - ~WSWindowTexture() = default; - - ZKA_COPY_DEFAULT(WSWindowTexture); - - VoidPtr InputData{nullptr}; - VoidPtr ProcessUnit{nullptr}; - BOOL* IsDone{nullptr}; - - const BOOL TryIsDone() - { - if (IsDone && *IsDone) - return YES; - - return NO; - } - }; -} // namespace WS diff --git a/dev/ZKAKit/KernelKit/UserProcessScheduler.h b/dev/ZKAKit/KernelKit/UserProcessScheduler.h index c32b5b60..e7b023ed 100644 --- a/dev/ZKAKit/KernelKit/UserProcessScheduler.h +++ b/dev/ZKAKit/KernelKit/UserProcessScheduler.h @@ -19,10 +19,11 @@ #define kSchedMaxMemoryLimit gib_cast(128) #define kSchedMaxStackSz mib_cast(8) -//////////////////////////////////////////////////// - -// LAST REV: Mon Feb 12 13:52:01 CET 2024 +#define kProcessInvalidID (-1) +#define kProcessNameLen (128U) +//////////////////////////////////////////////////// +// The current date is: Thu 11/28/2024 // //////////////////////////////////////////////////// namespace Kernel @@ -38,10 +39,6 @@ namespace Kernel //! @brief Local Process identifier. typedef Int64 ProcessID; - //! @brief Local Process name length. - inline constexpr SizeT kProcessNameLen = 128U; - inline constexpr ProcessID kProcessInvalidID = -1; - //! @brief Local Process status enum. enum class ProcessStatusKind : Int32 { diff --git a/dev/ZKAKit/src/WS/WS.cc b/dev/ZKAKit/src/WS/WS.cc deleted file mode 100644 index f58192cd..00000000 --- a/dev/ZKAKit/src/WS/WS.cc +++ /dev/null @@ -1,7 +0,0 @@ -/* ------------------------------------------- - - Copyright (C) 2024, ELMH Group, all rights reserved. - -------------------------------------------- */ - -#include \ No newline at end of file diff --git a/dev/ZKAKit/src/WS/WSGL.cc b/dev/ZKAKit/src/WS/WSGL.cc deleted file mode 100644 index d6875f87..00000000 --- a/dev/ZKAKit/src/WS/WSGL.cc +++ /dev/null @@ -1,7 +0,0 @@ -/* ------------------------------------------- - - Copyright (C) 2024, ELMH Group, all rights reserved. - -------------------------------------------- */ - -#include \ No newline at end of file diff --git a/zka-dev.files b/zka-dev.files index 96fe7f29..805855b3 100644 --- a/zka-dev.files +++ b/zka-dev.files @@ -21,7 +21,6 @@ dev/Modules/APM/APM.h dev/Modules/ATA/ATA.h dev/Modules/FB/FB.h dev/Modules/FB/Text.h -dev/Modules/FB/WS.h dev/Modules/Flash/Flash.h dev/Modules/GLCG/GLCG.h dev/Modules/GPRS/.keepme @@ -36,7 +35,6 @@ dev/Modules/OHCI/.gitkeep dev/Modules/ReadMe.md dev/Modules/SCSI/.gitkeep dev/Modules/SCSI/SCSI.h -dev/Modules/WSGL/WSGL.h dev/Modules/WiFi/.gitkeep dev/Modules/XHCI/.gitkeep dev/Modules/XHCI/Defines.h @@ -370,8 +368,6 @@ dev/ZKAKit/src/UserProcessScheduler.cc dev/ZKAKit/src/UserProcessTeam.cc dev/ZKAKit/src/Utils.cc dev/ZKAKit/src/Variant.cc -dev/ZKAKit/src/WS/WS.cc -dev/ZKAKit/src/WS/WSGL.cc dev/base/EncryptFS/build.json dev/base/EncryptFS/disk_crypt.h dev/base/EncryptFS/src/disk_crypt.cc -- cgit v1.2.3