The NetBSD Project

CVS log for src/sys/arch/powerpc/powerpc/compat_16_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / powerpc / powerpc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Sat May 27 21:38:06 2023 UTC (10 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) to selected 1.1 (colored)

fix word endings toin -> tion in comments.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 13 17:50:55 2022 UTC (2 years, 1 month ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.1 (colored)

s/hander/handler/ and s/hader/header/ in comments and documentation.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 30 19:44:56 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +17 -3 lines
Diff to previous 1.21 (colored) to selected 1.1 (colored)

- In vec_restore_from_mcontext() and vec_save_to_mcontext(), allows the
  mcontext argument to be NULL.
- In sendsig_sigcontext(), don't set PSL_VEC in the saved MSR; we can't
  actually round-trip the AltiVec registers.  At least get them saved
  into the PCB by calling vec_save_to_mcontext() (with a NULL mcontext
  argument).
- In compat_16_sys___sigreturn14(), call vec_restore_from_mcontext()
  with a NULL mcontext argument, which will force any subsequent use
  of AltiVec to re-load the AltiVec registers from the PCB.

This isn't ideal, but it's the best we can do with the limited capability
of sigcontext.

Fixes PR port-powerpc/56471.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 27 04:15:00 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.1 (colored)

Use the signal trampoline version constants from <sys/signal.h>.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 6 09:34:18 2020 UTC (3 years, 9 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored) to selected 1.1 (colored)

Style and cosmetic changes. No binary changes intended.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:34 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.1 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 20 05:50:39 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored) to selected 1.1 (colored)

cleanup includes (include <powerpc/psl.h explicitly)

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:30 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.15: +48 -49 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.1 (colored)

Sync with HEAD.

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:14 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.14.4.2: +4 -1 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.1 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Mon May 2 02:01:33 2011 UTC (12 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.17: +6 -3 lines
Diff to previous 1.17 (colored) to selected 1.1 (colored)

Move powerpc to use pcu to manage FPU/AltiVec/SPE.

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:20 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.14.4.1: +6 -7 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored) to selected 1.1 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 16 21:15:29 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.16: +8 -9 lines
Diff to previous 1.16 (colored) to selected 1.1 (colored)

Use l->l_md.md_utf in preference to trapframe(l).  This shrink the kernel
just a bit in size.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:40 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.14: +42 -44 lines
Diff to previous 1.14 (colored) to selected 1.1 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jan 18 01:02:55 2011 UTC (13 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.15: +40 -43 lines
Diff to previous 1.15 (colored) to selected 1.1 (colored)

Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.

Revision 1.11.20.2 / (download) - annotate - [select for diffs], Mon Jan 17 07:46:00 2011 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.11.20.1: +16 -13 lines
Diff to previous 1.11.20.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.1 (colored)

Add SPE (signal processing engine) support for mpc85xx/booke.  Think of it
as AltiVec-lite (really lite).  Genercize AltiVec support so that it could
the same interface could support SPE as well.  Rework the FPU support along
the same lines.  Move the __asm() to their own XXX_subr.S (altivec, fpu, spe).

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 14 02:06:30 2011 UTC (13 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored) to selected 1.1 (colored)

Retire struct user, remove sys/user.h inclusions.  Note sys/user.h header
as obsolete.  Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.

Revision 1.11.20.1 / (download) - annotate - [select for diffs], Fri Jan 7 02:01:57 2011 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.11: +34 -33 lines
Diff to previous 1.11 (colored) to selected 1.1 (colored)

Adapt to new trapframe.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:51 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.11.2.1: +16 -8 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.1 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:12 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, matt-mips64-premerge-20101231
Branch point for: rmind-uvmplock
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored) to selected 1.1 (colored)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Nov 21 17:40:29 2009 UTC (14 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.12: +14 -8 lines
Diff to previous 1.12 (colored) to selected 1.1 (colored)

Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:44 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.11: +7 -3 lines
Diff to previous 1.11 (colored) to selected 1.1 (colored)

sync with head.

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:37 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.11: +7 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.1 (colored)

Sync with HEAD.

Revision 1.10.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:26 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.10.6.1: +5 -1 lines
Diff to previous 1.10.6.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.1 (colored)

Sync with HEAD.

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:24 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.11: +7 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.1 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 21 20:21:12 2008 UTC (15 years, 5 months ago) by he
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.11: +7 -3 lines
Diff to previous 1.11 (colored) to selected 1.1 (colored)

Wrap includes of opt* headers with _KERNEL_OPT.
Adapt sendsig_sigcontext() to the new prototype, and compute sig
and code patterned after the sparc code.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:33 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored) to selected 1.1 (colored)

Sync with HEAD.

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:38 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.1 (colored)

sync with head.

Revision 1.11.4.3 / (download) - annotate - [select for diffs], Wed May 14 19:54:10 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.11.4.2: +9 -9 lines
Diff to previous 1.11.4.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.1 (colored)

Per discussion with ad at n dot o, revert signal mask handling
changes.

The l_sigstk changes are most likely totally un-needed as SA will
never use a signal stack - we send an upcall (or will as other
diffs are brought in).

The l_sigmask changes were too controvertial. In all honesty, I
think it's probably best to revert them. The main reason they were
there is the fact that in an SA process, we don't mask signals per
kernel thread, we mask them per user thread. In the kernel, we want
them all to get turned into upcalls. Thus the normal state of
l_sigmask in an SA process is for it to always be empty.

