mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 04:45:43 +00:00
[WDF] Fix KMDF so it can compile with ReactOS SDK
Not all files are included, but these are necessary to compile cdrom driver. So far it can only be statically linked with drivers, a proper implementation requires wdfldr helper driver
This commit is contained in:
parent
8a978a179f
commit
1f377076d7
258 changed files with 4047 additions and 2387 deletions
|
@ -6,10 +6,10 @@
|
|||
// Tracing support
|
||||
extern "C" {
|
||||
#if defined(EVENT_TRACING)
|
||||
#include "GlobalsKm.tmh"
|
||||
#include "globalskm.tmh"
|
||||
#endif
|
||||
|
||||
#include <wdfcxbase.h>
|
||||
// #include <wdfcxbase.h>
|
||||
#include <fxldr.h>
|
||||
|
||||
|
||||
|
@ -45,6 +45,7 @@ __drv_minIRQL(DISPATCH_LEVEL)
|
|||
__drv_requiresIRQL(DISPATCH_LEVEL)
|
||||
__drv_sameIRQL
|
||||
VOID
|
||||
STDCALL
|
||||
FxFlushDpc (
|
||||
__in struct _KDPC *Dpc,
|
||||
__in_opt PVOID DeferredContext,
|
||||
|
|
|
@ -41,6 +41,7 @@ extern "C" {
|
|||
__drv_maxIRQL(DISPATCH_LEVEL)
|
||||
NTKERNELAPI
|
||||
PMDL
|
||||
STDCALL
|
||||
IoAllocateMdl(
|
||||
__in_opt __drv_aliasesMem PVOID VirtualAddress,
|
||||
__in ULONG Length,
|
||||
|
@ -52,6 +53,7 @@ IoAllocateMdl(
|
|||
__drv_maxIRQL(DISPATCH_LEVEL)
|
||||
NTKERNELAPI
|
||||
VOID
|
||||
STDCALL
|
||||
IoFreeMdl(
|
||||
PMDL Mdl
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue