<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/powerpc/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/powerpc/include/atomic.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/powerpc/include/atomic.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-07-11T21:18:05Z</updated>
<entry>
<title>Use "i" constrain instead of "n" constrain in inline assembly.  Makes clang</title>
<updated>2019-07-11T21:18:05Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2019-07-11T21:18:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d3299c81f3075097f8f803d7f533a455b7832fe8'/>
<id>urn:sha1:d3299c81f3075097f8f803d7f533a455b7832fe8</id>
<content type='text'>
happy.

ok visa@, mpi@
</content>
</entry>
<entry>
<title>Make atomic.h ready to be included in userland.</title>
<updated>2017-05-12T08:47:48Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2017-05-12T08:47:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7886579d84ca239a2c2855189cc61e403f9f0360'/>
<id>urn:sha1:7886579d84ca239a2c2855189cc61e403f9f0360</id>
<content type='text'>
- keep setbits/clearbits inside _KERNEL

ok dlg@, kettenis@
</content>
</entry>
<entry>
<title>put mpi's atomics back in, but with the return value of add (and therefore sub, inc, and dec) fixed.</title>
<updated>2015-05-06T03:30:03Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2015-05-06T03:30:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3c99142581a6a3b344bc85a3d07af12953b9c513'/>
<id>urn:sha1:3c99142581a6a3b344bc85a3d07af12953b9c513</id>
<content type='text'>
the asm read the value from memory into a register, added to it,
and then tried to write it back. after succeeding it doesnt have
to add again before returning.

this splits sub, inc, and dec off from add. sub can use the subf
opcode, and inc and dec can use the addic opcode. explicitely
identify where the modified memory is so we can avoid using "memory"
as a clobber.

ok mpi@
</content>
</entry>
<entry>
<title>Revert back to using GCC builtins.  This code triggers an off by one in</title>
<updated>2015-04-24T15:26:22Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2015-04-24T15:26:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c32ad687d4f9d888e4b84a306286c1c917445103'/>
<id>urn:sha1:c32ad687d4f9d888e4b84a306286c1c917445103</id>
<content type='text'>
device_unref() as found by deraadt@.
</content>
</entry>
<entry>
<title>Implement the MI atomic API for PowerPC to avoid using gcc builtins that</title>
<updated>2015-04-22T06:39:03Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2015-04-22T06:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=64a1b3614f5a5a739b38ed775790c0f6f7dbfa9b'/>
<id>urn:sha1:64a1b3614f5a5a739b38ed775790c0f6f7dbfa9b</id>
<content type='text'>
include extra sync operations.

ok kettenis@
</content>
</entry>
<entry>
<title>Implement the membar(9) API for powerpc.</title>
<updated>2014-06-19T11:29:21Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2014-06-19T11:29:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9a9dc99caeb823662f57ab71e8b81c732f164181'/>
<id>urn:sha1:9a9dc99caeb823662f57ab71e8b81c732f164181</id>
<content type='text'>
ok miod@, dlg@
</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>The atomic_setbits_int() and atomic_clearbits_int() functions touch the</title>
<updated>2013-08-06T08:19:52Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2013-08-06T08:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=035f2f4eaef1c2f15e618d49dc0fc4cfe009729c'/>
<id>urn:sha1:035f2f4eaef1c2f15e618d49dc0fc4cfe009729c</id>
<content type='text'>
condition code register so mark it s clobbered.

Fixes uvm_page_physload() and who knows what else.

ok jsg@, mpi@
</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>Implement proper atomic.h for powerpc.  With help from art@ and drahn@.</title>
<updated>2007-03-17T22:10:04Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2007-03-17T22:10:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b1e784d09ac71603114d8954462b43f6d0596907'/>
<id>urn:sha1:b1e784d09ac71603114d8954462b43f6d0596907</id>
<content type='text'>
ok drahn@
</content>
</entry>
</feed>
