freebsd-skq/sys/powerpc/include
Peter Wemm 23eeeff7be Split 4.x and 5.x signal handling so that we can keep 4.x signal
handling clean and functional as 5.x evolves.  This allows some of the
nasty bandaids in the 5.x codepaths to be unwound.

Encapsulate 4.x signal handling under COMPAT_FREEBSD4 (there is an
anti-foot-shooting measure in place, 5.x folks need this for a while) and
finish encapsulating the older stuff under COMPAT_43.  Since the ancient
stuff is required on alpha (longjmp(3) passes a 'struct osigcontext *'
to the current sigreturn(2), instead of the 'ucontext_t *' that sigreturn
is supposed to take), add a compile time check to prevent foot shooting
there too.  Add uniform COMPAT_43 stubs for ia64/sparc64/powerpc.

Tested on: i386, alpha, ia64.  Compiled on sparc64 (a few days ago).
Approved by: re
2002-10-25 19:10:58 +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 Create a new header <machine/_stdint.h> for storing MD parts of 2002-07-29 17:41:23 +00:00
_stdint.h Create a new header <machine/_stdint.h> for storing MD parts of 2002-07-29 17:41:23 +00:00
_types.h Move several MI types from <machine/_types.h> to <sys/_types.h>. 2002-08-23 16:49:06 +00:00
asm.h PIC_GOTOFF is OBE. 2002-09-23 07:27:45 +00:00
atomic.h Fixed branch labels 2002-09-19 04:39:59 +00:00
bat.h
bootinfo.h Remove __P. 2002-03-20 23:17:50 +00:00
bus_memio.h 1) Add busdma machdep code. 2002-07-09 12:47:14 +00:00
bus_pio.h 1) Add busdma machdep code. 2002-07-09 12:47:14 +00:00
bus.h Added sparse address support, required by the macio ATA device 2002-09-19 04:44:04 +00:00
clock.h Remove __P. 2002-03-20 23:17:50 +00:00
cpu.h Additional machdep sysctl constants needed for userland utils 2002-09-19 04:44:35 +00:00
cpufunc.h Fix clearing of recoverable exception MSR bit when disabling 2002-09-19 04:45:06 +00:00
critical.h We don't need to clear RI in the MSR when entering a critical section. 2002-06-29 09:55:57 +00:00
db_machdep.h Clean up ddb warnings/errors and enable in GENERIC 2002-10-04 01:19:18 +00:00
elf.h Move the definition of ElfN_Hashelt to common headers. The only platform 2002-05-30 08:32:18 +00:00
endian.h Be careful not to define GCC-specific optimizations in the non-GCC 2002-09-23 04:32:17 +00:00
exec.h
float.h An exact copy of i386/include/float.h will work here. 2002-05-15 20:54:35 +00:00
fpu.h FPU support. 2002-05-13 07:44:48 +00:00
frame.h <machine/types.> -> <sys/types.h> 2002-09-19 04:45:32 +00:00
ieeefp.h FPU support. 2002-05-13 07:44:48 +00:00
in_cksum.h in_cksum et al. 2002-06-29 09:49:26 +00:00
interruptvar.h Add this file, which I forgot in a previous commit. 2002-07-09 12:50:58 +00:00
intr_machdep.h Add interrupt handling support code. 2002-07-09 11:12:20 +00:00
intr.h Remove __P. 2002-03-20 23:17:50 +00:00
ipl.h
kse.h Changes for KSE3. 2002-07-09 12:57:23 +00:00
limits.h Create a new header <machine/_stdint.h> for storing MD parts of 2002-07-29 17:41:23 +00:00
md_var.h Change hw.physmem and hw.usermem to unsigned long like they used to be 2002-08-30 04:04:37 +00:00
metadata.h Metadata definitions. 2002-07-10 12:14:23 +00:00
mutex.h Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
nexusvar.h - Add the "compatible" property to the list that we keep in ivars. 2002-07-09 11:13:33 +00:00
ofw_machdep.h Add the OF_getetheraddr function required by if_gem. 2002-07-09 13:43:06 +00:00
openpicreg.h Driver for OpenPIC compatible interrupt controllers. 2002-07-09 11:26:10 +00:00
openpicvar.h psim device support 2002-09-19 04:45:58 +00:00
param.h Define _MACHINE. 2002-10-05 02:56:49 +00:00
pcb.h Add the USER_SR segment register to pcb state. Initialize correctly, 2002-10-21 05:27:41 +00:00
pcpu.h FPU support. 2002-05-13 07:44:48 +00:00
pio.h
pmap.h o Introduce pmap_page_is_mapped(). Its purpose is to obsolete 2002-08-07 19:37:22 +00:00
powerpc.h Get the correct memory regions from OpenFirmware. We were getting the 2002-05-27 11:18:12 +00:00
proc.h Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +00:00
psl.h Add the PSL_VEC flag for AltiVec (no, it's not here yet =)) 2002-05-19 04:03:11 +00:00
pte.h 1. Better track the executable status of mappings. 2002-05-09 14:09:19 +00:00
ptrace.h Move the definition of PT_[GS]ET{,DB,FP}REGS from the MD ptrace.h to the 2002-03-16 00:25:53 +00:00
reg.h Renamed poorly named setregs to exec_setregs. Moved its prototype to 2002-08-29 06:17:48 +00:00
reloc.h
resource.h
runq.h Move the "- 1" into the RQB_FFS(mask) macro itself so that 2002-06-20 06:21:20 +00:00
setjmp.h Fix namespace issues by using visibility conditionals from 2002-10-05 05:47:56 +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 Split 4.x and 5.x signal handling so that we can keep 4.x signal 2002-10-25 19:10:58 +00:00
smp.h
spr.h Rename the constants for the contents of the PVR register so as not to 2002-05-09 14:04:43 +00:00
sr.h style(9) 2002-02-18 06:24:55 +00:00
stdarg.h o Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:01:07 +00:00
trap.h Update to newer trap code from NetBSD. 2002-05-09 14:22:55 +00:00
ucontext.h
varargs.h Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:02:06 +00:00
vmparam.h