mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Standardize I/O Completion Port initialization function
- Actually call it svn path=/trunk/; revision=12276
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: io.h,v 1.50 2004/11/25 22:18:16 ion Exp $
|
||||
/* $Id: io.h,v 1.51 2004/12/21 18:37:28 gvg Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -523,6 +523,11 @@ IopRemoveTimerFromTimerList(
|
||||
IN PIO_TIMER Timer
|
||||
);
|
||||
|
||||
/* iocomp.c */
|
||||
VOID
|
||||
FASTCALL
|
||||
IopInitIoCompletionImplementation(VOID);
|
||||
|
||||
#define CM_RESOURCE_LIST_SIZE(ResList) \
|
||||
(ResList->Count == 1) ? \
|
||||
FIELD_OFFSET(CM_RESOURCE_LIST, List[0].PartialResourceList. \
|
||||
|
||||
@@ -99,8 +99,9 @@ IoSetIoCompletion (
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
VOID
|
||||
NtInitializeIoCompletionImplementation(VOID)
|
||||
VOID
|
||||
FASTCALL
|
||||
IopInitIoCompletionImplementation(VOID)
|
||||
{
|
||||
ExIoCompletionType = ExAllocatePool(NonPagedPool, sizeof(OBJECT_TYPE));
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: iomgr.c,v 1.54 2004/11/21 21:53:07 ion Exp $
|
||||
/* $Id: iomgr.c,v 1.55 2004/12/21 18:37:28 gvg Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -535,6 +535,7 @@ IoInit (VOID)
|
||||
IoInitShutdownNotification();
|
||||
IopInitErrorLog();
|
||||
IopInitTimerImplementation();
|
||||
IopInitIoCompletionImplementation();
|
||||
|
||||
/*
|
||||
* Create link from '\DosDevices' to '\??' directory
|
||||
|
||||
Reference in New Issue
Block a user