strip whitespace from end of lines
[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 #include <internal/debug.h>
15
16 /* DATA **********************************************************************/
17
18 POBJECT_TYPE EXPORTED IoAdapterObjectType = NULL; /* FIXME */
19 POBJECT_TYPE EXPORTED IoDeviceHandlerObjectType = NULL; /* FIXME */
20 ULONG EXPORTED IoDeviceHandlerObjectSize = 0; /* FIXME */
21
22 /* FUNCTIONS *****************************************************************/
23
24 /*
25 * @implemented
26 */
27 NTSTATUS STDCALL
28 IoAllocateAdapterChannel (PADAPTER_OBJECT AdapterObject,
29 PDEVICE_OBJECT DeviceObject,
30 ULONG NumberOfMapRegisters,
31 PDRIVER_CONTROL ExecutionRoutine,
32 PVOID Context)
33 {
34 DeviceObject->Queue.Wcb.DeviceObject = DeviceObject;
35 DeviceObject->Queue.Wcb.DeviceContext = Context;
36
37 return HalAllocateAdapterChannel( AdapterObject,
38 &DeviceObject->Queue.Wcb,
39 NumberOfMapRegisters,
40 ExecutionRoutine);
41 }
42
43
44 /* NOTE: Missing IoXXXAdapter finctions in HAL.DLL */
45
46
47 /* EOF */