opnsense-src/sys/powerpc/powerpc
Rafal Jaworowski 0a35b40f8d Make Book-E debug register state part of the PCB context.
Previously, DBCR0 flags were set "globally", but this leads to problems
because Book-E fine grained debug settings work only in conjuction with the
debug master enable bit in MSR: in scenarios when the DBCR0 was set with
intention to debug one process, but another one with MSR[DE] set got
scheduled, the latter would immediately cause debug exceptions to occur upon
execution of its own code instructions (and not the one intended for
debugging).

To avoid such problems and properly handle debugging context, DBCR0 state
should be managed individually per process.

Submitted by:	Grzegorz Bernacki gjb ! semihalf dot com
Reviewed by:	marcel
2009-02-27 12:08:24 +00:00
..
altivec.c Add Altivec support for supported CPUs. This is derived from the FPU support 2009-02-20 17:48:40 +00:00
atomic.S /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
autoconf.c Dont worry about PSL_RI (restartable interrupt indicator) in 2008-09-15 01:03:16 +00:00
bcopy.c Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
bus_machdep.c Redefine bus_space_tag_t on PowerPC from a 32-bit integral to 2007-12-19 18:00:50 +00:00
busdma_machdep.c Reimplement bus_dmamap_load with bus_dmamap_load_buffer. 2007-06-22 03:57:36 +00:00
copystr.c Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
cpu.c Unbreak support for G4s without an L3 cache. L3 cache support was introduced 2008-09-28 15:12:43 +00:00
db_disasm.c Clean up ddb warnings/errors and enable in GENERIC 2002-10-04 01:19:18 +00:00
db_hwwatch.c Move the prototypes of db_md_set_watchpoint(), db_md_clr_watchpoint() 2005-09-10 03:01:25 +00:00
db_interface.c In db_show_mdpcpu(), print MD fields. 2008-08-30 18:50:11 +00:00
db_trace.c Unify and generalize PowerPC headers, adjust AIM code accordingly. 2008-03-02 17:05:57 +00:00
elf_machdep.c Add sv_flags field to struct sysentvec with intention to provide description 2008-11-22 12:36:15 +00:00
fpu.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
fuswintr.c Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
gdb_machdep.c Make remote GDB work for AIM processors. For BookE, the kernel 2008-03-17 00:46:52 +00:00
genassym.c Make Book-E debug register state part of the PCB context. 2009-02-27 12:08:24 +00:00
in_cksum.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
intr_machdep.c Fix a race condition where interrupts set up after boot could be enabled in 2009-01-25 17:50:53 +00:00
mem.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
mmu_if.m Retire pmap_addr_hint(). It is no longer used. 2008-05-18 04:16:57 +00:00
mp_machdep.c Remove ipi_all() and ipi_self() as the former hasn't been used at 2008-09-28 18:34:14 +00:00
openpic.c Remove debugging code. 2008-09-14 21:30:01 +00:00
pic_if.m Add support for the BUS_CONFIG_INTR() method to the platform and to 2008-03-07 22:08:43 +00:00
pmap_dispatch.c Modularize the Open Firmware client interface to allow run-time switching 2008-12-20 00:33:10 +00:00
sc_machdep.c A syscons implementation using the 8-bit framebuffer set up by 2004-01-21 05:16:23 +00:00
setjmp.S Add setjmp (needed for DDB). 2002-07-10 12:26:17 +00:00
sigcode.S /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
stack_machdep.c Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
suswintr.c Fix compile warning 2004-02-11 07:48:19 +00:00
syncicache.c Allow the cacheline size on PowerPC to be set at runtime. This is essential for 2008-09-24 00:28:46 +00:00
sys_machdep.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00