From 80039963ff08d1810e22a0ae41497b156e861db0 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Sat, 10 Aug 2024 07:58:47 +0200 Subject: [META] Important refactors and fixes. + FIX SCIBase.hxx header and inline scm.internal.inl header. + Rename targets libSCI, libDDK to sci.dll and ddk.dll. + Don't initialize again the values of heap and such in HalKernelMain.cxx + Add 'STOP code' in ke_stop call. + Updated ReadMe.md. Signed-off-by: Amlal EL Mahrouss --- DDKit/ReadMe.md | 2 +- DDKit/build.json | 2 +- DDKit/x86_64.make | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'DDKit') diff --git a/DDKit/ReadMe.md b/DDKit/ReadMe.md index cde81cf7..ee12a9c1 100644 --- a/DDKit/ReadMe.md +++ b/DDKit/ReadMe.md @@ -4,6 +4,6 @@ A kit used to write kernel HALs, using the NDK compiler suite. ## How to use it -Simply link against libDDK. +Simply link against ddk.dll. ###### Copyright 2024 ZKA Technologies, all rights reserved. diff --git a/DDKit/build.json b/DDKit/build.json index bfa2b829..328165ba 100644 --- a/DDKit/build.json +++ b/DDKit/build.json @@ -3,7 +3,7 @@ "compiler_std": "c++20", "headers_path": ["../", "./"], "sources_path": ["*.c", "*.cxx", "*.S"], - "output_name": "libDDK.dll", + "output_name": "ddk.dll", "compiler_flags": ["-ffreestanding", "-shared", "-std=c17", "-std=c++20", "-fno-rtti", "-fno-exceptions", " -Wl,--subsystem=17"], "cpp_macros": ["__NEWOSKRNL__", "__DDK_AMD64__", "cDDKVersionHighest=1", "cDDKVersionLowest=1"] } diff --git a/DDKit/x86_64.make b/DDKit/x86_64.make index b79d74f0..f1f7bb4b 100644 --- a/DDKit/x86_64.make +++ b/DDKit/x86_64.make @@ -7,7 +7,7 @@ CC=x86_64-w64-mingw32-gcc INC=-I./ -I../ FLAGS=-ffreestanding -shared -std=c17 -std=c++20 -D__NEWOSKRNL__ -fno-rtti -fno-exceptions -D__DDK_AMD64__ -Wl,--subsystem=17 VERSION=-DcDDKVersionLowest=1 -DcDDKVersionHighest=1 -OUTPUT=libDDK.dll +OUTPUT=ddk.dll .PHONY: x86_64-build x86_64-build: -- cgit v1.2.3