diff options
Diffstat (limited to 'static/freebsd/man9/BUS_BIND_INTR.9 3.html')
| -rw-r--r-- | static/freebsd/man9/BUS_BIND_INTR.9 3.html | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/static/freebsd/man9/BUS_BIND_INTR.9 3.html b/static/freebsd/man9/BUS_BIND_INTR.9 3.html deleted file mode 100644 index f22ffda2..00000000 --- a/static/freebsd/man9/BUS_BIND_INTR.9 3.html +++ /dev/null @@ -1,85 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">BUS_BIND_INTR(9)</td> - <td class="head-vol">Kernel Developer's Manual</td> - <td class="head-rtitle">BUS_BIND_INTR(9)</td> - </tr> -</table> -<div class="manual-text"> -<section class="Sh"> -<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> -<p class="Pp"><code class="Nm">BUS_BIND_INTR</code>, - <code class="Nm">bus_bind_intr</code> — <span class="Nd">bind an - interrupt resource to a specific CPU</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> -<p class="Pp"><code class="In">#include - <<a class="In">sys/param.h</a>></code> - <br/> - <code class="In">#include <<a class="In">sys/bus.h</a>></code></p> -<p class="Pp"><var class="Ft">int</var> - <br/> - <code class="Fn">BUS_BIND_INTR</code>(<var class="Fa">device_t dev</var>, - <var class="Fa">device_t child</var>, <var class="Fa">struct resource - *irq</var>, <var class="Fa">int cpu</var>);</p> -<p class="Pp"><var class="Ft">int</var> - <br/> - <code class="Fn">bus_bind_intr</code>(<var class="Fa" style="white-space: nowrap;">device_t - dev</var>, <var class="Fa" style="white-space: nowrap;">struct resource - *irq</var>, <var class="Fa" style="white-space: nowrap;">int cpu</var>);</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">The - <a class="permalink" href="#BUS_BIND_INTR"><code class="Fn" id="BUS_BIND_INTR">BUS_BIND_INTR</code></a>() - method allows an interrupt resource to be pinned to a specific CPU. The - interrupt resource must have an interrupt handler attached via - <a class="Xr">BUS_SETUP_INTR(9)</a>. The <var class="Fa">cpu</var> parameter - corresponds to the ID of a valid CPU in the system. Binding an interrupt - restricts the <a class="Xr">cpuset(2)</a> of any associated interrupt - threads to only include the specified CPU. It may also direct the low-level - interrupt handling of the interrupt to the specified CPU as well, but this - behavior is platform-dependent. If the value <code class="Dv">NOCPU</code> - is used for <var class="Fa">cpu</var>, then the interrupt will be - “unbound” which restores any associated interrupt threads back - to the default cpuset.</p> -<p class="Pp">Non-sleepable locks such as mutexes should not be held across - calls to these functions.</p> -<p class="Pp" id="bus_bind_intr">The - <a class="permalink" href="#bus_bind_intr"><code class="Fn">bus_bind_intr</code></a>() - function is a simple wrapper around - <code class="Fn">BUS_BIND_INTR</code>().</p> -<p class="Pp" id="BUS_BIND_INTR~2">Note that currently there is no attempt made - to arbitrate between multiple bind requests for the same interrupt from - either the same device or multiple devices. There is also no arbitration - between interrupt binding requests submitted by userland via - <a class="Xr">cpuset(2)</a> and - <a class="permalink" href="#BUS_BIND_INTR~2"><code class="Fn">BUS_BIND_INTR</code></a>(). - The most recent binding request is the one that will be in effect.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN - VALUES</a></h1> -<p class="Pp">Zero is returned on success, otherwise an appropriate error is - returned.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE - ALSO</a></h1> -<p class="Pp"><a class="Xr">cpuset(2)</a>, <a class="Xr">BUS_SETUP_INTR(9)</a>, - <a class="Xr">device(9)</a></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> -<p class="Pp">The <code class="Fn">BUS_BIND_INTR</code>() method and - <code class="Fn">bus_bind_intr</code>() functions first appeared in - <span class="Ux">FreeBSD 7.2</span>.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">October 14, 2009</td> - <td class="foot-os">FreeBSD 15.0</td> - </tr> -</table> |
