- Silence TCPIP.
[reactos.git] / reactos / ntoskrnl / io / adapter.c
1 /* $Id$
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/io/adapter.c
6 * PURPOSE: DMA handling
7 *
8 * PROGRAMMERS: David Welch (welch@mcmail.com)
9 */
10
11 /* INCLUDES *****************************************************************/
12
13 #include <ntoskrnl.h>
14 #define NDEBUG
15 #include <internal/debug.h>
16
17 /* DATA **********************************************************************/
18
19 POBJECT_TYPE IoAdapterObjectType = NULL; /* FIXME */
20 POBJECT_TYPE IoDeviceHandlerObjectType = NULL; /* FIXME */
21 ULONG IoDeviceHandlerObjectSize = 0; /* FIXME */
22
23 /* FUNCTIONS *****************************************************************/
24
25 /*
26 * @implemented
27 */
28 NTSTATUS STDCALL
29 IoAllocateAdapterChannel (PADAPTER_OBJECT AdapterObject,
30 PDEVICE_OBJECT DeviceObject,
31 ULONG NumberOfMapRegisters,
32 PDRIVER_CONTROL ExecutionRoutine,
33 PVOID Context)
34 {
35 DeviceObject->Queue.Wcb.DeviceObject = DeviceObject;
36 DeviceObject->Queue.Wcb.DeviceContext = Context;
37 DeviceObject->Queue.Wcb.CurrentIrp = DeviceObject->CurrentIrp;
38
39 return HalAllocateAdapterChannel( AdapterObject,
40 &DeviceObject->Queue.Wcb,
41 NumberOfMapRegisters,
42 ExecutionRoutine);
43 }
44
45
46 /* NOTE: Missing IoXXXAdapter finctions in HAL.DLL */
47
48
49 /* EOF */