Date: Thu, 25 Mar 2004 00:23:08 -0800 (PST) From: Bill Paul <wpaul@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/ndis kern_ndis.c subr_ntoskrnl.c Message-ID: <200403250823.i2P8N9Zc043434@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2004/03/25 00:23:08 PST FreeBSD src repository Modified files: sys/compat/ndis kern_ndis.c subr_ntoskrnl.c Log: - In kern_ndis.c, implement ndis_unsched(), the complement to ndis_sched(), which pulls a job off a thread work queue (assuming it hasn't run yet). This is needed for KeRemoveQueueDpc(). - In subr_ntoskrnl.c, implement KeInsertQueueDpc() and KeRemoveQueueDpc(), to go with KeInitializeDpc() to round out the API. Also change the KeTimer implementation to use this API instead of the private timer callout scheduler. Functionality of the timer API remains unchanged, but we get a couple new Windows kernel API routines and more closely imitate the way thing works in Windows. (As of yet I haven't encountered any drivers that use KeInsertQueueDpc() or KeRemoveQueueDpc(), but it doesn't hurt to have them.) Revision Changes Path 1.46 +33 -0 src/sys/compat/ndis/kern_ndis.c 1.32 +53 -28 src/sys/compat/ndis/subr_ntoskrnl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403250823.i2P8N9Zc043434>