summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-09-19 22:41:52 +0000
committermarcel <marcel@FreeBSD.org>2003-09-19 22:41:52 +0000
commit77b076f87c2aa6554f7e7f062aa8e201c3b51bab (patch)
tree873f9f99375b0aeffa2b5ed9e4a85d781d1c6253 /sys/dev
parent1abaac476b3679af1ad4db15a31137c26f169c81 (diff)
downloadFreeBSD-src-77b076f87c2aa6554f7e7f062aa8e201c3b51bab.zip
FreeBSD-src-77b076f87c2aa6554f7e7f062aa8e201c3b51bab.tar.gz
Revamp trap(): make it more explicit which kinds of traps/faults we
can get (or not) and what we do with them. This fixes the behaviour for NaT consumption and speculation faults in that we now don't panic for user faults. Remove the dopanic label and move the code to a function. This makes it easier in the simulator to set a breakpoint. While here, remove the special handling of the old break-based syscall path and move it to where we handle the break vector. While here, reserve a new break immediate for KSE. We currently use the old break- based syscall to deal with restoring async contexts. However, it has the side-effect of also setting the signal mask and callong ast() on the way out. The new break immediate simply restores the context and returns without calling ast().
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud