aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/swi.9
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* ithread(9): update functions to current dayMitchell Horne2022-10-151-1/+1
| | | | | | | | | | | | | | | | | | | The public KPI is now intr_event_**, - Convert existing documented functions to their equivalents. - Fix up the function arguments - Fix up the possible error return values for each - Remove ithread_schedule() completely - Rename man page to intr_event(9) - Update cross-references Future changes will update the descriptive text for these functions. PR: 100803 Based on work by: trhodes Reviewed by: jhb MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33475
* swi(9): remove BUGS sectionMitchell Horne2022-10-121-5/+1
| | | | | | | | | | | | | Most of these globals have been removed, save for clk_intr_event. This one is appropriate to keep in sys/interrupt.h, despite the fact that it has only one consumer. Bump .Dd for this and previous changes. Reviewed by: markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36939
* Downgrade tty_intr_event from a globalMitchell Horne2022-10-121-10/+3
| | | | | | | | | | It can be static within uart_tty.c. It is an open question whether there remains any real benefit to having uart instances share a swi thread. Reviewed by: imp, markj, jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36938
* swi(9): clean up description of clk_intr_eventMitchell Horne2022-10-121-11/+4
| | | | | | | | | | | From what I can tell, setdelayed() was removed so long ago that its mention is more likely to be confusing than helpful. We now have a manpage for hardclock(9), so reference that. Reviewed by: markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36937
* Remove last references of vm_ihMitchell Horne2022-10-121-5/+0
| | | | | | | | | | The only remaining user was busdma, and so it was simplified. Reviewed by: markj, jhb MFC after: 1 week Fixes: 254e4e5b77d7 ("Simplify swi for bus_dma") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36936
* Allow swi_sched() to be called from NMI context.Alexander Motin2020-07-251-2/+9
| | | | | | | | | | | | | | | | | | For purposes of handling hardware error reported via NMIs I need a way to escape NMI context, being too restrictive to do something significant. To do it this change introduces new swi_sched() flag SWI_FROMNMI, making it careful about used KPIs. On platforms allowing IPI sending from NMI context (x86 for now) it immediately wakes clk_intr_event via new IPI_SWI, otherwise it works just like SWI_DELAY. To handle the delayed SWIs this patch calls clk_intr_event on every hardclock() tick. MFC after: 2 weeks Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D25754 Notes: svn path=/head/; revision=363527
* Drop "All rights reserved" from my copyright statements.John Baldwin2019-03-061-1/+0
| | | | | | | | | Reviewed by: rgrimes MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D19485 Notes: svn path=/head/; revision=344855
* - Update the rest of struct ithd references.Sergey Kandaurov2012-04-191-14/+9
| | | | | | | | | - net_ih and softclock_ih cookies have gone away. MFC after: 1 week Notes: svn path=/head/; revision=234465
* Document swi_remove(9).Sergey Kandaurov2012-04-191-2/+30
| | | | | | | | Reviewed by: jhb MFC after: 1 week Notes: svn path=/head/; revision=234463
* Update the swi_add prototype after struct ithd was split up intoSergey Kandaurov2012-04-121-15/+16
| | | | | | | | | | | struct intr_event and struct intr_thread. PR: docs/166864 Reviewed by: jhb (older version) MFC after: 1 week Notes: svn path=/head/; revision=234188
* Retire the INTR_FAST flag as it was obsoleted by the introduction of theJohn Baldwin2011-01-061-4/+2
| | | | | | | filter argument to bus_setup_intr(). Notes: svn path=/head/; revision=217074
* Make an argument name in the synopsis match that in the text. CorrectJoseph Koshy2004-12-291-2/+2
| | | | | | | an mdoc error. Notes: svn path=/head/; revision=139392
* Tabs here upset my automatic checker, so replaced them with spaces.Ruslan Ermilov2004-07-071-5/+5
| | | | Notes: svn path=/head/; revision=131735
* mdoc(7): Use the new feature of the .In macro.Ruslan Ermilov2003-09-081-1/+1
| | | | Notes: svn path=/head/; revision=119893
* mdoc(7) police: scheduled sweep.Ruslan Ermilov2002-11-291-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107383
* SWI_SWITCH and SWI_NOSWITCH were OBE a long time ago.John Baldwin2002-10-111-12/+5
| | | | Notes: svn path=/head/; revision=104932
* Typo: s/conjuction/conjunction/Jens Schweikhardt2002-03-161-1/+1
| | | | Notes: svn path=/head/; revision=92436
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-3/+3
| | | | Notes: svn path=/head/; revision=84306
* mdoc(7) police: Use Vt for variable types.Ruslan Ermilov2001-03-061-3/+2
| | | | Notes: svn path=/head/; revision=73868
* Catch up to the new swi API.John Baldwin2001-03-051-59/+91
| | | | Notes: svn path=/head/; revision=73797
* Fixed missing and/or wrong and/or extra includes in synopsis.Bruce Evans2001-02-151-0/+1
| | | | Notes: svn path=/head/; revision=72512
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.Ruslan Ermilov2001-01-121-5/+5
| | | | Notes: svn path=/head/; revision=70974
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-5/+5
| | | | Notes: svn path=/head/; revision=70466
* Add a newline character at the end of this file, it was missing whichBen Smithurst2000-11-151-1/+1
| | | | | | | resulted in ugly errors from 'diff'. Notes: svn path=/head/; revision=68749
* Describe the new software interrupt thread functionality.John Baldwin2000-11-131-0/+203
Reviewed by: sheldonh, jasone Notes: svn path=/head/; revision=68686