mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 06:55:55 +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
|
* PROJECT: ReactOS TDI driver
|
||||||
* LICENSE: GPL - See COPYING in the top level directory
|
* LICENSE: GPL - See COPYING in the top level directory
|
||||||
* FILE: drivers/network/tdi/stubs.c
|
* FILE: drivers/network/tdi/cte/events.c
|
||||||
* PURPOSE: TDI misc support routines
|
* PURPOSE: CTE events support
|
||||||
* PROGRAMMERS: Oleg Baikalow (obaikalow@gmail.com)
|
* PROGRAMMERS: Oleg Baikalow (obaikalow@gmail.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
#include <ntddk.h>
|
#include <ntddk.h>
|
||||||
|
|
||||||
|
|
||||||
typedef struct _CTEBLOCK_EVENT
|
typedef struct _CTEBLOCK_EVENT
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
@ -29,7 +28,6 @@ typedef struct _CTE_DELAYED_EVENT
|
||||||
WORK_QUEUE_ITEM WorkItem;
|
WORK_QUEUE_ITEM WorkItem;
|
||||||
} CTE_DELAYED_EVENT, *PCTE_DELAYED_EVENT;
|
} CTE_DELAYED_EVENT, *PCTE_DELAYED_EVENT;
|
||||||
|
|
||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -88,33 +86,6 @@ CTEInitEvent(PCTE_DELAYED_EVENT Event,
|
||||||
ExInitializeWorkItem(&Event->WorkItem, InternalWorker, 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
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
|
@ -183,33 +154,4 @@ CTESignal(PCTEBLOCK_EVENT Block, NTSTATUS Status)
|
||||||
return KeSetEvent(&Block->Event, IO_NO_INCREMENT, FALSE);
|
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 */
|
/* 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>
|
<library>hal</library>
|
||||||
<define name="_TDI_" />
|
<define name="_TDI_" />
|
||||||
<directory name="cte">
|
<directory name="cte">
|
||||||
|
<file>events.c</file>
|
||||||
<file>string.c</file>
|
<file>string.c</file>
|
||||||
<file>stubs.c</file>
|
<file>timer.c</file>
|
||||||
</directory>
|
</directory>
|
||||||
<directory name="misc">
|
<directory name="misc">
|
||||||
<file>main.c</file>
|
<file>main.c</file>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue