NetBSD/sys/arch/powerpc/include
pooka 01d7ebdd80 Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant
pthread types in C++ builds, attempt 2.

The problem with attempt 1 was making assumptions of what the MD
__cpu_simple_lock_t (declared volatile) looks like.  To get a same type
except non-volatile, we change the MD type to __cpu_simple_lock_nv_t
and typedef __cpu_simple_lock_t as a volatile __cpu_simple_lock_nv_t.
IMO, __cpu_simple_lock_t should not be volatile at all, but changing it
now is too risky.

Fixes at least Rumprun w/ gcc 5.1/5.2.  Furthermore, the mpd application
(and possibly others) will no longer require NetBSD-specific patches.

Tested: build.sh for i386, Rumprun for x86_64 w/ gcc 5.2.

Based on the patch from Christos in lib/49989.
2015-08-27 12:30:50 +00:00
..
booke This needs to define PRIxPTE too. 2015-06-16 06:51:16 +00:00
ibm4xx Use default PAGER_MAP_DEFAULT_SIZE for ARM and PowerPC, exception 2015-02-23 20:34:37 +00:00
mpc8xx
oea add instruction cache throttling SPR found on 750 2015-07-07 15:41:46 +00:00
Makefile Rename sljitarch.h to sljit_machdep.h. 2014-07-23 18:19:43 +00:00
Makefile.inc Put GCC/GAS specific options under ACTIVE_CC == "gcc". 2014-08-10 17:44:26 +00:00
altivec.h
ansi.h Make _BSD_CLOCK_T_ unsigned int so it's the same for IPL32 and LP64 2015-06-17 13:52:51 +00:00
aout_machdep.h
asm.h Name the offsets to the remaining fields in the ppc64 2015-01-12 02:32:33 +00:00
bat.h
bswap.h
bus_defs.h
bus_funcs.h
cdefs.h
cpu.h ddb MP support 2015-01-23 07:27:05 +00:00
cpu_counter.h
db_machdep.h ddb MP support 2015-01-23 07:27:05 +00:00
elf_machdep.h
endian.h
endian_machdep.h
float.h
fpu.h
frame.h
ieee.h Support copysignl on PowerPC. 2014-10-22 10:32:50 +00:00
ieeefp.h
instr.h Add OPC31_OR 2014-08-01 21:56:36 +00:00
int_const.h Include <sys/common_int_const.h> if __INTMAX_C_SUFFIX__ is defined. 2014-08-13 22:51:58 +00:00
int_fmtio.h forgot to commit this when I updated netbsd64 in gcc. 2015-04-01 23:31:37 +00:00
int_limits.h Include <sys/common_init_limits.h> if __SIG_ATOMIC_MAX__ is defined. 2014-08-13 22:31:06 +00:00
int_mwgwtypes.h include <sys/common_int_mwgwtypes.h> if __UINT_FAST64_TYPE__ is defined. 2014-08-13 22:25:39 +00:00
int_types.h Include <sys/common_int_types.h> if __UINTPTR_TYPE__ is defined. 2014-08-13 22:56:56 +00:00
intr.h
ipkdb.h
isa_machdep.h
kcore.h
limits.h Since all our compilers support __DBL_* and __FLT_*, use them to define 2014-04-21 10:53:47 +00:00
lock.h
math.h Support copysignl on PowerPC. 2014-10-22 10:32:50 +00:00
mcontext.h Avoid unncessary use of double in the kernel. With this change, 2014-08-12 20:27:10 +00:00
mutex.h
netbsd32_machdep.h
ofw_bus.h
ofw_bus_defs.h
ofw_bus_funcs.h
ofw_cons.h
openpic.h
openpicreg.h
param.h
pcb.h
pci_machdep.h make pci_intr_string and eisa_intr_string take a buffer and a length 2014-03-29 19:28:24 +00:00
pio.h
pmap.h
pmc.h
prep_bus.h
prep_bus_defs.h
prep_bus_funcs.h
proc.h
profile.h
psl.h Remove PSL_SPV from BOOKE PSL_USERMOD 2015-07-06 05:36:26 +00:00
pte.h
ptrace.h
reg.h Avoid unncessary use of double in the kernel. With this change, 2014-08-12 20:27:10 +00:00
reloc.h
rtas.h
rwlock.h
setjmp.h
signal.h
sljit_machdep.h Rename sljitarch.h to sljit_machdep.h. 2014-07-23 18:19:43 +00:00
softint.h
spr.h
trap.h
types.h Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant 2015-08-27 12:30:50 +00:00
userret.h Don't clear PSL_FP/PSL_VEC 2015-07-06 05:55:37 +00:00
vmparam.h src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
wchar_limits.h