dm dumping - peripheral changes
authorAlex Hornung <ahornung@gmail.com>
Fri, 22 Oct 2010 20:12:07 +0000 (21:12 +0100)
committerAlex Hornung <ahornung@gmail.com>
Fri, 22 Oct 2010 21:39:39 +0000 (22:39 +0100)
commit5ea440eb9d214ae60eda598420565bde9523df6a
tree497e53296e6ebe95682143e2a5569312b9554beb
parent802b45756e5acde0207b35f3248dbc36547e57a1
dm dumping - peripheral changes

* Add a variable to allow tsleep to work even during a panic
  (tsleep_crypto_dump). This is currently only used by the crypto dump
  code.

* Allow T_DNA faults to happen during a panic.

* In userret() check for 'dump_stop_usertds' and if it is set, force
  user process into tstop().

* Add a dump_reactivate_cpus() function that will force all user threads
  into tstop() and restarts all cpus. This is currently only used by the
  crypto dump code.
sys/kern/kern_shutdown.c
sys/kern/kern_synch.c
sys/platform/pc32/i386/trap.c
sys/platform/pc64/x86_64/trap.c
sys/sys/kerneldump.h