diff options
| author | Amlal EL Mahrouss. <113760121+amlel-el-mahrouss@users.noreply.github.com> | 2024-11-29 22:19:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-29 22:19:00 +0100 |
| commit | b2588beae1dceeb0a0c5e95976874c6d6d53c703 (patch) | |
| tree | fc2f1e9fa9232693785452d4a1e887ff06d36b6a /dev/Modules | |
| parent | 8e42fab37245bb27786191600d4a3dc39783eece (diff) | |
| parent | 65a138dde55e69cf5292c0601f37d023003e74e2 (diff) | |
Merge pull request #5 from ELMH-Group/unstable
Unstable -> Master
Diffstat (limited to 'dev/Modules')
| -rw-r--r-- | dev/Modules/ACPI/ACPI.h | 2 | ||||
| -rw-r--r-- | dev/Modules/ACPI/ACPIFactoryInterface.h | 2 | ||||
| -rw-r--r-- | dev/Modules/AHCI/AHCI.h | 2 | ||||
| -rw-r--r-- | dev/Modules/APM/APM.h | 2 | ||||
| -rw-r--r-- | dev/Modules/ATA/ATA.h | 2 | ||||
| -rw-r--r-- | dev/Modules/FB/FB.h | 2 | ||||
| -rw-r--r-- | dev/Modules/FB/Text.h | 2 | ||||
| -rw-r--r-- | dev/Modules/FB/WS.h | 65 | ||||
| -rw-r--r-- | dev/Modules/Flash/Flash.h | 2 | ||||
| -rw-r--r-- | dev/Modules/HPET/Defines.h | 2 | ||||
| -rw-r--r-- | dev/Modules/LTE/LTE.h | 2 | ||||
| -rw-r--r-- | dev/Modules/MBCI/Interface.h | 2 | ||||
| -rw-r--r-- | dev/Modules/MBCI/MBCI.h | 2 | ||||
| -rw-r--r-- | dev/Modules/NVME/NVME.h | 2 | ||||
| -rw-r--r-- | dev/Modules/ReadMe.md | 2 | ||||
| -rw-r--r-- | dev/Modules/SCSI/SCSI.h | 2 | ||||
| -rw-r--r-- | dev/Modules/WSGL/WSGL.h | 35 | ||||
| -rw-r--r-- | dev/Modules/XHCI/Defines.h | 2 |
18 files changed, 16 insertions, 116 deletions
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 deleted file mode 100644 index 60c7a78c..00000000 --- a/dev/Modules/FB/WS.h +++ /dev/null @@ -1,65 +0,0 @@ -/* ------------------------------------------- - - Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. - -------------------------------------------- */ - -#pragma once - -#include <ArchKit/ArchKit.h> -#include <NewKit/Utils.h> - -/// @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/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 deleted file mode 100644 index 59cf6f5c..00000000 --- a/dev/Modules/WSGL/WSGL.h +++ /dev/null @@ -1,35 +0,0 @@ -/* -------------------------------------------
-
- Copyright (C) 2024, EL Mahrouss Logic, all rights reserved.
-
-------------------------------------------- */
-
-#pragma once
-
-#include <NewKit/Defines.h>
-#include <Modules/FB/WS.h>
-
-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/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. |
