<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/powerpc/include/pcb.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/pcb.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/powerpc/include/pcb.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2015-07-29T18:52:44Z</updated>
<entry>
<title>17 years ago, setfault() was modified to save the status register in the</title>
<updated>2015-07-29T18:52:44Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2015-07-29T18:52:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9640410a9c4c81b28f710f15ef3ecde018e28070'/>
<id>urn:sha1:9640410a9c4c81b28f710f15ef3ecde018e28070</id>
<content type='text'>
faultbuf. But 1/ sr was only restored for machine check exceptions, and 2/ the
way it was saved was unsafe if interrupts were enabled, and could cause %r2
to be lost.

Discussing this with deraadt@ at the end of c2k15, this was probably needed
for the old VI boards which were the target of the original powerpc port,
came with a worse-than-Genesi openfirmware. Since then, machine check
exceptions have been unheard of; or, if they happen, they do not need the
status register to be restored.

ok mpi@ deraadt@
</content>
</entry>
<entry>
<title>emul_native is only used for kernel threads which can't dump core, so</title>
<updated>2015-05-05T02:13:46Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-05-05T02:13:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2df12b22ee779d3f10995325e7cbd0d4be5705a0'/>
<id>urn:sha1:2df12b22ee779d3f10995325e7cbd0d4be5705a0</id>
<content type='text'>
delete coredump_trad(), uvm_coredump(), cpu_coredump(), struct md_coredump,
and various #includes that are superfluous.

This leaves compat_linux processes without a coredump callback.  If that
ability is desired, someone should update it to use coredump_elf32() and
verify the results...

ok kettenis@
</content>
</entry>
<entry>
<title>mark setfault() with __returns_twice</title>
<updated>2011-08-22T18:18:35Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2011-08-22T18:18:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=961bb65920bccaae276c6e981cd74696602a001f'/>
<id>urn:sha1:961bb65920bccaae276c6e981cd74696602a001f</id>
<content type='text'>
ok kettenis drahn
</content>
</entry>
<entry>
<title>FPU/Altivec cleanup and prep for SMP.</title>
<updated>2008-04-27T16:01:47Z</updated>
<author>
<name>drahn</name>
<email>drahn@openbsd.org</email>
</author>
<published>2008-04-27T16:01:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dc52254485511f4281473fa730aaaed59a03e8b2'/>
<id>urn:sha1:dc52254485511f4281473fa730aaaed59a03e8b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make context switching much more MI:</title>
<updated>2007-10-10T15:53:51Z</updated>
<author>
<name>art</name>
<email>art@openbsd.org</email>
</author>
<published>2007-10-10T15:53:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=45053f4a9c0ff11fe529cfbf9c98901ff89d8e2c'/>
<id>urn:sha1:45053f4a9c0ff11fe529cfbf9c98901ff89d8e2c</id>
<content type='text'>
 - Move the functionality of choosing a process from cpu_switch into
   a much simpler function: cpu_switchto. Instead of having the locore
   code walk the run queues, let the MI code choose the process we
   want to run and only implement the context switching itself in MD
   code.
 - Let MD context switching run without worrying about spls or locks.
 - Instead of having the idle loop implemented with special contexts
   in MD code, implement one idle proc for each cpu. make the idle
   loop MI with MD hooks.
 - Change the proc lists from the old style vax queues to TAILQs.
 - Change the sleep queue from vax queues to TAILQs. This makes
   wakeup() go from O(n^2) to O(n)

there will be some MD fallout, but it will be fixed shortly.
There's also a few cleanups to be done after this.

deraadt@, kettenis@ ok
</content>
</entry>
<entry>
<title>Move macppc to __HAVE_CPUINFO, and make locore.S and trap.c suitable for</title>
<updated>2007-03-20T20:59:53Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2007-03-20T20:59:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9e61e18aeda43994e7b2db33da089fb74baedd80'/>
<id>urn:sha1:9e61e18aeda43994e7b2db33da089fb74baedd80</id>
<content type='text'>
MULTIPROCESSOR.  From now on sprg0 holds a pointer to struct cpuinfo, which
is used to spill registers to during trap instead of the globals we used to
use for that purpose.  Bits and pieces from NetBSD.  Help from drahn@ and art@.
Tested by xsa@, thib@, miod@, gwk@, deraadt@.

ok drahn@, gwk@
</content>
</entry>
<entry>
<title>Remove an unnecessary structure copy from useage of setfault(), call</title>
<updated>2003-02-26T21:54:44Z</updated>
<author>
<name>drahn</name>
<email>drahn@openbsd.org</email>
</author>
<published>2003-02-26T21:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4140fb106b5d4f8eaa9f66c2de31900c6e8210cc'/>
<id>urn:sha1:4140fb106b5d4f8eaa9f66c2de31900c6e8210cc</id>
<content type='text'>
by reference, not by value, ok matthieu#, miod@
</content>
</entry>
<entry>
<title>First round of __P removal in sys</title>
<updated>2002-03-14T01:26:25Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2002-03-14T01:26:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c4071fd13883b3f74b90a411bbb39755a785aeaa'/>
<id>urn:sha1:c4071fd13883b3f74b90a411bbb39755a785aeaa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add AltiVec support to powerpc/macppc. This is not currently enabled because</title>
<updated>2001-11-13T14:31:52Z</updated>
<author>
<name>drahn</name>
<email>drahn@openbsd.org</email>
</author>
<published>2001-11-13T14:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0dcf4312d797d675fb9f9b86c9612adb75b25014'/>
<id>urn:sha1:0dcf4312d797d675fb9f9b86c9612adb75b25014</id>
<content type='text'>
the 'as' in openbsd source tree does not yet support altivec instructions.
The pieces to enable it have been put in macppc/conf/GENERIC and
macppc/conf/Makefile.macppc in comments.
Once 'as' is updated the kernel option should be removed.
</content>
</entry>
<entry>
<title>The "powerpc" port which has supported the newer Apple Macintosh powerpc based</title>
<updated>2001-09-01T15:49:05Z</updated>
<author>
<name>drahn</name>
<email>drahn@openbsd.org</email>
</author>
<published>2001-09-01T15:49:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=52c13d20f161150529b73e6a83987d35e3b4db29'/>
<id>urn:sha1:52c13d20f161150529b73e6a83987d35e3b4db29</id>
<content type='text'>
is being renamed to macppc. This is to allow sharing of common code
between different powerpc base platforms.

Most of the work involved in the renaming process was performed by miod@

Files moved from powerpc/include to macppc/include
Some files were not "moved" but wrapper files were created which include
the powerpc/include version.

Several of the powerpc/include files where changed to reflect that they
are POWERPC_* not MACHINE_*.
</content>
</entry>
</feed>
