summaryrefslogtreecommitdiffhomepage
path: root/src/CommandLine
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-02-11 15:42:42 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-02-11 15:42:42 +0100
commite8cebdd573c584dc51c396b35810ca08cb350c82 (patch)
tree266e3cd9af7095cf8b53ace8332827ab80507d83 /src/CommandLine
parent270dfb1ebd40a848bb5c79cf69cf31325457b20c (diff)
feat: CK: Improve codebase and introduce new concepts in DLL.h..
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/CommandLine')
-rw-r--r--src/CommandLine/pef-amd64-asm.cc6
-rw-r--r--src/CommandLine/pef-amd64-necdrv.cc6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/CommandLine/pef-amd64-asm.cc b/src/CommandLine/pef-amd64-asm.cc
index 1316d93..3ca4639 100644
--- a/src/CommandLine/pef-amd64-asm.cc
+++ b/src/CommandLine/pef-amd64-asm.cc
@@ -20,11 +20,11 @@ static auto kPath = "/usr/lib/libCompilerKit.so";
static auto kSymbol = "AssemblerMainAMD64";
Int32 main(Int32 argc, Char const* argv[]) {
- CompilerKit::DLLLoader dylib;
+ CompilerKit::ModuleLoader dylib;
dylib(kPath, kSymbol);
- CompilerKit::DLLLoader::EntryT entrypoint_cxx =
- reinterpret_cast<CompilerKit::DLLLoader::EntryT>(dylib.fEntrypoint);
+ CompilerKit::ModuleLoader::EntryT entrypoint_cxx =
+ reinterpret_cast<CompilerKit::ModuleLoader::EntryT>(dylib.fEntrypoint);
if (!entrypoint_cxx) {
kStdOut;
diff --git a/src/CommandLine/pef-amd64-necdrv.cc b/src/CommandLine/pef-amd64-necdrv.cc
index 921c674..c8d8dbe 100644
--- a/src/CommandLine/pef-amd64-necdrv.cc
+++ b/src/CommandLine/pef-amd64-necdrv.cc
@@ -20,11 +20,11 @@ static auto kPath = "/usr/lib/libCompilerKit.so";
static auto kSymbol = "CompilerNectarAMD64";
Int32 main(Int32 argc, Char const* argv[]) {
- CompilerKit::DLLLoader dylib;
+ CompilerKit::ModuleLoader dylib;
dylib(kPath, kSymbol);
- CompilerKit::DLLLoader::EntryT entrypoint_cxx =
- reinterpret_cast<CompilerKit::DLLLoader::EntryT>(dylib.fEntrypoint);
+ CompilerKit::ModuleLoader::EntryT entrypoint_cxx =
+ reinterpret_cast<CompilerKit::ModuleLoader::EntryT>(dylib.fEntrypoint);
if (!entrypoint_cxx) {
kStdOut;