Files
freebsd/sys/arm64/include
John Baldwin 91ad99ecb9 MFC 322437: Reliably enable debug exceptions on all CPUs.
Previously, debug exceptions were only enabled on the boot CPU if
DDB was enabled in the dbg_monitor_init() function.  APs also called
this function, but since mp_machdep.c doesn't include opt_ddb.h, the
APs ended up calling an empty stub defined in <machine/debug_monitor.h>
instead of the real function.  Also, if DDB was not enabled in the kernel,
the boot CPU would not enable debug exceptions.

Fix this by adding a new dbg_init() function that always clears the OS
lock to enable debug exceptions which the boot CPU and the APs call.
This function also calls dbg_monitor_init() to enable hardware breakpoints
from DDB on all CPUs if DDB is enabled.  Eventually base support for
hardware breakpoints/watchpoints will need to move out of the DDB-only
debug_monitor.c for use by userland debuggers.
2017-08-21 17:35:04 +00:00
..
…
…
…
…
2017-02-11 02:00:56 +00:00
2017-07-04 10:54:08 +00:00
…
…
…
2017-02-20 10:44:24 +00:00
…
2016-09-13 16:22:50 +00:00
…
2017-05-20 16:12:44 +00:00
…
…
…
…
2017-05-30 13:02:10 +00:00
…
2016-08-31 17:36:43 +00:00
…
…
2016-09-16 10:04:28 +00:00
…
…
…
2016-09-21 09:45:14 +00:00
2017-07-21 06:56:06 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2016-09-16 10:04:28 +00:00
…
…