Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2005 05:23:20 +0000 (UTC)
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 ntoskrnl_var.h subr_hal.c subr_ntoskrnl.c
Message-ID:  <200510210523.j9L5NKKK070834@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510210523.j9L5NKKK070834>