diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-08-28 19:08:51 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-08-28 19:08:51 +0200 |
| commit | c2e183b46a71e001683fd3b613ce49c9534460e2 (patch) | |
| tree | e37395487edf6107485fa8cae826f5e6a65c063c /dev/DLL | |
| parent | d2e0804b019c3bece62e688bfdf6b590f26b1337 (diff) | |
Moved security dll, encryptfs dll and renderer dll into DLL!
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/DLL')
| -rw-r--r-- | dev/DLL/EFS/EncryptFS.hxx | 22 | ||||
| -rw-r--r-- | dev/DLL/EFS/ReadMe.md | 5 | ||||
| -rw-r--r-- | dev/DLL/EFS/Sources/EncryptBlock.cxx | 14 | ||||
| -rw-r--r-- | dev/DLL/EFS/Sources/Key.cxx | 12 | ||||
| -rw-r--r-- | dev/DLL/EFS/build.json | 20 | ||||
| -rw-r--r-- | dev/DLL/EFS/source_deploy.xml | 5 | ||||
| -rw-r--r-- | dev/DLL/RDR/.keep | 0 | ||||
| -rw-r--r-- | dev/DLL/RDR/ReadMe.md | 5 | ||||
| -rw-r--r-- | dev/DLL/RDR/Renderer.hxx | 28 | ||||
| -rw-r--r-- | dev/DLL/RDR/Sources/Renderer.cxx | 16 | ||||
| -rw-r--r-- | dev/DLL/RDR/build.json | 20 | ||||
| -rw-r--r-- | dev/DLL/SEC/.keep | 0 | ||||
| -rw-r--r-- | dev/DLL/SEC/build.json | 21 |
13 files changed, 168 insertions, 0 deletions
diff --git a/dev/DLL/EFS/EncryptFS.hxx b/dev/DLL/EFS/EncryptFS.hxx new file mode 100644 index 00000000..4aa82666 --- /dev/null +++ b/dev/DLL/EFS/EncryptFS.hxx @@ -0,0 +1,22 @@ +/* -------------------------------------------
+
+ Copyright ZKA Technologies.
+
+ File: Encrypt.hxx
+ Purpose: Encrypted File System
+
+ Revision History:
+
+ 8/8/2024: Added file (amlel)
+
+------------------------------------------- */
+
+#pragma once
+
+#include <FSKit/NewFS.hxx>
+
+namespace EncryptFS
+{
+ using namespace Kernel;
+
+}
\ No newline at end of file diff --git a/dev/DLL/EFS/ReadMe.md b/dev/DLL/EFS/ReadMe.md new file mode 100644 index 00000000..69968538 --- /dev/null +++ b/dev/DLL/EFS/ReadMe.md @@ -0,0 +1,5 @@ +# ZKA Encrypted File System. + +This is ZKA's Encrypted file system DLL. + +###### (c) ZKA Technologies, all rights reserved. diff --git a/dev/DLL/EFS/Sources/EncryptBlock.cxx b/dev/DLL/EFS/Sources/EncryptBlock.cxx new file mode 100644 index 00000000..09b8c0d9 --- /dev/null +++ b/dev/DLL/EFS/Sources/EncryptBlock.cxx @@ -0,0 +1,14 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + +------------------------------------------- */ + +#include <cstddef> +#include <cstdint> + +enum +{ + eEFSFlagEncrypted = 0x3f, + eEFSFlagEncryptedEPM = 0xf3, +}; diff --git a/dev/DLL/EFS/Sources/Key.cxx b/dev/DLL/EFS/Sources/Key.cxx new file mode 100644 index 00000000..457ce1b8 --- /dev/null +++ b/dev/DLL/EFS/Sources/Key.cxx @@ -0,0 +1,12 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + +------------------------------------------- */ + +#include <new> +#include <cstddef> +#include <cstdint> + +typedef int32_t efs_encrypt_token_t; +typedef void* efs_encrypted_blob_t; diff --git a/dev/DLL/EFS/build.json b/dev/DLL/EFS/build.json new file mode 100644 index 00000000..3c611a95 --- /dev/null +++ b/dev/DLL/EFS/build.json @@ -0,0 +1,20 @@ +{ + "compiler_path": "x86_64-w64-mingw32-g++", + "compiler_std": "c++20", + "headers_path": ["../", "./"], + "sources_path": ["Sources/*.cxx"], + "output_name": "encryptfs.dll", + "compiler_flags": [ + "-ffreestanding", + "-shared", + "-fno-rtti", + "-fno-exceptions", + " -Wl,--subsystem=17" + ], + "cpp_macros": [ + "__EFS_AMD64__", + "cEFSVersion=0x0100", + "cEFSVersionHighest=0x0100", + "cEFSVersionLowest=0x0100" + ] +} diff --git a/dev/DLL/EFS/source_deploy.xml b/dev/DLL/EFS/source_deploy.xml new file mode 100644 index 00000000..9bd360df --- /dev/null +++ b/dev/DLL/EFS/source_deploy.xml @@ -0,0 +1,5 @@ +<SourceDeploy>
+<HiddenFiles>
+ <SourceFile>Sources/*.cxx</SourceFile>
+</HiddenFiles>
+</SourceDeploy>
diff --git a/dev/DLL/RDR/.keep b/dev/DLL/RDR/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/dev/DLL/RDR/.keep diff --git a/dev/DLL/RDR/ReadMe.md b/dev/DLL/RDR/ReadMe.md new file mode 100644 index 00000000..53c2ba24 --- /dev/null +++ b/dev/DLL/RDR/ReadMe.md @@ -0,0 +1,5 @@ +# ZKA Window Renderer. + +Acts as the main rendering engine of the UI stack. + +###### (c) ZKA Technologies, all rights reserved. diff --git a/dev/DLL/RDR/Renderer.hxx b/dev/DLL/RDR/Renderer.hxx new file mode 100644 index 00000000..4c965cca --- /dev/null +++ b/dev/DLL/RDR/Renderer.hxx @@ -0,0 +1,28 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + +------------------------------------------- */ + +#pragma once + +#include <Modules/CoreCG/FbRenderer.hxx> +#include <Modules/CoreCG/WindowRenderer.hxx> + +namespace System +{ + using namespace Kernel; + + class UIRenderEffect; + class UIRenderCanvas; + class UIRenderView; // phone desktop, computer desktop, remote desktop. + + enum + { + eDesktopInvalid, + eDesktopPC, + eDesktopMobile, + eDestkopRemote, + eDesktopCount, + }; +} diff --git a/dev/DLL/RDR/Sources/Renderer.cxx b/dev/DLL/RDR/Sources/Renderer.cxx new file mode 100644 index 00000000..7826326a --- /dev/null +++ b/dev/DLL/RDR/Sources/Renderer.cxx @@ -0,0 +1,16 @@ +/* -------------------------------------------
+
+ Copyright ZKA Technologies.
+
+------------------------------------------- */
+
+#include <Renderer.hxx>
+#include <gx_core.hxx>
+
+/// @file Renderer.cxx
+/// @brief 2D UI renderer, using GX APIs.
+
+namespace System
+{
+
+}
diff --git a/dev/DLL/RDR/build.json b/dev/DLL/RDR/build.json new file mode 100644 index 00000000..7a166044 --- /dev/null +++ b/dev/DLL/RDR/build.json @@ -0,0 +1,20 @@ +{ + "compiler_path": "x86_64-w64-mingw32-g++", + "compiler_std": "c++20", + "headers_path": ["../"], + "sources_path": ["Sources/*.cxx"], + "output_name": "wrenderer.dll", + "compiler_flags": [ + "-ffreestanding", + "-shared", + "-fno-rtti", + "-fno-exceptions", + "-Wl,--subsystem=17" + ], + "cpp_macros": [ + "__WRENDER_IMPL__", + "cWRVersion=0x0100", + "cWRVersionHighest=0x0100", + "cWRVersionLowest=0x0100" + ] +} diff --git a/dev/DLL/SEC/.keep b/dev/DLL/SEC/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/dev/DLL/SEC/.keep diff --git a/dev/DLL/SEC/build.json b/dev/DLL/SEC/build.json new file mode 100644 index 00000000..a22d0f1f --- /dev/null +++ b/dev/DLL/SEC/build.json @@ -0,0 +1,21 @@ +{ + "compiler_path": "x86_64-w64-mingw32-g++", + "compiler_std": "c++20", + "headers_path": ["../"], + "sources_path": ["Sources/*.cxx"], + "output_name": "sec.dll", + "compiler_flags": [ + "-fPIC", + "-ffreestanding", + "-shared", + "-fno-rtti", + "-fno-exceptions", + "-Wl,--subsystem=17" + ], + "cpp_macros": [ + "__SEC_IMPL__", + "cSECVersion=0x0100", + "cSECVersionHighest=0x0100", + "cSECVersionLowest=0x0100" + ] +} |
