From d45d540c92b52bc414c1f24f66e0d822af04f697 Mon Sep 17 00:00:00 2001 From: Robert Dickenson Date: Wed, 19 Jun 2002 15:44:47 +0000 Subject: [PATCH] Added new exports svn path=/trunk/; revision=3125 --- reactos/drivers/net/ndis/ndis.def | 2 ++ reactos/drivers/net/ndis/ndis.edf | 2 ++ reactos/drivers/net/ndis/ndis/control.c | 8 ++++++++ reactos/drivers/net/ndis/ndis/memory.c | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/net/ndis/ndis.def b/reactos/drivers/net/ndis/ndis.def index 89e628ceb2d..f2dbdadfd0b 100644 --- a/reactos/drivers/net/ndis/ndis.def +++ b/reactos/drivers/net/ndis/ndis.def @@ -208,6 +208,7 @@ NdisMIndicateStatusComplete@4 NdisMInitializeScatterGatherDma@12 NdisMInitializeTimer@16 NdisMMapIoSpace@20 +NdisMoveMappedMemory@12 NdisMPciAssignResources@12 NdisMPromoteMiniport@4 NdisMQueryAdapterInstanceName@8 @@ -263,6 +264,7 @@ NdisReadNetworkAddress@16 NdisReadPciSlotInformation@20 NdisReadPcmciaAttributeMemory@16 ;NdisReEnumerateProtocolBindings ? +NdisReinitializePacket@4 NdisRegisterAdapter@24 NdisRegisterAdapterShutdownHandler@12 NdisRegisterMac@24 diff --git a/reactos/drivers/net/ndis/ndis.edf b/reactos/drivers/net/ndis/ndis.edf index 2997d854050..11ee1f9f537 100644 --- a/reactos/drivers/net/ndis/ndis.edf +++ b/reactos/drivers/net/ndis/ndis.edf @@ -208,6 +208,7 @@ NdisMIndicateStatusComplete=NdisMIndicateStatusComplete@4 NdisMInitializeScatterGatherDma=NdisMInitializeScatterGatherDma@12 NdisMInitializeTimer=NdisMInitializeTimer@16 NdisMMapIoSpace=NdisMMapIoSpace@20 +NdisMoveMappedMemory=NdisMoveMappedMemory@12 NdisMPciAssignResources=NdisMPciAssignResources@12 NdisMPromoteMiniport=NdisMPromoteMiniport@4 NdisMQueryAdapterInstanceName=NdisMQueryAdapterInstanceName@8 @@ -263,6 +264,7 @@ NdisReadNetworkAddress=NdisReadNetworkAddress@16 NdisReadPciSlotInformation=NdisReadPciSlotInformation@20 NdisReadPcmciaAttributeMemory=NdisReadPcmciaAttributeMemory@16 ;NdisReEnumerateProtocolBindings ? +NdisReinitializePacket=NdisReinitializePacket@4 NdisRegisterAdapter=NdisRegisterAdapter@24 NdisRegisterAdapterShutdownHandler=NdisRegisterAdapterShutdownHandler@12 NdisRegisterMac=NdisRegisterMac@24 diff --git a/reactos/drivers/net/ndis/ndis/control.c b/reactos/drivers/net/ndis/ndis/control.c index 0f12bac6c6a..3947bc520d3 100644 --- a/reactos/drivers/net/ndis/ndis/control.c +++ b/reactos/drivers/net/ndis/ndis/control.c @@ -9,6 +9,14 @@ */ #include +VOID +EXPORT +NdisReinitializePacket( + IN OUT PNDIS_PACKET Packet) +{ + (Packet)->Private.Head = (PNDIS_BUFFER)NULL; + (Packet)->Private.ValidCounts = FALSE; +} VOID EXPORT diff --git a/reactos/drivers/net/ndis/ndis/memory.c b/reactos/drivers/net/ndis/ndis/memory.c index 0c6f5862783..f4facd2016b 100644 --- a/reactos/drivers/net/ndis/ndis/memory.c +++ b/reactos/drivers/net/ndis/ndis/memory.c @@ -67,7 +67,7 @@ NdisMoveMappedMemory( IN PVOID Source, IN ULONG Length) { - UNIMPLEMENTED + RtlCopyMemory(Destination,Source,Length); }