Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sh3/include/userret.h
RevisionDateAuthorComments
 1.18  07-Jan-2020  skrll Fix indentation. NFCI
 1.17  01-Dec-2019  ad sh3: make ASTs work as expected, and fix a few things in the TLB refill path.
With help from uwe@ and martin@.
 1.16  30-Nov-2019  ad Revert previous. Looks like it requires a more extensive fix.
 1.15  29-Nov-2019  ad PR port-sparc/54718 (sparc install hangs since recent scheduler changes)

- userret() must be called every time we return to user, it's not optional.
- If clearing the AST with interrupts off, you must loop over userret().
 1.14  02-Nov-2016  pgoyette branches: 1.14.16;
* Split sys/kern/sys_process.c into three parts:
1 - ptrace(2) syscall for native emulation
2 - common ptrace(2) syscall code (shared with compat_netbsd32)
3 - support routines that are shared with PROCFS and/or KTRACE

* Add module glue for #1 and #2. Both modules will be built-in to the
kernel if "options PTRACE" is included in the config file (this is
the default, defined in sys/conf/std).

* Mark the ptrace(2) syscall as modular in syscalls.master (generated
files will be committed shortly).

* Conditionalize all remaining portions of PTRACE code on a new kernel
option PTRACE_HOOKS.

XXX Instead of PROCFS depending on 'options PTRACE', we should probably
just add a procfs attribute to the sys/kern/sys_process.c file's
entry in files.kern, and add PROCFS to the "#if defineds" for
process_domem(). It's really confusing to have two different ways
of requiring this file.
 1.13  08-Jul-2012  dsl branches: 1.13.2; 1.13.16; 1.13.20;
The MDP_USEDFPU (amd64 and sh3) and MDP_SSTEP (sh3) are lwp flags not
process ones, rename to MDL_xxx.
 1.12  08-Feb-2011  rmind branches: 1.12.4;
Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.11  28-Jan-2011  uwe Implement PT_STEP.
 1.10  05-Nov-2007  ad branches: 1.10.42; 1.10.48; 1.10.50;
Don't set l_usrpri / spc_curpriority here. mi_userret() does it.
 1.9  16-Feb-2006  perry branches: 1.9.24; 1.9.42; 1.9.44; 1.9.48;
Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
 1.8  24-Dec-2005  perry branches: 1.8.2; 1.8.4; 1.8.6;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.7  11-Dec-2005  christos merge ktrace-lwp.
 1.6  31-Oct-2003  cl branches: 1.6.16;
Reduce code duplication by adding mi_userret() in sys/userret.h
containing signal posting, kernel-exit handling and sa_upcall processing.

XXX the pc532, sparc, sparc64 and vax ports should have their
XXX userret() code rearranged to use this.
 1.5  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.4  18-Jan-2003  thorpej branches: 1.4.2;
Merge the nathanw_sa branch.
 1.3  09-May-2002  uch branches: 1.3.6; 1.3.8;
remove postsig. postsig is called by ast().
 1.2  28-Apr-2002  msaitoh add missing postsig() call.
I don't know whether this is true fix or not.
 1.1  17-Mar-2002  uch branches: 1.1.4;
change to per-process AST.
 1.1.4.2  20-Jun-2002  nathanw Catch up to -current.
 1.1.4.1  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.8.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.8.1  09-May-2002  jdolecek file userret.h was added on branch kqueue on 2002-06-23 17:40:45 +0000
 1.3.6.3  26-Sep-2002  nathanw Change "if (l->l_flag & L_SA_UPCALL)" to "while (l->l_flag & L_SA_UPCALL)"
in userret() functions or equivalent, to permit delivery of multiple upcalls
in a single kernel entry.

XXX It's getting crowded in here. Collapsing posting signals, upcalls, and
XXX kernel-exit handling into one mechanism would be nice.
 1.3.6.2  21-Jun-2002  thorpej Add support for scheduler activations on SuperH. Boots multi-user
on Dreamcast (SH4) with stock userland.
 1.3.6.1  09-May-2002  thorpej file userret.h was added on branch nathanw_sa on 2002-06-21 21:26:28 +0000
 1.4.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1  03-Aug-2004  skrll Sync with HEAD
 1.6.16.1  15-Nov-2007  yamt sync with head.
 1.8.6.1  22-Apr-2006  simonb Sync with head.
 1.8.4.1  09-Sep-2006  rpaulo sync with head
 1.8.2.1  18-Feb-2006  yamt sync with head.
 1.9.48.1  13-Nov-2007  bouyer Sync with HEAD
 1.9.44.1  06-Nov-2007  matt sync with HEAD
 1.9.42.1  06-Nov-2007  joerg Sync with HEAD.
 1.9.24.1  03-Dec-2007  ad Sync with HEAD.
 1.10.50.2  17-Feb-2011  bouyer Sync with HEAD
 1.10.50.1  08-Feb-2011  bouyer Sync with HEAD
 1.10.48.1  06-Jun-2011  jruoho Sync with HEAD.
 1.10.42.1  05-Mar-2011  rmind sync with head
 1.12.4.1  30-Oct-2012  yamt sync with head
 1.13.20.1  04-Nov-2016  pgoyette Sync with HEAD
 1.13.16.1  05-Dec-2016  skrll Sync with HEAD
 1.13.2.1  03-Dec-2017  jdolecek update from HEAD
 1.14.16.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed