48c6fdaa19575986b66103a70cab09fe43d9c376
[reactos.git] / 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  * PROGRAMMER:      David Welch (welch@mcmail.com)
8  * UPDATE HISTORY:
9  *                  Created 22/05/98
10  */
11
12 /* INCLUDES *****************************************************************/
13
14 #include <ddk/ntddk.h>
15 #include <ddk/halfuncs.h>
16
17 #include <internal/debug.h>
18
19 /* DATA **********************************************************************/
20
21 POBJECT_TYPE EXPORTED IoAdapterObjectType = NULL;       /* FIXME */
22 POBJECT_TYPE EXPORTED IoDeviceHandlerObjectType = NULL; /* FIXME */
23 ULONG        EXPORTED IoDeviceHandlerObjectSize = 0;    /* FIXME */
24
25 /* FUNCTIONS *****************************************************************/
26
27 /*
28  * @implemented
29  */
30 NTSTATUS STDCALL
31 IoAllocateAdapterChannel (PADAPTER_OBJECT       AdapterObject,
32                           PDEVICE_OBJECT        DeviceObject,
33                           ULONG         NumberOfMapRegisters,
34                           PDRIVER_CONTROL       ExecutionRoutine,
35                           PVOID         Context)
36 {
37   return HalAllocateAdapterChannel( AdapterObject,
38                                     DeviceObject,
39                                     NumberOfMapRegisters,
40                                     ExecutionRoutine,
41                                     Context );
42 }
43
44
45 /* NOTE: Missing IoXXXAdapter finctions in HAL.DLL */
46
47
48 /* EOF */