Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2012 10:06:13 +0800
From:      Yong Fan <yong.fan@exar.com>
To:        "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>
Cc:        "drivers@FreeBSD.org" <drivers@FreeBSD.org>
Subject:   How can I decide whether my code is running in interrupt context or not?
Message-ID:  <88AB8EB2D3F1D249AE07FAFFF17A396F0384C3956A@HZU1EXCH02.hq.exar.com>

next in thread | raw e-mail | index | archive | help
Hi all,

In Linux, I can use in_interrupt() function.
FreeBSD has such a similar kernel function for drivers?

Thanks

________________________________
The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.



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