cvs commit: src/sys/compat/ndis ntoskrnl_var.h subr_hal.c subr_ntoskrnl.c

Bill Paul wpaul at FreeBSD.org
Thu Oct 20 22:23:21 PDT 2005


wpaul       2005-10-21 05:23:20 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      ntoskrnl_var.h subr_hal.c subr_ntoskrnl.c 
  Log:
  Correct the macro definition for KeRaiseIrql(). The official API
  is KeRaiseIrql(newirql, &oldirql), not oldirql = KeRaiseIrql(newirql).
  (The macro ultimately translates to KfRaiseIrql() which does use
  the latter API, so this has no effect on generated code.)
  
  Also, wait for thread termination the right way: kthread_exit()
  will ultimately do a wakeup(td->td_proc). This is the event we
  should wait on. Eliminate the previous synchronization machinery
  for this since it was never guaranteed to work correctly.
  
  Revision  Changes    Path
  1.40      +2 -2      src/sys/compat/ndis/ntoskrnl_var.h
  1.26      +1 -1      src/sys/compat/ndis/subr_hal.c
  1.76      +5 -22     src/sys/compat/ndis/subr_ntoskrnl.c


More information about the cvs-src mailing list