From 5f091f4a37dbaf121ca0924090a7a29b2b2e5e68 Mon Sep 17 00:00:00 2001 From: wpaul Date: Fri, 1 Apr 2005 16:40:22 +0000 Subject: [PATCH] Fix another KeInitializeDpc()/amd64 calling convention issue: ndis_intrhand() has to be wrapped for the same reason as ndis_timercall(). --- sys/compat/ndis/kern_ndis.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/compat/ndis/kern_ndis.c b/sys/compat/ndis/kern_ndis.c index 3c512cc1620f..1552826d961c 100644 --- a/sys/compat/ndis/kern_ndis.c +++ b/sys/compat/ndis/kern_ndis.c @@ -93,6 +93,7 @@ static image_patch_table kernndis_functbl[] = { IMPORT_FUNC(ndis_getdone_func), IMPORT_FUNC(ndis_resetdone_func), IMPORT_FUNC(ndis_sendrsrcavail_func), + IMPORT_FUNC(ndis_intrhand), { NULL, NULL, NULL } }; @@ -1718,7 +1719,7 @@ NdisAddDevice(drv, pdo) sc->ndis_block = block; sc->ndis_chars = IoGetDriverObjectExtension(drv, (void *)1); - IoInitializeDpcRequest(fdo, ndis_intrhand); + IoInitializeDpcRequest(fdo, kernndis_functbl[6].ipt_wrap); /* Finish up BSD-specific setup. */