mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[TDI]
- 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:
parent
fa2a65b537
commit
10c56cc21a
3 changed files with 70 additions and 61 deletions
|
@ -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 */
|
66
reactos/drivers/network/tdi/cte/timer.c
Normal file
66
reactos/drivers/network/tdi/cte/timer.c
Normal 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 */
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue