Added HalAllocateAdapterChannel()

svn path=/trunk/; revision=1488
This commit is contained in:
Eric Kohl 2000-12-30 01:41:52 +00:00
parent ed20b9b6ba
commit 138b30dd40
5 changed files with 21 additions and 11 deletions

View file

@ -1,4 +1,4 @@
/* $Id: halddk.h,v 1.6 2000/10/22 16:34:38 ekohl Exp $ /* $Id: halddk.h,v 1.7 2000/12/30 01:41:04 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -305,8 +305,8 @@ STDCALL
HalAllocateAdapterChannel ( HalAllocateAdapterChannel (
IN PADAPTER_OBJECT AdapterObject, IN PADAPTER_OBJECT AdapterObject,
ULONG Unknown2, ULONG Unknown2,
ULONG Unknown3, IN ULONG NumberOfMapRegisters,
ULONG Unknown4 IN PDRIVER_CONTROL ExecutionRoutine
); );
PVOID PVOID

View file

@ -1,4 +1,4 @@
/* $Id: adapter.c,v 1.2 2000/07/19 14:18:18 dwelch Exp $ /* $Id: adapter.c,v 1.3 2000/12/30 01:41:29 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -19,6 +19,16 @@
/* NOTE: IoAllocateAdapterChannel in NTOSKRNL.EXE */ /* NOTE: IoAllocateAdapterChannel in NTOSKRNL.EXE */
NTSTATUS STDCALL
HalAllocateAdapterChannel(PADAPTER_OBJECT AdapterObject,
ULONG Unknown2,
ULONG NumberOfMapRegisters,
PDRIVER_CONTROL ExecutionRoutine)
{
UNIMPLEMENTED;
}
BOOLEAN STDCALL BOOLEAN STDCALL
IoFlushAdapterBuffers (PADAPTER_OBJECT AdapterObject, IoFlushAdapterBuffers (PADAPTER_OBJECT AdapterObject,
PMDL Mdl, PMDL Mdl,

View file

@ -1,4 +1,4 @@
/* $Id: dma.c,v 1.8 2000/07/19 14:18:18 dwelch Exp $ /* $Id: dma.c,v 1.9 2000/12/30 01:41:29 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -52,14 +52,14 @@ HalFlushCommonBuffer (ULONG Unknown1,
return TRUE; return TRUE;
} }
VOID STDCALL VOID STDCALL
HalFreeCommonBuffer (PADAPTER_OBJECT AdapterObject, HalFreeCommonBuffer (PADAPTER_OBJECT AdapterObject,
ULONG Length, ULONG Length,
PHYSICAL_ADDRESS LogicalAddress, PHYSICAL_ADDRESS LogicalAddress,
PVOID VirtualAddress, PVOID VirtualAddress,
BOOLEAN CacheEnabled) BOOLEAN CacheEnabled)
{ {
UNIMPLEMENTED; MmFreeContiguousMemory(VirtualAddress);
} }
PADAPTER_OBJECT STDCALL PADAPTER_OBJECT STDCALL

View file

@ -1,4 +1,4 @@
; $Id: ntoskrnl.def,v 1.90 2000/12/26 05:32:43 dwelch Exp $ ; $Id: ntoskrnl.def,v 1.91 2000/12/30 01:41:52 ekohl Exp $
; ;
; reactos/ntoskrnl/ntoskrnl.def ; reactos/ntoskrnl/ntoskrnl.def
; ;
@ -1013,7 +1013,7 @@ ExTryToAcquireFastMutex@4
HalAcquireDisplayOwnership@4 HalAcquireDisplayOwnership@4
HalAdjustResourceList@4 HalAdjustResourceList@4
HalAllProcessorsStarted@0 HalAllProcessorsStarted@0
;HalAllocateAdapterChannel@16 HalAllocateAdapterChannel@16
HalAllocateCommonBuffer@16 HalAllocateCommonBuffer@16
;HalAllocateCrashDumpRegisters@8 ;HalAllocateCrashDumpRegisters@8
HalAssignSlotResources@32 HalAssignSlotResources@32

View file

@ -1,4 +1,4 @@
; $Id: ntoskrnl.edf,v 1.77 2000/12/26 05:32:43 dwelch Exp $ ; $Id: ntoskrnl.edf,v 1.78 2000/12/30 01:41:52 ekohl Exp $
; ;
; reactos/ntoskrnl/ntoskrnl.def ; reactos/ntoskrnl/ntoskrnl.def
; ;
@ -1011,7 +1011,7 @@ ExTryToAcquireFastMutex=ExTryToAcquireFastMutex@4
HalAcquireDisplayOwnership=HalAcquireDisplayOwnership@4 HalAcquireDisplayOwnership=HalAcquireDisplayOwnership@4
HalAdjustResourceList=HalAdjustResourceList@4 HalAdjustResourceList=HalAdjustResourceList@4
HalAllProcessorsStarted=HalAllProcessorsStarted@0 HalAllProcessorsStarted=HalAllProcessorsStarted@0
;HalAllocateAdapterChannel=HalAllocateAdapterChannel@16 HalAllocateAdapterChannel=HalAllocateAdapterChannel@16
HalAllocateCommonBuffer=HalAllocateCommonBuffer@16 HalAllocateCommonBuffer=HalAllocateCommonBuffer@16
;HalAllocateCrashDumpRegisters=HalAllocateCrashDumpRegisters@8 ;HalAllocateCrashDumpRegisters=HalAllocateCrashDumpRegisters@8
HalAssignSlotResource=HalAssignSlotResources@32 HalAssignSlotResource=HalAssignSlotResources@32