freebsd-dev/sys/powerpc/include
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
..
_bus.h Redefine bus_space_tag_t on PowerPC from a 32-bit integral to 2007-12-19 18:00:50 +00:00
_inttypes.h
_limits.h
_stdint.h
_types.h
altivec.h Add Altivec support for supported CPUs. This is derived from the FPU support 2009-02-20 17:48:40 +00:00
asm.h Align functions to 16-byte boundaries due to profiling granularity. 2008-04-03 17:40:20 +00:00
atomic.h Unbreak previous commit. 2008-11-22 22:15:34 +00:00
bat.h
bootinfo.h Obtain TSEC h/w address from the parent bus (OCP) and not rely blindly on what 2008-03-12 16:32:08 +00:00
bus_dma.h
bus.h Redefine bus_space_tag_t on PowerPC from a 32-bit integral to 2007-12-19 18:00:50 +00:00
clock.h The "free-lance" timer in the i8254 is only used for the speaker 2008-03-26 20:09:21 +00:00
cpu.h Declare btext and etext. Needed by sys/kern/subr_prof.c for 2008-10-27 00:26:07 +00:00
cpufunc.h Fix compilation in the case when kernel doesn't have KDB ebabled. 2008-10-30 21:02:00 +00:00
db_machdep.h
dbdma.h Expand the DBDMA API to allow setting device-dependent control bits. While 2008-09-27 15:41:16 +00:00
elf.h AT_DEBUG and AT_BRK were OBE like 10 years ago, so retire them. 2008-12-17 06:56:58 +00:00
endian.h Add support for little-endian compilations to this file. 2008-10-30 03:31:33 +00:00
exec.h
float.h Define LDBL_EPSILON, LDBL_MAX and LDBL_MIN as long double constants. 2008-11-16 19:20:29 +00:00
floatingpoint.h
fpu.h Rename OEA to AIM. The former means nothing as it applies to all 2007-12-16 00:45:56 +00:00
frame.h Make Book-E debug register state part of the PCB context. 2009-02-27 12:08:24 +00:00
gdb_machdep.h Make remote GDB work for AIM processors. For BookE, the kernel 2008-03-17 00:46:52 +00:00
hid.h Unify and generalize PowerPC headers, adjust AIM code accordingly. 2008-03-02 17:05:57 +00:00
ieee.h
ieeefp.h
in_cksum.h
intr_machdep.h Add support for the BUS_CONFIG_INTR() method to the platform and to 2008-03-07 22:08:43 +00:00
intr.h
kdb.h Unify and generalize PowerPC headers, adjust AIM code accordingly. 2008-03-02 17:05:57 +00:00
limits.h
md_var.h Allow the cacheline size on PowerPC to be set at runtime. This is essential for 2008-09-24 00:28:46 +00:00
memdev.h Remove the unused M_MEMDEV from the kernel. 2008-06-25 07:52:10 +00:00
metadata.h Define the bootinfo structure for FreeBSD. It is not used on 2008-02-23 18:01:45 +00:00
mmuvar.h Initial support for Freescale PowerQUICC III MPC85xx system-on-chip family. 2008-03-03 17:17:00 +00:00
mutex.h
ocpbus.h Obtain TSEC h/w address from the parent bus (OCP) and not rely blindly on what 2008-03-12 16:32:08 +00:00
ofw_machdep.h Modularize the Open Firmware client interface to allow run-time switching 2008-12-20 00:33:10 +00:00
openpicreg.h Add PIC support for IPIs. When registering an interrupt handler, 2008-02-12 18:14:46 +00:00
openpicvar.h Add support for the BUS_CONFIG_INTR() method to the platform and to 2008-03-07 22:08:43 +00:00
param.h Adapt parts of the sparc64 Open Firmware bus enumeration code (in particular, 2008-12-15 15:31:10 +00:00
pcb.h Make Book-E debug register state part of the PCB context. 2009-02-27 12:08:24 +00:00
pcpu.h Add Altivec support for supported CPUs. This is derived from the FPU support 2009-02-20 17:48:40 +00:00
pio.h
pmap.h Rework BookE pmap towards multi-core support. 2009-01-13 15:41:58 +00:00
pmc_mdep.h Add stubs to unbreak LINT. 2007-12-07 13:45:47 +00:00
powerpc.h
proc.h
profile.h Add support for kernel profiling for both AIM and BookE. 2008-10-27 02:36:03 +00:00
psl.h Rework and extend PowerPC headers definitons towards Book-E/e500 CPUs support. 2008-03-03 13:20:52 +00:00
pte.h Rework BookE pmap towards multi-core support. 2009-01-13 15:41:58 +00:00
ptrace.h
reg.h
reloc.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:26:21 +00:00
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h Rework and extend PowerPC headers definitons towards Book-E/e500 CPUs support. 2008-03-03 13:20:52 +00:00
sigframe.h
signal.h
smp.h Remove ipi_all() and ipi_self() as the former hasn't been used at 2008-09-28 18:34:14 +00:00
spr.h Improve MPC85XX helper routines. 2008-12-17 15:27:49 +00:00
sr.h
stack.h Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
stdarg.h
tlb.h Rework BookE pmap towards multi-core support. 2009-01-13 15:41:58 +00:00
trap_aim.h Rework and extend PowerPC headers definitons towards Book-E/e500 CPUs support. 2008-03-03 13:20:52 +00:00
trap_booke.h Rework and extend PowerPC headers definitons towards Book-E/e500 CPUs support. 2008-03-03 13:20:52 +00:00
trap.h Rework and extend PowerPC headers definitons towards Book-E/e500 CPUs support. 2008-03-03 13:20:52 +00:00
ucontext.h
varargs.h
vmparam.h Rework and extend PowerPC headers definitons towards Book-E/e500 CPUs support. 2008-03-03 13:20:52 +00:00