Author: cgutman
Date: Sun May 31 18:47:06 2009
New Revision: 41222
URL:
http://svn.reactos.org/svn/reactos?rev=41222&view=rev
Log:
- Export and stub NdisAllocateFromBlockPool, NdisCancelSendPackets,
NdisCoAssignInstanceName, NdisCoGetTapiCallId, NdisCreateBlockPool, NdisDestroyBlockPool,
NdisGeneratePartialCancelId, NdisGetRoutineAddress, NdisGetSharedDataAlignment,
NdisGetVersion, NdisIMGetCurrentPacketStack, NdisIMNotifyPnPEvent,
NdisQueryPendingIOCount, and NdisSetPacketStatus
Modified:
trunk/reactos/drivers/network/ndis/ndis.def
trunk/reactos/drivers/network/ndis/ndis/50stubs.c
trunk/reactos/drivers/network/ndis/ndis/co.c
Modified: trunk/reactos/drivers/network/ndis/ndis.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis.…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis.def [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis.def [iso-8859-1] Sun May 31 18:47:06 2009
@@ -16,6 +16,7 @@
NdisAllocateBuffer@20
NdisAllocateBufferPool@12
NdisAllocateDmaChannel@20
+NdisAllocateFromBlockPool@4
NdisAllocateMemory@20
NdisAllocateMemoryWithTag@12
NdisAllocatePacket@12
@@ -26,6 +27,7 @@
NdisAnsiStringToUnicodeString@8
NdisBufferLength@4
NdisBufferVirtualAddress@4
+NdisCancelSendPackets@8
NdisCancelTimer@8
NdisClAddParty@16
NdisClCloseAddressFamily@4
@@ -57,8 +59,10 @@
NdisCmOpenAddressFamilyComplete@12
NdisCmRegisterAddressFamily@16
NdisCmRegisterSapComplete@12
+NdisCoAssignInstanceName@12
NdisCoCreateVc@16
NdisCoDeleteVc@4
+NdisCoGetTapiCallId@8
NdisCoRequest@20
NdisCoRequestComplete@20
NdisCoSendPackets@12
@@ -75,10 +79,13 @@
NdisCopyBuffer@24
NdisCopyFromPacketToPacket@24
NdisCopyFromPacketToPacketSafe@28
+NdisCreateBlockPool@16
NdisDeregisterAdapter@4
NdisDeregisterAdapterShutdownHandler@4
NdisDeregisterMac@8
NdisDeregisterProtocol@8
+;NdisDeregisterTdiCallback ?
+NdisDestroyBlockPool@4
NdisDprAcquireSpinLock@4
NdisDprAllocatePacket@12
NdisDprAllocatePacketNonInterlocked@12
@@ -94,6 +101,7 @@
NdisFreePacketPool@4
NdisFreeSharedMemory@24
NdisFreeSpinLock@4
+NdisGeneratePartialCancelId@0
NdisGetBufferPhysicalArraySize@8
NdisGetCurrentProcessorCounts@12
NdisGetCurrentProcessorCpuUsage@4
@@ -104,7 +112,10 @@
NdisGetPacketCancelId@4
NdisGetPoolFromPacket@4
NdisGetReceivedPacket@8
+NdisGetRoutineAddress@4
+NdisGetSharedDataAlignment@0
NdisGetSystemUpTime@4
+NdisGetVersion@0
NdisIMAssociateMiniport@8
NdisIMCancelInitializeDeviceInstance@8
NdisIMCopySendCompletePerPacketInfo@8
@@ -112,9 +123,11 @@
NdisIMDeInitializeDeviceInstance@4
NdisIMDeregisterLayeredMiniport@4
NdisIMGetBindingContext@4
+NdisIMGetCurrentPacketStack@8
NdisIMGetDeviceContext@4
NdisIMInitializeDeviceInstance@8
NdisIMInitializeDeviceInstanceEx@12
+NdisIMNotifyPnPEvent@8
NdisImmediateReadPciSlotInformation@20
NdisImmediateReadPortUchar@12
NdisImmediateReadPortUlong@12
@@ -231,6 +244,7 @@
NdisQueryBufferOffset@12
NdisQueryBufferSafe@16
NdisQueryMapRegisterCount@8
+NdisQueryPendingIOCount@8
NdisReadConfiguration@20
NdisReadEisaSlotInformation@16
NdisReadEisaSlotInformationEx@20
@@ -255,6 +269,7 @@
NdisSetEvent@4
NdisSetPacketCancelId@8
NdisSetPacketPoolProtocolId@8
+NdisSetPacketStatus@16
;NdisSetProtocolFilter ?
NdisSetTimer@8
NdisSetTimerEx@12
Modified: trunk/reactos/drivers/network/ndis/ndis/50stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/50stubs.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/50stubs.c [iso-8859-1] Sun May 31 18:47:06
2009
@@ -9,6 +9,176 @@
*/
#include "ndissys.h"
+
+/*
+ * @unimplemented
+ */
+VOID
+EXPORT
+NdisSetPacketStatus(
+ IN PNDIS_PACKET Packet,
+ IN NDIS_STATUS Status,
+ IN NDIS_HANDLE Handle,
+ IN ULONG Code)
+{
+ UNIMPLEMENTED
+}
+
+/*
+ * @unimplemented
+ */
+NDIS_STATUS
+EXPORT
+NdisQueryPendingIOCount(
+ IN PVOID NdisBindingHandle,
+ OUT PULONG IoCount)
+{
+ UNIMPLEMENTED
+
+ return NDIS_STATUS_FAILURE;
+}
+
+/*
+ * @unimplemented
+ */
+NDIS_STATUS
+EXPORT
+NdisIMNotifyPnPEvent(
+ IN NDIS_HANDLE MiniportHandle,
+ IN PNET_PNP_EVENT NetPnPEvent)
+{
+ UNIMPLEMENTED
+
+ return NDIS_STATUS_FAILURE;
+}
+
+/*
+ * @unimplemented
+ */
+PNDIS_PACKET_STACK
+EXPORT
+NdisIMGetCurrentPacketStack(
+ IN PNDIS_PACKET Packet,
+ OUT BOOLEAN *StacksRemaining)
+{
+ UNIMPLEMENTED
+
+ *StacksRemaining = FALSE;
+
+ return NULL;
+}
+
+/*
+ * @unimplemented
+ */
+UCHAR
+EXPORT
+NdisGeneratePartialCancelId(VOID)
+{
+ UNIMPLEMENTED
+
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+EXPORT
+NdisFreeToBlockPool(
+ IN PUCHAR Block)
+{
+ UNIMPLEMENTED
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+EXPORT
+NdisDestroyBlockPool(
+ IN NDIS_HANDLE BlockPoolHandle)
+{
+ UNIMPLEMENTED
+}
+
+/*
+ * @unimplemented
+ */
+NDIS_HANDLE
+EXPORT
+NdisCreateBlockPool(
+ IN USHORT BlockSize,
+ IN USHORT FreeBlockLinkOffset,
+ IN ULONG Tag,
+ IN NDIS_BLOCK_INITIALIZER InitFunction OPTIONAL)
+{
+ UNIMPLEMENTED
+
+ return NULL;
+}
+
+/*
+ * @unimplemented
+ */
+PUCHAR
+EXPORT
+NdisAllocateFromBlockPool(
+ IN NDIS_HANDLE BlockPoolHandle)
+{
+ UNIMPLEMENTED
+
+ return NULL;
+}
+
+/*
+ * @unimplemented
+ */
+ULONG
+EXPORT
+NdisGetSharedDataAlignment(VOID)
+{
+ UNIMPLEMENTED
+
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+UINT
+EXPORT
+NdisGetVersion(VOID)
+{
+ UNIMPLEMENTED
+
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+PVOID
+EXPORT
+NdisGetRoutineAddress(
+ IN PUNICODE_STRING NdisRoutineName)
+{
+ UNIMPLEMENTED
+
+ return NULL;
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+EXPORT
+NdisCancelSendPackets(
+ IN NDIS_HANDLE NdisBindingHandle,
+ IN PVOID CancelId)
+{
+ UNIMPLEMENTED
+}
/*
* @unimplemented
Modified: trunk/reactos/drivers/network/ndis/ndis/co.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/co.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/co.c [iso-8859-1] Sun May 31 18:47:06 2009
@@ -10,6 +10,34 @@
#include "ndissys.h"
+/*
+ * @unimplemented
+ */
+NDIS_STATUS
+EXPORT
+NdisCoGetTapiCallId(
+ IN NDIS_HANDLE NdisVcHandle,
+ IN OUT PVAR_STRING TapiCallId)
+{
+ UNIMPLEMENTED
+
+ return NDIS_STATUS_FAILURE;
+}
+
+/*
+ * @unimplemented
+ */
+NDIS_STATUS
+EXPORT
+NdisCoAssignInstanceName(
+ IN NDIS_HANDLE NdisVcHandle,
+ IN PNDIS_STRING BaseInstanceName,
+ OUT PNDIS_STRING VcInstanceName)
+{
+ UNIMPLEMENTED
+
+ return NDIS_STATUS_FAILURE;
+}
/*
* @unimplemented