freebsd-skq/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
autoconf.c Dont worry about PSL_RI (restartable interrupt indicator) in 2008-09-15 01:03:16 +00:00
bcopy.c
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
copystr.c
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
db_hwwatch.c
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
fuswintr.c
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
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
setjmp.S
sigcode.S
stack_machdep.c Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
suswintr.c
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