<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/m88k/include/atomic.h, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/m88k/include/atomic.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/m88k/include/atomic.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-08-22T11:25:58Z</updated>
<entry>
<title>Adding membar_xxx defines to userland.</title>
<updated>2018-08-22T11:25:58Z</updated>
<author>
<name>aoyama</name>
<email>aoyama@openbsd.org</email>
</author>
<published>2018-08-22T11:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fc343cf934d04b41f9abaa99e672a3beee955880'/>
<id>urn:sha1:fc343cf934d04b41f9abaa99e672a3beee955880</id>
<content type='text'>
The src/lib/libc/thread/rthread.c 1.8 change adds #include
&lt;sys/atomic.h&gt; in userland code.

Current m88k atomic.h contents are inside of #if defined(_KERNEL)
guard, then, nothing is defined for userland program.
So we need adding some defines to compile it on m88k.

The original diff is suggested from Miod Vallat, modified by the
advice from mpi@ and kettenis@.

ok kettenis@
</content>
</entry>
<entry>
<title>Fix cast in atomic_swap_ptr()</title>
<updated>2015-07-03T12:47:30Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2015-07-03T12:47:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=00ec56dce73a72aded8c60d56a6aea88c9a76ebd'/>
<id>urn:sha1:00ec56dce73a72aded8c60d56a6aea88c9a76ebd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pass atomic_{cas,swap}_uint a volatile void * instead of a volatile</title>
<updated>2014-07-18T10:40:14Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2014-07-18T10:40:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b6a8cdec0644848be2c33a0b98958bac4cee0f95'/>
<id>urn:sha1:b6a8cdec0644848be2c33a0b98958bac4cee0f95</id>
<content type='text'>
void **. the latter is really hard to cast for, and not what what
solaris does.

ok kettenis@
</content>
</entry>
<entry>
<title>Add missing atomic primitives and __sync_synchronize to let the kernel</title>
<updated>2014-07-13T08:13:07Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2014-07-13T08:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=38fd230242642779337af7e4ae7b9737830deaa2'/>
<id>urn:sha1:38fd230242642779337af7e4ae7b9737830deaa2</id>
<content type='text'>
compile again; tested by aoyama@
</content>
</entry>
<entry>
<title>It's been a quarter century: we can assume volatile is present with that name.</title>
<updated>2014-03-29T18:09:28Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-03-29T18:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2df76cc2a0aee2cb2166e3799b7bb5c3f883f83d'/>
<id>urn:sha1:2df76cc2a0aee2cb2166e3799b7bb5c3f883f83d</id>
<content type='text'>
ok dlg@ mpi@ deraadt@
</content>
</entry>
<entry>
<title>Switch m88k ports to ELF.</title>
<updated>2013-01-05T11:20:52Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2013-01-05T11:20:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0b514a0798ffc86c581fc3611e7adb25cce99305'/>
<id>urn:sha1:0b514a0798ffc86c581fc3611e7adb25cce99305</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Normalize sentinel. Use _MACHINE_*_H_ and _&lt;ARCH&gt;_*_H_ properly and consitently.</title>
<updated>2011-03-23T16:54:33Z</updated>
<author>
<name>pirofti</name>
<email>pirofti@openbsd.org</email>
</author>
<published>2011-03-23T16:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2fa72412907ae78c4787a4a8f888c5f0486e225c'/>
<id>urn:sha1:2fa72412907ae78c4787a4a8f888c5f0486e225c</id>
<content type='text'>
Discussed and okay drahn@. Okay deraadt@.
</content>
</entry>
<entry>
<title>Introduce atomic_clear_int() as an MD atomic operation to perform atomic</title>
<updated>2009-03-04T19:37:14Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2009-03-04T19:37:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d10dcf91dc7f58b54bd0f89bd2db8958e99d3c7f'/>
<id>urn:sha1:d10dcf91dc7f58b54bd0f89bd2db8958e99d3c7f</id>
<content type='text'>
exchange with zero; use it in the soft interrupt code to make it simpler
and faster.
</content>
</entry>
<entry>
<title>atomic_{set,clear}bits_int were not safe enough on 88110 systems, as they</title>
<updated>2009-02-20T20:40:00Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2009-02-20T20:40:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bb0d2ff66d608185bba44c1ac63235014fbafc8c'/>
<id>urn:sha1:bb0d2ff66d608185bba44c1ac63235014fbafc8c</id>
<content type='text'>
can be interrupted by NMI; move the SMP version of these routines from
inlines to a separate file (kernel text shrinks 20KB...).

Since the implementation for 88110 becomes really hairy, the pre-main() code
is responsible for copying the appropriate code over for kernels configured
for both 88100 and 88110 cpus, to avoid having to choose the atomicity
strategy at runtime. Hairy, I said.

This gets GENERIC.MP run much further on 197DP. Not enough to reach multiuser
mode, but boots up to starting sshd and then panics.
</content>
</entry>
<entry>
<title>xmem can not be used as a reliable atomic operation, they way we do them,</title>
<updated>2007-12-05T22:09:13Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2007-12-05T22:09:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=14c2d17252106d105bd32a0778e4723c89f90cce'/>
<id>urn:sha1:14c2d17252106d105bd32a0778e4723c89f90cce</id>
<content type='text'>
so do the naive operations with interrupts disabled, and an interlock held
if MULTIPROCESSOR.
</content>
</entry>
</feed>
