3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/io/adapter.c
6 * PURPOSE: DMA handling
8 * PROGRAMMERS: David Welch (welch@mcmail.com)
11 /* INCLUDES *****************************************************************/
14 #include <internal/debug.h>
16 /* DATA **********************************************************************/
18 POBJECT_TYPE EXPORTED IoAdapterObjectType
= NULL
; /* FIXME */
19 POBJECT_TYPE EXPORTED IoDeviceHandlerObjectType
= NULL
; /* FIXME */
20 ULONG EXPORTED IoDeviceHandlerObjectSize
= 0; /* FIXME */
22 /* FUNCTIONS *****************************************************************/
28 IoAllocateAdapterChannel (PADAPTER_OBJECT AdapterObject
,
29 PDEVICE_OBJECT DeviceObject
,
30 ULONG NumberOfMapRegisters
,
31 PDRIVER_CONTROL ExecutionRoutine
,
34 DeviceObject
->Queue
.Wcb
.DeviceObject
= DeviceObject
;
35 DeviceObject
->Queue
.Wcb
.DeviceContext
= Context
;
37 return HalAllocateAdapterChannel( AdapterObject
,
38 &DeviceObject
->Queue
.Wcb
,
44 /* NOTE: Missing IoXXXAdapter finctions in HAL.DLL */