- Move CTE routines into corresponding events.c and timer.c source code files before further applying Oleg's patches.

svn path=/trunk/; revision=50551
This commit is contained in:
Aleksey Bragin 2011-01-29 13:07:06 +00:00
parent fa2a65b537
commit 10c56cc21a
3 changed files with 70 additions and 61 deletions

View file

@ -1,8 +1,8 @@
/*
* PROJECT: ReactOS TDI driver
* LICENSE: GPL - See COPYING in the top level directory
* FILE: drivers/network/tdi/stubs.c
* PURPOSE: TDI misc support routines
* FILE: drivers/network/tdi/cte/events.c
* PURPOSE: CTE events support
* PROGRAMMERS: Oleg Baikalow (obaikalow@gmail.com)
*/
@ -10,7 +10,6 @@
#include <ntddk.h>
typedef struct _CTEBLOCK_EVENT
{
NTSTATUS Status;
@ -29,7 +28,6 @@ typedef struct _CTE_DELAYED_EVENT
WORK_QUEUE_ITEM WorkItem;
} CTE_DELAYED_EVENT, *PCTE_DELAYED_EVENT;
/* FUNCTIONS *****************************************************************/
/*
@ -88,33 +86,6 @@ CTEInitEvent(PCTE_DELAYED_EVENT Event,
ExInitializeWorkItem(&Event->WorkItem, InternalWorker, Event);
}
/*
* @unimplemented
*/
VOID
NTAPI
CTEInitTimer (
ULONG Unknown0
)
{
}
/*
* @unimplemented
*/
BOOLEAN
NTAPI
CTEInitialize (
VOID
)
{
/* FIXME: what should it initialize? */
return TRUE;
}
/*
* @unimplemented
*/
@ -183,33 +154,4 @@ CTESignal(PCTEBLOCK_EVENT Block, NTSTATUS Status)
return KeSetEvent(&Block->Event, IO_NO_INCREMENT, FALSE);
}
/*
* @unimplemented
*/
BOOLEAN
NTAPI
CTEStartTimer (
ULONG Unknown0,
ULONG Unknown1,
ULONG Unknown2,
ULONG Unknown3
)
{
return FALSE;
}
/*
* @unimplemented
*/
ULONG
NTAPI
CTESystemUpTime (
VOID
)
{
return 0;
}
/* EOF */

View file

@ -0,0 +1,66 @@
/*
* PROJECT: ReactOS TDI driver
* LICENSE: GPL - See COPYING in the top level directory
* FILE: drivers/network/tdi/cte/timer.c
* PURPOSE: CTE timer support
* PROGRAMMERS: Oleg Baikalow (obaikalow@gmail.com)
*/
/* INCLUDES *****************************************************************/
#include <ntddk.h>
/*
* @unimplemented
*/
VOID
NTAPI
CTEInitTimer (
ULONG Unknown0
)
{
}
/*
* @unimplemented
*/
BOOLEAN
NTAPI
CTEInitialize (
VOID
)
{
/* FIXME: what should it initialize? */
return TRUE;
}
/*
* @unimplemented
*/
BOOLEAN
NTAPI
CTEStartTimer (
ULONG Unknown0,
ULONG Unknown1,
ULONG Unknown2,
ULONG Unknown3
)
{
return FALSE;
}
/*
* @unimplemented
*/
ULONG
NTAPI
CTESystemUpTime (
VOID
)
{
return 0;
}
/* EOF */

View file

@ -6,8 +6,9 @@
<library>hal</library>
<define name="_TDI_" />
<directory name="cte">
<file>events.c</file>
<file>string.c</file>
<file>stubs.c</file>
<file>timer.c</file>
</directory>
<directory name="misc">
<file>main.c</file>