diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-27 11:41:44 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-27 11:41:44 +0200 |
| commit | 8db6fc60063757628f92bd1c4d4855775f4ff9e2 (patch) | |
| tree | e27013969dc749bbb8131e24e4171034fdb80f56 /dev/zwm | |
| parent | daa4f8c748d290feba8a71e889743a8a3097ad7d (diff) | |
feat&wip: Math API for CG, WiP HAL Paging API.
- NOTE: HAL Paging API is still in wip, issues have to be fixed.
- Moved WM code to corecg driver.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/zwm')
| -rw-r--r-- | dev/zwm/.keepme | 0 | ||||
| -rw-r--r-- | dev/zwm/src/zwm_main.cxx | 31 | ||||
| -rw-r--r-- | dev/zwm/zwm.json | 22 |
3 files changed, 0 insertions, 53 deletions
diff --git a/dev/zwm/.keepme b/dev/zwm/.keepme deleted file mode 100644 index e69de29b..00000000 --- a/dev/zwm/.keepme +++ /dev/null diff --git a/dev/zwm/src/zwm_main.cxx b/dev/zwm/src/zwm_main.cxx deleted file mode 100644 index 7fbd9ccb..00000000 --- a/dev/zwm/src/zwm_main.cxx +++ /dev/null @@ -1,31 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - - FILE: main.cxx - PURPOSE: ZWM entrypoint. - -------------------------------------------- */ - -#include <ddk/KernelStd.h> - -static uint32_t cGPUIndexHW = 0U; -static struct DDK_OBJECT_MANIFEST* cGPUObject = nullptr; - -/** @brief ZWM main, ZWM acts a proxy to the Installed GPU Driver. */ -int32_t ModuleMain(void) -{ - int index_gpu = 0; - struct DDK_OBJECT_MANIFEST* gpu_object = nullptr; - - while (!gpu_object) - { - gpu_object = KernelGetObject(index_gpu, "GPU_OBJECT"); - ++index_gpu; - } - - cGPUIndexHW = index_gpu; - cGPUObject = gpu_object; - - return 0; -} diff --git a/dev/zwm/zwm.json b/dev/zwm/zwm.json deleted file mode 100644 index 5286861a..00000000 --- a/dev/zwm/zwm.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "compiler_path": "x86_64-w64-mingw32-g++", - "compiler_std": "c++20", - "headers_path": ["../"], - "sources_path": ["src/*.cxx"], - "output_name": "zwm.sys", - "compiler_flags": [ - "-fPIC", - "-ffreestanding", - "-shared", - "-fno-rtti", - "-fno-exceptions", - "-Wl,--subsystem=17" - ], - "cpp_macros": [ - "__ZWM_IMPL__", - "__NEWOSKRNL__", - "cZWMVersion=0x0100", - "cZWMVersionHighest=0x0100", - "cZWMVersionLowest=0x0100" - ] -} |
