cvs commit: src/sys/compat/ndis kern_ndis.c subr_ntoskrnl.c

Bill Paul wpaul at
Thu Mar 25 00:23:09 PST 2004

wpaul       2004/03/25 00:23:08 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      kern_ndis.c subr_ntoskrnl.c 
  - 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

More information about the cvs-src mailing list