summaryrefslogtreecommitdiffhomepage
path: root/dev/ZWM
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-14 20:11:35 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-14 20:11:35 +0200
commite05aa2145b8d0000110b93fb371ba858cb2a02bc (patch)
tree39d68355c6afe6f1e21f87d214a5b546b4a814d9 /dev/ZWM
parent6c51d0d2fde9b9a0201721cc625e73b585fdc479 (diff)
IMP: Fixes and improvements on PEF Loader, User scheduler and BMP manager.
- This covers the Memory Manager, User Scheduler Manager and Loader Manager. - These are mostly fixes and added features. - Such as a new symbol to get heap reserve. META: Run format command. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/ZWM')
-rw-r--r--dev/ZWM/Sources/zwm_main.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/dev/ZWM/Sources/zwm_main.cxx b/dev/ZWM/Sources/zwm_main.cxx
index 38d441bd..f1f7fbe7 100644
--- a/dev/ZWM/Sources/zwm_main.cxx
+++ b/dev/ZWM/Sources/zwm_main.cxx
@@ -10,23 +10,23 @@
#include <DDK/KernelStd.h>
#include <cstdint>
-static uint32_t cGPUIndexHW = 0U;
-static struct DDK_OBJECT_MANIFEST* cGPUObject = nullptr;
+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;
+ int index_gpu = 0;
+ struct DDK_OBJECT_MANIFEST* gpu_object = nullptr;
- while (!gpu_object)
- {
- gpu_object = KernelGetObject(index_gpu, "GPU_OBJECT");
- ++index_gpu;
- }
+ while (!gpu_object)
+ {
+ gpu_object = KernelGetObject(index_gpu, "GPU_OBJECT");
+ ++index_gpu;
+ }
- cGPUIndexHW = index_gpu;
- cGPUObject = gpu_object;
+ cGPUIndexHW = index_gpu;
+ cGPUObject = gpu_object;
- return 0;
+ return 0;
}