Commit Graph

14 Commits

Author SHA1 Message Date
matt e950a585b9 Implement __HAVE_RAS. Unlike most implementation, this is done in userret
instead of cpu_switchto since we already accessing the proc structure so
the additional overhead of check p_raslist is minimal.
2012-05-25 12:32:48 +00:00
matt 9b5b646399 Cleanup trapframe handling. Instead of keeping a trapframe pointer in the
pcb, put in the mdlwp instead.  We had a dummy field so it didn't grow in
size.  This also follows the practice that mips and powerpc follow that a
pointer to the user trapframe is in l->l_md.md_utf.  Make trapframe members
start with tf_
2011-07-03 02:18:20 +00:00
snj 6ea9f5a749 Spell "exception" properly. 2010-02-27 22:12:31 +00:00
hans af5e538279 fix userret() and resurrect cpu_setfunc() to make vax build again. ok by matt. 2008-10-22 11:24:28 +00:00
wrstuden fc7511b00e Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
ad bd6663fc4d Don't set l_usrpri / spc_curpriority here. mi_userret() does it. 2007-11-05 20:37:48 +00:00
garbled d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00
ad 6299e033fb ci_need_resched -> ci_want_resched 2007-10-01 21:23:02 +00:00
yamt f03010953f merge yamt-idlelwp branch. asked by core@. some ports still needs work.
from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.
2007-05-17 14:51:11 +00:00
matt 2256888afe L_USERRET -> LW_USERRET 2007-02-19 03:06:16 +00:00
matt f7d7a7a06a Add an implementation for krwlock_t. Initialize ci_mtx_count to 1 (biased).
Fix a few buglets in the kmutex_t implementation.
2007-02-17 05:34:07 +00:00
ad 86e995e9d5 More MD changes to get vax compiling. 2007-02-16 02:17:42 +00:00
ad b07ec3fc38 Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
christos 8958999012 welcome to syscall_intern. 2006-03-12 02:04:26 +00:00