Author: ed
Date: Thu Jul 9 16:07:01 2015
New Revision: 285323
URL: https://svnweb.freebsd.org/changeset/base/285323
Log:
Add implementations for some of the CloudABI file descriptor system calls.
All of the CloudABI system calls that operate on file descriptors of an
arbitrary type are
COMPAT_CLOUDABI64 to your kernel
configuration file explicitly, it won't get built.
--
Ed Schouten e...@nuxi.nl
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman
Author: ed
Date: Thu Jul 9 07:20:15 2015
New Revision: 285307
URL: https://svnweb.freebsd.org/changeset/base/285307
Log:
Import the CloudABI datatypes and create a system call table.
CloudABI is a pure capability-based runtime environment for UNIX. It
works similar to Capsicum, except
Author: ed
Date: Thu Jul 9 07:21:33 2015
New Revision: 285308
URL: https://svnweb.freebsd.org/changeset/base/285308
Log:
Generate CloudABI system call table with proper $FreeBSD$ tags.
Added:
head/sys/compat/cloudabi64/cloudabi64_proto.h (contents, props changed)
Author: ed
Date: Thu Jul 9 07:31:40 2015
New Revision: 285309
URL: https://svnweb.freebsd.org/changeset/base/285309
Log:
Add forward declaration of struct thread.
This structure is used in some of the functions in this header, but we
don't depend on any header that pulls it i.
Author: ed
Date: Thu Jul 9 12:04:45 2015
New Revision: 285312
URL: https://svnweb.freebsd.org/changeset/base/285312
Log:
Don't clobber td-td_retval[0] in proc_reap().
While writing tests for CloudABI, I noticed that close() on process
descriptors returns the process ID of the child
2015-06-29 15:06 GMT+02:00 Konstantin Belousov k...@freebsd.org:
Simplify code, no need to test the flag before clearing it.
Thanks! :-)
--
Ed Schouten e...@nuxi.nl
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717
___
svn-src-head
)
+ bp-b_vflags = ~BV_BKGRDERR;
BO_UNLOCK(bp-b_bufobj);
/*
This if-statement could be removed, right? The bit could just be
cleared unconditionally.
Best regards,
--
Ed Schouten e...@nuxi.nl
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717
to figure out what
actually uses this? If it's just Python and a small number of other
ports, maybe it would be worth porting these over?
--
Ed Schouten e...@nuxi.nl
Nuxi, 's-Hertogenbosch, the Netherlands
KvK/VAT number: 62051717
___
svn-src-head
[ +das@ ]
2015-06-25 18:03 GMT+02:00 Ed Schouten e...@nuxi.nl:
Considering that this interface is essentially deprecated (they were
replaced by C99 fenv.h), would it make sense to figure out what
actually uses this? If it's just Python and a small number of other
ports, maybe it would
Author: ed
Date: Fri Mar 6 16:43:54 2015
New Revision: 279698
URL: https://svnweb.freebsd.org/changeset/base/279698
Log:
Update the ELFOSABI_* constants.
Two new operating systems have been added in the meantime.
ELFOSABI_FENIXOS that uses value 16 (published in the latest draft) and
Author: ed
Date: Thu Feb 19 18:56:39 2015
New Revision: 279016
URL: https://svnweb.freebsd.org/changeset/base/279016
Log:
Make syslogd work in case shutdown() is POSIX-ly correct.
On POSIX conformant systems, shutdown() should return ENOTCONN when not
connected. We attempted to fix this
Author: ed
Date: Wed Jan 14 13:03:03 2015
New Revision: 277178
URL: https://svnweb.freebsd.org/changeset/base/277178
Log:
Make sure CAP_BINDAT and CAP_CONNECTAT are part of CAP_ALL0.
This makes sure that file descriptors of opened directories will
actually get these capabilities. Without
Author: ed
Date: Wed Dec 24 10:13:53 2014
New Revision: 276176
URL: https://svnweb.freebsd.org/changeset/base/276176
Log:
Clarify to explain that C99 conforming compilers don't need CMPLX*().
Discussed with: kargl@
Modified:
head/lib/msun/src/math_private.h
Modified:
.
Sure thing!
Just to make sure the phrasing is done properly, would you be willing
to come up with a diff? I'll push it in if you like.
Thanks,
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo
to imply with this. Are changes that do not
affect checksums of object files are bad?
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src
Author: ed
Date: Tue Dec 16 09:21:56 2014
New Revision: 275819
URL: https://svnweb.freebsd.org/changeset/base/275819
Log:
Rename cpack*() to CMPLX*().
The C11 standard introduced a set of macros (CMPLX, CMPLXF, CMPLXL) that
can be used to construct complex numbers from a pair of real and
Author: ed
Date: Fri Sep 5 05:20:52 2014
New Revision: 271154
URL: http://svnweb.freebsd.org/changeset/base/271154
Log:
Partially revert r271012.
Incredibly weird: GCC 4.7/4.9 do support the _Noreturn and _Thread_local
keywords, but not during bootstrapping. GCC is by far the weirdest
Author: ed
Date: Fri Sep 5 05:36:32 2014
New Revision: 271155
URL: http://svnweb.freebsd.org/changeset/base/271155
Log:
Roll back r271012 even more aggressively.
I've looked at the GCC sources and I now understand what's going wrong.
THe C11 keywords are simply nonexistent when using
Author: ed
Date: Wed Sep 3 06:34:16 2014
New Revision: 270994
URL: http://svnweb.freebsd.org/changeset/base/270994
Log:
Partially revert r270964. Don't test for C++11 to define _Thread_local.
In addition to Clang 3.3, it turns out that GCC 4.7 in Ports also does
not support the
On 3 September 2014 07:44, Antoine Brodin anto...@freebsd.org wrote:
This change may break the lang/gcc port on head:
http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p367138_s270990/logs/errors/gcc-4.7.4.log
Good catch! Fixed in r270994.
--
Ed Schouten e...@80386.nl
Author: ed
Date: Wed Sep 3 09:35:38 2014
New Revision: 271012
URL: http://svnweb.freebsd.org/changeset/base/271012
Log:
Leave the C11 keywords alone when we have a recent version of GCC.
As GCC also gained support for the C11 keywords over time, we can patch
up sys/cdefs.h to not define
Author: ed
Date: Tue Sep 2 11:16:44 2014
New Revision: 270964
URL: http://svnweb.freebsd.org/changeset/base/270964
Log:
Clean up sys/cdefs.h slightly.
- Remove c++0x hack from sys/cdefs.h that was needed when Clang did
not fully implement C++11. We can now safely test against C++11 to
Author: ed
Date: Mon Sep 1 18:27:04 2014
New Revision: 270941
URL: http://svnweb.freebsd.org/changeset/base/270941
Log:
Add lock annotations to sys/cdefs.h.
Clang has support for annotating mutexes and code that uses mutexes to
validate certain aspects of thread safety:
- Whether
Author: ed
Date: Mon Sep 1 18:28:11 2014
New Revision: 270942
URL: http://svnweb.freebsd.org/changeset/base/270942
Log:
Enable lock annotations on HEAD when using Clang.
MFC after:never
Modified:
head/sys/sys/cdefs.h
Modified: head/sys/sys/cdefs.h
Author: ed
Date: Mon Sep 1 18:34:30 2014
New Revision: 270943
URL: http://svnweb.freebsd.org/changeset/base/270943
Log:
Add lock annotations to the header files of our threading libraries.
This change extends all of the functions present in the pthread.h and
threads.h headers to have
On 1 September 2014 20:34, Ed Schouten e...@freebsd.org wrote:
- Locking a function twice,
- Unlocking a function without a mutex being locked,
Errr...
- Locking a mutex twice,
- Unlocking a mutex without it being locked
--
Ed Schouten e...@80386.nl
Author: ed
Date: Mon Sep 1 18:37:17 2014
New Revision: 270944
URL: http://svnweb.freebsd.org/changeset/base/270944
Log:
Add lock annotations to the threading API used by hastd.
Approved by: pjd@
Modified:
head/sbin/hastd/primary.c
head/sbin/hastd/synch.h
Modified:
Author: ed
Date: Mon Sep 1 19:56:28 2014
New Revision: 270950
URL: http://svnweb.freebsd.org/changeset/base/270950
Log:
Add lock annotations to libcuse.
- Add annotations to the lock/unlock function to indicate that the
function is allowed to lock and unlock the underlying pthread
Author: ed
Date: Mon Sep 1 20:18:09 2014
New Revision: 270951
URL: http://svnweb.freebsd.org/changeset/base/270951
Log:
Add -Wthread-safety to WARNS=6.
While there, add a NO_WTHREAD_SAFETY flag that can be used to disable
this specific warning flag. Disable it for auditdistd. We can
Author: ed
Date: Thu Aug 28 11:50:52 2014
New Revision: 270749
URL: http://svnweb.freebsd.org/changeset/base/270749
Log:
Unlock the right lock.
The adist_remote_lock is not held in this place, whereas the
adist_recv_list_lock lock is and is picked up during the next iteration.
I
constant having a certain type.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
also just be a std::set, right?
Even though I actually think C++ is a lot nicer than C, do we really
think it is actually worth proactively replacing already existent
tools? This specific tool has now become three times as big as the
previous version (7128 - 23840 bytes).
--
Ed Schouten e...@80386
off
between code readability and object size shows.
With the patch above, the binary shrinks to 15640 bytes, so my
concerns are somewhat addressed. :-)
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org
Author: ed
Date: Thu Jul 10 15:56:15 2014
New Revision: 268498
URL: http://svnweb.freebsd.org/changeset/base/268498
Log:
Let users(1) use an std::set, instead of std::{vector,sort,unique}.
Reviewed by: gahr
Modified:
head/usr.bin/users/users.cc
Modified: head/usr.bin/users/users.cc
Author: ed
Date: Thu Jul 10 15:58:28 2014
New Revision: 268499
URL: http://svnweb.freebsd.org/changeset/base/268499
Log:
Don't use auto, as we also need to support GCC 4.2.
Modified:
head/usr.bin/users/users.cc
Modified: head/usr.bin/users/users.cc
On 10 July 2014 17:53, Baptiste Daroussin b...@freebsd.org wrote:
Just make sure not to break mips, powerpc and sparc64 which are still using
gcc 4.2 :)
Oomf! Good point. Completely forgot about that. There is indeed one
C++11-ism in the code, namely the use of auto. Let me fix that.
--
Ed
On 10 July 2014 18:05, Pietro Cerutti g...@freebsd.org wrote:
I reply to this one, since I'm not on src-all.
- for consistency, I'd s|std::set|set|
- return (0) is not needed in c++
Good catch. Fixed!
--
Ed Schouten e...@80386.nl
___
svn-src-head
Author: ed
Date: Thu Jul 10 16:10:39 2014
New Revision: 268500
URL: http://svnweb.freebsd.org/changeset/base/268500
Log:
Fix a couple of style nits.
- Use set instead of std::set, to be consistent with the rest of the file.
- Remove return (0); it's not required.
- Add a dash at the
Author: ed
Date: Wed Apr 23 14:05:28 2014
New Revision: 264823
URL: http://svnweb.freebsd.org/changeset/base/264823
Log:
Make usage printing more consistent with other tools.
- Introduce a separate usage() function.
- Don't use argv[0]. Directly name the application, as we do elsewhere.
Author: ed
Date: Mon Apr 7 18:10:49 2014
New Revision: 264231
URL: http://svnweb.freebsd.org/changeset/base/264231
Log:
Implement kqueue(2) for procdesc(4).
kqueue(2) already supports EVFILT_PROC. Add an EVFILT_PROCDESC that
behaves the same, but operates on a procdesc(4) instead. Only
Author: ed
Date: Mon Apr 7 18:17:31 2014
New Revision: 264232
URL: http://svnweb.freebsd.org/changeset/base/264232
Log:
Fix table alignment. EVFILT_PROCDESC is longer than the existing filters.
Modified:
head/lib/libc/sys/kqueue.2
Modified: head/lib/libc/sys/kqueue.2
Author: ed
Date: Mon Apr 7 21:11:29 2014
New Revision: 264237
URL: http://svnweb.freebsd.org/changeset/base/264237
Log:
Clean up shutdown_nice(). Just send the right signal to init(8).
Right now, init(8) cannot distinguish between an ACPI power button press
or a Ctrl+Alt+Del sequence on
Author: ed
Date: Mon Apr 7 21:18:12 2014
New Revision: 264240
URL: http://svnweb.freebsd.org/changeset/base/264240
Log:
Thinko: don't forget to apply 'howto' in case init(8) isn't running.
Modified:
head/sys/kern/kern_shutdown.c
Modified: head/sys/kern/kern_shutdown.c
Author: ed
Date: Sun Apr 6 20:00:42 2014
New Revision: 264200
URL: http://svnweb.freebsd.org/changeset/base/264200
Log:
Nit: fix locking of p-p_state in procdesc_close().
According to sys/proc.h, this field needs to be locked with either the
p_mtx or the p_slock. In this case the damage
Author: ed
Date: Sun Apr 6 20:20:07 2014
New Revision: 264202
URL: http://svnweb.freebsd.org/changeset/base/264202
Log:
Fix a typo. The function name is pdfork; not pfork.
Modified:
head/sys/kern/sys_procdesc.c
Modified: head/sys/kern/sys_procdesc.c
Author: ed
Date: Sat Apr 5 11:37:58 2014
New Revision: 264144
URL: http://svnweb.freebsd.org/changeset/base/264144
Log:
Add missing userspace bits to sys/procdesc.h.
- Include sys/_types.h and define pid_t.
- Add __BEGIN_DECLS/__END_DECLS.
In my opinion we should have considered
Author: ed
Date: Fri Apr 4 19:53:45 2014
New Revision: 264136
URL: http://svnweb.freebsd.org/changeset/base/264136
Log:
Correct return type of pdfork(2).
The pdfork(2) man page states:
pdfork() returns a PID, 0 or -1, as fork(2) does.
As it returns a PID, the return type
caused us to give up on that?
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
Hi Aleksandr,
On 7 February 2014 16:10, Aleksandr Rybalko r...@freebsd.org wrote:
On Fri, 7 Feb 2014 15:04:47 +0100
Ed Schouten e...@80386.nl wrote:
On 7 February 2014 13:39, Aleksandr Rybalko r...@freebsd.org wrote:
Also people asking me about advanced features of vt(9), like use
multiple
Author: ed
Date: Tue Feb 4 20:52:33 2014
New Revision: 261495
URL: http://svnweb.freebsd.org/changeset/base/261495
Log:
Use right buffer to print to.
PR: kern/176597
Submitted by: Christoph Mallon christoph mallon gmx de
MFC after:2 weeks
Modified:
Author: ed
Date: Sat Jan 18 14:22:56 2014
New Revision: 260849
URL: http://svnweb.freebsd.org/changeset/base/260849
Log:
Replace LIBGCC by LIBCOMPILER_RT.
We now use libcompiler_rt on all platforms now. Instead of referring
directly to -lgcc and LIBGCC, use -lcompiler_rt and
Author: ed
Date: Sat Jan 18 14:47:34 2014
New Revision: 260850
URL: http://svnweb.freebsd.org/changeset/base/260850
Log:
Correct value of LIBCOMPILER_RT.
Caught by:Luca Bayer
Modified:
head/share/mk/bsd.libnames.mk
Modified: head/share/mk/bsd.libnames.mk
I didn't catch this.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
Author: ed
Date: Tue Dec 24 18:42:26 2013
New Revision: 259830
URL: http://svnweb.freebsd.org/changeset/base/259830
Log:
Fix copy-pasting of CJK fullwidth characters.
They are stored as two separate characters in the vtbuf, so copy-pasting
will cause them to be passed to
Author: ed
Date: Mon Dec 23 05:47:27 2013
New Revision: 259761
URL: http://svnweb.freebsd.org/changeset/base/259761
Log:
Fix linewrapping behaviour for CJK fullwidth characters.
Instead of only wrapping when in the 'wrapped state', also force
wrapping when the character to be rendered
Author: ed
Date: Fri Dec 20 21:31:50 2013
New Revision: 259667
URL: http://svnweb.freebsd.org/changeset/base/259667
Log:
Extend libteken to support CJK fullwidth characters.
Introduce a new formatting bit (TF_CJK_RIGHT) that is set when putting a
cell that is the right part of a CJK
2013/12/10 Aleksandr Rybalko r...@freebsd.org:
Thanks to Ed, [...]
No, thanks to you! Thanks a lot for pushing forward something that I
should have done years ago. Can't wait to buy you a beer.
--
Ed Schouten e...@80386.nl
___
svn-src-head
Author: ed
Date: Wed Nov 13 20:35:10 2013
New Revision: 258105
URL: http://svnweb.freebsd.org/changeset/base/258105
Log:
Fix whitespace.
Modified:
head/usr.bin/login/login.c
Modified: head/usr.bin/login/login.c
==
Author: ed
Date: Sun Nov 3 16:43:52 2013
New Revision: 257579
URL: http://svnweb.freebsd.org/changeset/base/257579
Log:
Remove utxrm(8). This command has been superseded by 'utx rm'.
Modified:
head/ObsoleteFiles.inc
head/tools/build/mk/OptionalObsoleteFiles.inc
2013/9/17 Zbigniew Bodek z...@freebsd.org:
Can you test this one:
http://people.freebsd.org/~zbb/arm/other/stdatomic_fix_vol2.diff
Works. Thanks!
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman
as different kind of symbol
/usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:855: error:
'__sync_fetch_and_sub_2_c' undeclared here (not in a function)
etc.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http
Author: ed
Date: Sat Sep 14 22:09:10 2013
New Revision: 255576
URL: http://svnweb.freebsd.org/changeset/base/255576
Log:
Properly remove c++filt.
The c++filt binary is only installed if ${MK_GCC} == yes ${MK_CXX} ==
yes. This means that it should be removed if ${MK_GCC} == no ||
dtrace_dev = make_dev(dtrace_cdevsw, 0, UID_ROOT, GID_WHEEL,
0600,
dtrace/dtrace);
helper_dev = make_dev(helper_cdevsw, 0, UID_ROOT, GID_WHEEL,
0660,
dtrace/helper);
#endif
--
Ed Schouten e...@80386.nl
___
svn-src-head
2013/9/7 Davide Italiano dav...@freebsd.org:
Log:
Don't clear the unused SI_CHEAPCLONE flag in tap_create()/tuncreate().
Both the tun and the tap driver still use clonelists, right? I'm not
sure this fix is all right.
--
Ed Schouten e...@80386.nl
relationship between cdevsws and devs is the pointer in the cdev
to the cdevsw.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr
with a similar amount
of effort.
For libcxxrt you could even argue that this should have done in the
first place, because it already used __atomic_* calls in certain
source files.
Example patch for libcxxrt:
http://80386.nl/pub/libcxxrt.txt
--
Ed Schouten e...@80386.nl
this? This only affects
ports that use __sync_*, have USE_GCC is set and are being built on
ARMv5.
I think our intent should not be to keep compilers happy. FreeBSD
should provide proper APIs instead (e.g. stdatomic.h).
--
Ed Schouten e...@80386.nl
___
svn-src-head
Author: ed
Date: Mon Aug 12 18:17:45 2013
New Revision: 254252
URL: http://svnweb.freebsd.org/changeset/base/254252
Log:
Fix the formatting of the error message.
The G_MIRROR_DEBUG() macro already appends a newline. Also, most of the
log messages emitted by gmirror start with an
Author: ed
Date: Sun Jun 30 08:59:33 2013
New Revision: 252412
URL: http://svnweb.freebsd.org/changeset/base/252412
Log:
Convert this piece of code to use C11 atomics.
As mentioned before, we should at least aim to have one piece of code in
both user space and kernel space that uses C11
Author: ed
Date: Sun Jun 30 10:38:20 2013
New Revision: 252413
URL: http://svnweb.freebsd.org/changeset/base/252413
Log:
Make atomic_fetch_add() and atomic_fetch_sub() work for pointers with GCC 4.2.
According to the standard, atomic_fetch_*() has to behave identical to
regular
on ARMv5.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
function? If so, my guess is that it is
impossible to derive a standards-compliant implementation of this
header.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe
Author: ed
Date: Sat Jun 29 20:13:39 2013
New Revision: 252386
URL: http://svnweb.freebsd.org/changeset/base/252386
Log:
Don't let hastd use C11 atomics.
Due to possible concerns about the stability of C11 atomics, use our
existing atomics API instead.
Requested by: pjd
Modified:
by machine/atomic.h. It'll be interesting to
see whether Clang will reach such a level of code quality.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any
Author: ed
Date: Sun Jun 16 09:30:35 2013
New Revision: 251803
URL: http://svnweb.freebsd.org/changeset/base/251803
Log:
Change callout use counter to use C11 atomics.
In order to get some coverage of C11 atomics in kernelspace, switch at
least one piece of code in kernelspace to use C11
atomics, but also a small number of
other pieces of code. That way any kind of breakage would become
pretty visible.
Thoughts?
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
Author: ed
Date: Sun Jun 16 10:48:47 2013
New Revision: 251804
URL: http://svnweb.freebsd.org/changeset/base/251804
Log:
Move _Atomic() into sys/cdefs.h.
That way _Atomic() is defined next to all the other C11 keywords for
which we provide compatibility for pre-C11 compilers. While
Author: ed
Date: Sat Jun 15 08:15:22 2013
New Revision: 251781
URL: http://svnweb.freebsd.org/changeset/base/251781
Log:
Make support for atomics on ARM complete.
Provide both __sync_*-style and __atomic_*-style functions that perform
the atomic operations on ARMv5 by using Restartable
Author: ed
Date: Sat Jun 15 08:21:54 2013
New Revision: 251782
URL: http://svnweb.freebsd.org/changeset/base/251782
Log:
Stick to using the documented atomic(9) API.
The atomic_store_ptr() function is not part of the atomic(9) API. We
only provide a version with a release barrier.
Author: ed
Date: Sat Jun 15 09:04:10 2013
New Revision: 251784
URL: http://svnweb.freebsd.org/changeset/base/251784
Log:
Let ARM use the custom tailored atomic intrinsics.
Deleted:
head/lib/libcompiler_rt/__sync_fetch_and_add_4.c
head/lib/libcompiler_rt/__sync_fetch_and_and_4.c
Author: ed
Date: Sat Jun 15 09:42:43 2013
New Revision: 251785
URL: http://svnweb.freebsd.org/changeset/base/251785
Log:
Pull in r184040 from upstream clang trunk:
Emit native implementations of atomic operations on FreeBSD/armv6.
Just like on Linux, FreeBSD/armv6 assumes the
Author: ed
Date: Sat Jun 15 22:17:59 2013
New Revision: 251796
URL: http://svnweb.freebsd.org/changeset/base/251796
Log:
Let hastd use C11 atomics.
C11 atomics now work on all the architectures. Have at least a single
piece of software in our base system that uses C11 atomics. This
Author: ed
Date: Thu Jun 13 18:40:45 2013
New Revision: 251694
URL: http://svnweb.freebsd.org/changeset/base/251694
Log:
Minor improvements to stdatomic.h.
- Define __SYNC_ATOMICS in case we're using the __sync_*() API. This is
not used by stdatomic.h itself, but may be useful for some
(r251695)
@@ -0,0 +1,540 @@
+/*-
+ * Copyright (c) 2013 Ed Schouten e...@freebsd.org
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions
Author: ed
Date: Thu Jun 13 18:47:28 2013
New Revision: 251696
URL: http://svnweb.freebsd.org/changeset/base/251696
Log:
Bring the stdatomic for MIPS code slightly more in sync with the ARM version.
Modified:
head/sys/mips/mips/stdatomic.c
Modified: head/sys/mips/mips/stdatomic.c
Author: ed
Date: Sun Jun 9 08:28:23 2013
New Revision: 251566
URL: http://svnweb.freebsd.org/changeset/base/251566
Log:
Fix the way atomic_is_lock_free() is defined for Clang.
When using Clang atomics, atomic types are not placed in a structure.
There is thus no reason why we should get
+1,436 @@
+/*-
+ * Copyright (c) 2013 Ed Schouten e...@freebsd.org
+ * All rights reserved.
+ *
+ * Copyright (c) 1998 Doug Rabson
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
Author: ed
Date: Sat Jun 8 13:22:53 2013
New Revision: 251525
URL: http://svnweb.freebsd.org/changeset/base/251525
Log:
Use improved __sync_*() intrinsics for MIPS in userspace as well.
r251524 introduced custom tailored versions for MIPS of these functions
for kernel-space code. We can
Author: ed
Date: Sat Jun 8 16:24:49 2013
New Revision: 251539
URL: http://svnweb.freebsd.org/changeset/base/251539
Log:
Actually make the 2-byte atomics work.
Even though I tested the 1-byte operations on arbitrarily aligned bytes,
it seems I did not do this for the 2-byte operations.
in machine/atomic.h.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
added)
+++ head/tools/regression/include/stdatomic/logic.c Sat Jun 8 22:44:49
2013(r251558)
@@ -0,0 +1,128 @@
+/*-
+ * Copyright (c) 2013 Ed Schouten e...@freebsd.org
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification
Author: ed
Date: Sat Jun 8 23:45:11 2013
New Revision: 251559
URL: http://svnweb.freebsd.org/changeset/base/251559
Log:
Merge the 1 and 2 byte versions of the atomic functions into one.
After pushing in my fix for the 2 byte functions, I realized that the
functions for 1 and 2 byte
is newly added)
+++ head/lib/libc/locale/cXXrtomb_iconv.h Mon Jun 3 17:17:56 2013
(r251314)
@@ -0,0 +1,115 @@
+/*-
+ * Copyright (c) 2013 Ed Schouten e...@freebsd.org
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification
Author: ed
Date: Mon Jun 3 20:52:20 2013
New Revision: 251347
URL: http://svnweb.freebsd.org/changeset/base/251347
Log:
Add ATOMIC_*_LOCK_FREE constants.
These constants are part of the C standard. Both Clang and GCC seem to
export these constants under the name
Author: ed
Date: Sat Jun 1 08:07:09 2013
New Revision: 251216
URL: http://svnweb.freebsd.org/changeset/base/251216
Log:
Pull in r183033 and r183036 from LLVM trunk:
Add support for optimized (non-generic) atomic libcalls.
For integer types of sizes 1, 2, 4 and 8, libcompiler-rt
)
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/sys/stdatomic.hSat Jun 1 21:02:26 2013(r251230, copy
of r251216, head/include/stdatomic.h)
@@ -0,0 +1,325 @@
+/*-
+ * Copyright (c) 2011 Ed Schouten e...@freebsd.org
+ *David Chisnall
Author: ed
Date: Thu May 30 06:20:23 2013
New Revision: 251123
URL: http://svnweb.freebsd.org/changeset/base/251123
Log:
Use #ifdef instead of #if defined.
This makes these tests a bit more consistent with the tests done at the
bottom of the file.
Modified:
May 30 06:20:50
2013(r251124)
@@ -0,0 +1,47 @@
+/*-
+ * Copyright (c) 2013 Ed Schouten e...@freebsd.org
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met
.
Done! Could you please take another look?
http://80386.nl/pub/uchar-iconv.txt (refresh!)
Thanks,
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail
401 - 500 of 987 matches
Mail list logo