mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[KDSTUB] Implement driver for KDNET extension stubs
CORE-20385
This commit is contained in:
committed by
Justin Miller
parent
8bef246a10
commit
9e09b5c5b9
@@ -14,6 +14,7 @@ if(_WINKD_)
|
||||
else()
|
||||
add_subdirectory(kdrosdbg)
|
||||
endif()
|
||||
add_subdirectory(kdstub)
|
||||
|
||||
if(NOT ARCH STREQUAL "arm")
|
||||
add_subdirectory(nmidebug)
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
spec2def(kdstub.dll kdstub.spec ADD_IMPORTLIB)
|
||||
|
||||
list(APPEND SOURCE
|
||||
kdstub.c)
|
||||
|
||||
add_library(kdstub MODULE
|
||||
${SOURCE}
|
||||
kdstub.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/kdstub.def)
|
||||
|
||||
set_module_type(kdstub kerneldll ENTRYPOINT 0)
|
||||
set_subsystem(kdstub native)
|
||||
add_cd_file(TARGET kdstub DESTINATION reactos/system32 NO_CAB FOR all)
|
||||
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* PROJECT: ReactOS Kernel Debugger over Network extension stubs
|
||||
* LICENSE: MIT (https://spdx.org/licenses/MIT)
|
||||
* PURPOSE: Main source file
|
||||
* COPYRIGHT: Copyright 2022 Hervé Poussineau <[email protected]>
|
||||
*/
|
||||
|
||||
#define NOEXTAPI
|
||||
#include <ntifs.h>
|
||||
#include <kdnetextensibility.h>
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
KdInitializeLibrary(
|
||||
_In_ PKDNET_EXTENSIBILITY_IMPORTS ImportTable,
|
||||
_In_opt_ PCHAR LoaderOptions,
|
||||
_Inout_ PDEBUG_DEVICE_DESCRIPTOR Device)
|
||||
{
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#define REACTOS_VERSION_DLL
|
||||
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Kernel Debugger over Network extension stubs"
|
||||
#define REACTOS_STR_INTERNAL_NAME "kdstub"
|
||||
#define REACTOS_STR_ORIGINAL_FILENAME "kdstub.dll"
|
||||
#include <reactos/version.rc>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
@ stdcall KdInitializeLibrary(ptr ptr ptr)
|
||||
Reference in New Issue
Block a user