ntoskrnl.exe: Added IofCompleteRequest.
This commit is contained in:
parent
72f2ba6fc4
commit
e2d94ec001
|
@ -51,6 +51,22 @@ typedef struct _KSERVICE_TABLE_DESCRIPTOR
|
|||
KSERVICE_TABLE_DESCRIPTOR KeServiceDescriptorTable[4];
|
||||
|
||||
|
||||
#ifdef __i386__
|
||||
#define DEFINE_FASTCALL1_ENTRYPOINT( name ) \
|
||||
__ASM_GLOBAL_FUNC( name, \
|
||||
"popl %eax\n\t" \
|
||||
"pushl %ecx\n\t" \
|
||||
"pushl %eax\n\t" \
|
||||
"jmp " __ASM_NAME("__regs_") #name )
|
||||
#define DEFINE_FASTCALL2_ENTRYPOINT( name ) \
|
||||
__ASM_GLOBAL_FUNC( name, \
|
||||
"popl %eax\n\t" \
|
||||
"pushl %edx\n\t" \
|
||||
"pushl %ecx\n\t" \
|
||||
"pushl %eax\n\t" \
|
||||
"jmp " __ASM_NAME("__regs_") #name )
|
||||
#endif
|
||||
|
||||
static inline LPCSTR debugstr_us( const UNICODE_STRING *us )
|
||||
{
|
||||
if (!us) return "<null>";
|
||||
|
@ -183,6 +199,21 @@ NTSTATUS WINAPI IoCreateSymbolicLink( UNICODE_STRING *name, UNICODE_STRING *targ
|
|||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* IofCompleteRequest (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
|
||||
DEFINE_FASTCALL2_ENTRYPOINT( IofCompleteRequest )
|
||||
void WINAPI __regs_IofCompleteRequest( IRP *irp, UCHAR priority_boost )
|
||||
#else
|
||||
void WINAPI IofCompleteRequest( IRP *irp, UCHAR priority_boost )
|
||||
#endif
|
||||
{
|
||||
TRACE( "%p %u\n", irp, priority_boost );
|
||||
/* nothing to do for now */
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************
|
||||
* DllMain
|
||||
*/
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
@ stub IoSetPartitionInformation
|
||||
@ stub IoWritePartitionTable
|
||||
@ stub IofCallDriver
|
||||
@ stub IofCompleteRequest
|
||||
@ stdcall -norelay IofCompleteRequest(ptr long)
|
||||
@ stub KeAcquireInStackQueuedSpinLockAtDpcLevel
|
||||
@ stub KeReleaseInStackQueuedSpinLockFromDpcLevel
|
||||
@ stub KeSetTimeUpdateNotifyRoutine
|
||||
|
|
Loading…
Reference in New Issue