File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ if(_WINKD_)
1414else ()
1515 add_subdirectory (kdrosdbg )
1616endif ()
17+ add_subdirectory (kdstub )
1718
1819if (NOT ARCH STREQUAL "arm" )
1920add_subdirectory (nmidebug )
Original file line number Diff line number Diff line change 1+ spec2def (kdstub.dll kdstub.spec ADD_IMPORTLIB )
2+
3+ list (APPEND SOURCE
4+ kdstub.c)
5+
6+ add_library (kdstub MODULE
7+ ${SOURCE}
8+ kdstub.rc
9+ ${CMAKE_CURRENT_BINARY_DIR } /kdstub.def )
10+
11+ set_module_type (kdstub kerneldll ENTRYPOINT 0 )
12+ set_subsystem (kdstub native )
13+ add_cd_file (TARGET kdstub DESTINATION reactos/system32 NO_CAB FOR all )
Original file line number Diff line number Diff line change 1+ /*
2+ * PROJECT: ReactOS Kernel Debugger over Network extension stubs
3+ * LICENSE: MIT (https://spdx.org/licenses/MIT)
4+ * PURPOSE: Main source file
5+ * COPYRIGHT: Copyright 2022 Hervé Poussineau <hpoussin@reactos.org>
6+ */
7+
8+ #define NOEXTAPI
9+ #include <ntifs.h>
10+ #include <kdnetextensibility.h>
11+
12+ NTSTATUS
13+ NTAPI
14+ KdInitializeLibrary (
15+ _In_ PKDNET_EXTENSIBILITY_IMPORTS ImportTable ,
16+ _In_opt_ PCHAR LoaderOptions ,
17+ _Inout_ PDEBUG_DEVICE_DESCRIPTOR Device )
18+ {
19+ return STATUS_NOT_IMPLEMENTED ;
20+ }
21+
Original file line number Diff line number Diff line change 1+ #define REACTOS_VERSION_DLL
2+ #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Kernel Debugger over Network extension stubs"
3+ #define REACTOS_STR_INTERNAL_NAME "kdstub"
4+ #define REACTOS_STR_ORIGINAL_FILENAME "kdstub.dll"
5+ #include <reactos/version.rc>
6+
Original file line number Diff line number Diff line change 1+ @ stdcall KdInitializeLibrary (ptr ptr ptr )
You can’t perform that action at this time.
0 commit comments