opnsense-src/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 Since printf(3) now supports the `j' conversion specifier, use that 2002-06-30 05:48:03 +00:00
_limits.h Move MINSIGSTKSZ from <machine/signal.h> to <machine/_limits.h> and rename 2005-08-20 16:44:41 +00:00
_stdint.h <stdint.h> should define WINT_M{AX,IN} independent from whether WCHAR_MIN is 2004-05-18 16:04:57 +00:00
_types.h netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
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.h Redefine bus_space_tag_t on PowerPC from a 32-bit integral to 2007-12-19 18:00:50 +00:00
bus_dma.h Refactor the bus_dma header files so that the interface is described in 2005-03-14 16:46:28 +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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
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 Use a common multi-inclusion protection, and add such a 2005-02-19 21:16:48 +00:00
float.h Define LDBL_EPSILON, LDBL_MAX and LDBL_MIN as long double constants. 2008-11-16 19:20:29 +00:00
floatingpoint.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
ieeefp.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
in_cksum.h netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
intr.h Remove __P. 2002-03-20 23:17:50 +00:00
intr_machdep.h Add support for the BUS_CONFIG_INTR() method to the platform and to 2008-03-07 22:08:43 +00:00
kdb.h Unify and generalize PowerPC headers, adjust AIM code accordingly. 2008-03-02 17:05:57 +00:00
limits.h netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
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 Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
proc.h Divorce critical sections from spinlocks. Critical sections as denoted by 2005-04-04 21:53:56 +00:00
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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
reg.h Add comment explaining struct reg and struct fpreg must match the trapframe. 2004-07-29 13:39:27 +00:00
reloc.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:26:21 +00:00
resource.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
runq.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
sc_machdep.h A syscons implementation using the 8-bit framebuffer set up by 2004-01-21 05:16:23 +00:00
setjmp.h Fix namespace issues by using visibility conditionals from 2002-10-05 05:47:56 +00:00
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 Removed osigframe. No need for COMPAT_43 signal bin-compat in PPC. 2002-09-19 04:46:36 +00:00
signal.h Move MINSIGSTKSZ from <machine/signal.h> to <machine/_limits.h> and rename 2005-08-20 16:44:41 +00:00
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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
stack.h Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
stdarg.h Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletes 2006-09-21 01:37:02 +00:00
tlb.h Rework BookE pmap towards multi-core support. 2009-01-13 15:41:58 +00:00
trap.h Rework and extend PowerPC headers definitons towards Book-E/e500 CPUs support. 2008-03-03 13:20:52 +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
ucontext.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
varargs.h netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
vmparam.h Rework and extend PowerPC headers definitons towards Book-E/e500 CPUs support. 2008-03-03 13:20:52 +00:00