From e05aa2145b8d0000110b93fb371ba858cb2a02bc Mon Sep 17 00:00:00 2001 From: Amlal Date: Sat, 14 Sep 2024 20:11:35 +0200 Subject: 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 --- dev/ZWM/Sources/zwm_main.cxx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'dev/ZWM') 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 #include -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; } -- cgit v1.2.3