diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-08 22:19:00 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-08 22:19:00 +0200 |
| commit | ef71b80d3df1969a2be85eadf2d83cd85745469d (patch) | |
| tree | 218415d633ba1010f57f218a139c791e7a737e4f /dev/DLL/RunDLL64/Sources | |
| parent | 11219de11b35cb4f1e1a27408244243b11b41e05 (diff) | |
A lot:
- Changed task banks are being switched in the kernel.
- Changed user mode switch mode, improved it to push rflags.
- User proc will start the scheduler when it's being jumped on.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/DLL/RunDLL64/Sources')
| -rw-r--r-- | dev/DLL/RunDLL64/Sources/LauncherMain.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/DLL/RunDLL64/Sources/LauncherMain.cxx b/dev/DLL/RunDLL64/Sources/LauncherMain.cxx index 0d64b654..2553feda 100644 --- a/dev/DLL/RunDLL64/Sources/LauncherMain.cxx +++ b/dev/DLL/RunDLL64/Sources/LauncherMain.cxx @@ -1,6 +1,6 @@ #include <SCI/sci_base.hxx> -typedef int (*main_t)(int, char**); +typedef int (*MainKind)(int, char**); int WinMain(int argc, char* argv[]) { @@ -9,7 +9,7 @@ int WinMain(int argc, char* argv[]) auto mainDll = LdrOpenDLL(argv[1], argv[2]); - int (*entrypointOff)(int, char**) = (main_t)LdrGetDLLProc(argv[3], mainDll); + int (*entrypointOff)(int, char**) = (MainKind)LdrGetDLLProc(argv[3], mainDll); if (!entrypointOff) return -1; |
