-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kern/intr: remove support for passing trap frame as argument #1225
Conversation
This was last verified 12-18 months ago. At that time there were 3 outstanding uses of this construct. Now those 3 are gone and as long as no more were added this backwards compatibility from i386 can be removed. |
Last verified at ee8b0c4, so just under 12 months ago. Hopefully no more snuck in, but there is a small chance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good wart to remove.
You should note in the commit message the preferred API for accessing the trapframe from an interrupt handler: de-referencing curthread->td_intr_frame
.
OK. Trying to land it with updated scripts, so hopefully the author dates aren't changed by it.... |
jhibbits approved it on Phabricator. |
While otherwise a handy potential approach, getting the trap frame via the argument isn't documented and isn't supposed to be used. With all uses removed, now remove support to end the mixed calling conventions. Differential Revision: https://reviews.freebsd.org/D37688 Reviewed by: imp, mhorne Pull Request: freebsd#1225
@mhorne's commit message adjustment seems appropriate, though I suspect it is simpler to let you handle that at this point. |
Yea, And I screwed up the commit message change.... I automated too much w/o a pause. |
Updated the comments so that this is documented and pushed another commit. |
Happens, not much can be done about such occurrences. |
While otherwise a handy potential approach, getting the trap frame via the argument isn't documented and isn't supposed to be used. With all uses removed, now remove support to end the mixed calling conventions. Differential Revision: https://reviews.freebsd.org/D37688 Reviewed by: imp, mhorne Pull Request: freebsd/freebsd-src#1225
While otherwise a handy potential approach, getting the trap frame via the argument isn't documented and isn't supposed to be used. With all uses removed, now remove support to end the mixed calling conventions.
Differential Revision: https://reviews.freebsd.org/D37688