]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
intr: Document how to get the interrupt frame
authorWarner Losh <imp@FreeBSD.org>
Fri, 10 May 2024 21:41:36 +0000 (15:41 -0600)
committerWarner Losh <imp@FreeBSD.org>
Fri, 10 May 2024 21:41:36 +0000 (15:41 -0600)
commita2409f17377ebb5c6e3e522ae090a0845ee19aeb
treed3cca13a4280fc4868db64a997182f3c1e082d77
parent38c35248fe3b740e107682b4a10bebe28992590f
intr: Document how to get the interrupt frame

Document that the only way to get the interrupt thread is to use
curthread->td_intr_frame, rather than the old-style of having a NULL
pointer for the interrupt thread. As of 38c35248fe3b, support for that
has been removed. I neglected to update that commit message with these
details.

Suggested by: mhorne
sys/kern/kern_intr.c