1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/conf
Ed Schouten 2e5d5dc936 Add proper __sync_*() intrinsics for MIPS.
To make <stdatomic.h> work on MIPS (and ARM) using GCC, we need to
provide implementations of the __sync_*() functions. I already added
these functions for 4 and 8 byte types to libcompiler-rt some time ago,
based on top of <machine/atomic.h>.

Unfortunately, <machine/atomic.h> only provides a subset of the features
needed to implement <stdatomic.h>. This means that in some cases we had
to do compare-and-exchange calls in loops, where a simple ll/sc would
suffice.

Also implement these functions for 1 and 2 byte types. MIPS only
provides ll/sc instructions for 4 and 8 byte types, but this is of
course no limitation. We can simply load 4 bytes and use some bitmask
tricks to modify only the bytes affected.

Discussed on:	mips, arch
Tested with:	QEMU
2013-06-08 13:19:11 +00:00
..
files Bring over the initial static bluetooth coexistence configuration 2013-06-07 09:02:02 +00:00
files.amd64 Add basic support for FDT to i386 & amd64. This change includes: 2013-05-21 03:05:49 +00:00
files.arm Add basic support for FDT to i386 & amd64. This change includes: 2013-05-21 03:05:49 +00:00
files.i386 Add basic support for FDT to i386 & amd64. This change includes: 2013-05-21 03:05:49 +00:00
files.ia64
files.mips Add proper __sync_*() intrinsics for MIPS. 2013-06-08 13:19:11 +00:00
files.pc98
files.powerpc Add basic support for FDT to i386 & amd64. This change includes: 2013-05-21 03:05:49 +00:00
files.sparc64 Remove all legacy ATA code parts, not used since options ATA_CAM enabled in 2013-04-04 07:12:24 +00:00
kern.mk Spell extensions correctly. 2013-05-20 19:41:34 +00:00
kern.post.mk
kern.pre.mk Add the AR9300 HAL into the kernel and module builds. 2013-05-02 07:05:34 +00:00
kmod_syms.awk
kmod.mk
ldscript.amd64
ldscript.arm Correctly align the unwind tables. Without this clang may incorrectly align 2013-03-10 00:47:19 +00:00
ldscript.i386
ldscript.ia64
ldscript.mips
ldscript.mips.cfe
ldscript.mips.mips64
ldscript.mips.octeon1
ldscript.powerpc
ldscript.powerpc64
ldscript.sparc64
Makefile.amd64 Add basic support for FDT to i386 & amd64. This change includes: 2013-05-21 03:05:49 +00:00
Makefile.arm The -mno-apcs-frame argument is unavaliable on clang, also ignore it there. 2013-03-17 00:56:17 +00:00
Makefile.i386 Add basic support for FDT to i386 & amd64. This change includes: 2013-05-21 03:05:49 +00:00
Makefile.ia64
Makefile.mips
Makefile.pc98
Makefile.powerpc
Makefile.sparc64
makeLINT.mk Generate a LINT for powerpc and for powerpc64. 2013-04-11 22:18:20 +00:00
makeLINT.sed
newvers.sh print compiler version in the kernel banner 2013-02-02 11:58:35 +00:00
NOTES Finally change the mbuf to have its own fib field instead of stealing 2013-05-16 16:20:17 +00:00
options Driver 'aacraid' added. Supports Adaptec by PMC RAID controller families Series 6, 7, 8 and upcoming products. Older Adaptec RAID controller families are supported by the 'aac' driver. 2013-05-24 09:22:43 +00:00
options.amd64
options.arm Port the new PV entry allocator from amd64/i386/mips to armv6/v7. 2013-05-14 09:47:58 +00:00
options.i386
options.ia64
options.mips Add an option for the GE FES based packet engines. Its board IDs 2013-04-23 09:40:42 +00:00
options.pc98
options.powerpc
options.sparc64 - While Netra X1 generally show no ill effects when registering a power 2013-03-02 00:37:31 +00:00
systags.sh
WITHOUT_SOURCELESS
WITHOUT_SOURCELESS_HOST
WITHOUT_SOURCELESS_UCODE