While we are in the process of delivering a signal, we want to
temporarily mask a signal (so we don't recursively exhaust our
upcall stacks). However signal delivery is rare (important, but
rare), and delivering back-to-back signals is even rarer. So rather
than cause every user of a signal mask to be prepared for this very
rare case, we will just add a second check later in the signal
delivery code. Said change is not in this diff.

This also un-compensates all of our compatability code for dealing
with SA. SA is a NetBSD-specific thing, so there's no need for
Irix, Linux, Solaris, SVR4 and so on to cope with it.

As previously, everything other than kern_sa.c compiles in i386
GENERIC as of this checkin. I will switch to ALL soon for compile
testing.

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:00 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.11.4.1: +2 -3 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) to selected 1.1 (colored)

Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:46 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.11: +10 -9 lines
Diff to previous 1.11 (colored) to selected 1.1 (colored)

Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:21 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, nick-hppapmap, matt-nb5-pq3, haad-dm
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored) to selected 1.1 (colored)

Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.

Revision 1.4.14.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:38:28 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.14.3: +5 -5 lines
Diff to previous 1.4.14.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.1 (colored)

sync with head

Revision 1.9.20.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:47:55 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.1 (colored)

sync with HEAD

Revision 1.9.32.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:49:11 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.1 (colored)

Sync with HEAD

Revision 1.9.28.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:39 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.1 (colored)

Sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 20 23:02:41 2007 UTC (16 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) to selected 1.1 (colored)

Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.4.14.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:29:01 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.14.2: +3 -3 lines
Diff to previous 1.4.14.2 (colored) to branchpoint 1.4 (colored) to selected 1.1 (colored)

sync with head.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:50:07 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.1 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 5 10:43:32 2007 UTC (17 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, matt-armv6, bouyer-xeni386
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.1 (colored)

Use (char *) cast on pointer arith.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:38 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.1 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.4.14.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:54 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.14.1: +18 -15 lines
Diff to previous 1.4.14.1 (colored) to branchpoint 1.4 (colored) to selected 1.1 (colored)

sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:11 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.6: +18 -15 lines
Diff to previous 1.6 (colored) to selected 1.1 (colored)

Merge newlock2 to head.

Revision 1.6.20.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:37 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.6.20.1: +9 -11 lines
Diff to previous 1.6.20.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.1 (colored)

Remove support for SA. Ok core@.

Revision 1.6.20.1 / (download) - annotate - [select for diffs], Sun Jan 28 08:59:45 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.6: +18 -13 lines
Diff to previous 1.6 (colored) to selected 1.1 (colored)

powerpc changes.

Revision 1.4.14.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:55:11 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored) to selected 1.1 (colored)

sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:46 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.1 (colored)

merge ktrace-lwp.

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:26 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.4: +5 -2 lines
Diff to previous 1.4.2.4 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.1 (colored)

Sync with HEAD. Here we go again...

Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 14 15:03:50 2005 UTC (18 years, 7 months ago) by he
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored) to selected 1.1 (colored)

We need <compat/sys/signal.h> and <compat/sys/signalvar.h> here
for native_sigset13_to_sigset, sigset13_t, and sigvec.
The includes in sparc's machdep.c is conditional on COMPAT_13, as is
the use of native_sigset13_to_sigset.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:20:49 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.3: +2 -2 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored) to selected 1.1 (colored)

Fix the sync with head I botched.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:39:19 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.2: +2 -2 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) to selected 1.1 (colored)

Sync with HEAD.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:39:37 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.1: +221 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) to selected 1.1 (colored)

Sync with HEAD

Revision 1.4.2.1, Thu Apr 15 21:07:07 2004 UTC (20 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.4: +0 -221 lines
FILE REMOVED

file compat_16_machdep.c was added on branch ktrace-lwp on 2004-08-03 10:39:37 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 15 21:07:07 2004 UTC (20 years ago) by matt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf, ktrace-lwp
Changes since 1.3: +12 -4 lines
Diff to previous 1.3 (colored) to selected 1.1 (colored)

Revamp how user MSR/SRR1 are dealt with.
Add a PSL_USEROK_P(psl) macro which valids the bits (replaces the use of
PSL_USERSTATIC).
Add a PSL_USERSRR1 mask which is used to mask out status bits in the upper
half of SRR1.
Make sure PSL_VEC is set appropriately in userret().  PSL_VEC is in the same
region as SSR1 status bits so it's not preserved on exceptions.  Thus we
need to make to set it.
When returning a MSR/SRR1 to userland, always clear the status bits.
Add emulation of the mfpvr, mtmsr, and mfmsr instructions.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 4 17:10:32 2004 UTC (20 years ago) by matt
Branch: MAIN
Changes since 1.2: +9 -2 lines
Diff to previous 1.2 (colored) to selected 1.1 (colored)

Make sure that the SRR1 we pass to userland reflects PSL_FE0|PSL_FE1 even
if the lwp doesn't currently own the FPU.  When returning, copy those bits
back to the PCB.  (In case the user decided to the FP exception mode in the
signal handler).

Revision 1.2 / (download) - annotate - [select for diffs], Thu Sep 25 22:22:36 2003 UTC (20 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Deal with the constification of ksiginfo_t and sigset_t in signalling.

Revision 1.1 / (download) - annotate - [selected], Thu Sep 25 18:42:18 2003 UTC (20 years, 6 months ago) by matt
Branch: MAIN

Add siginfo support for PowerPC.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>