The NetBSD Project

CVS log for src/sys/arch/sparc64/sparc64/syscall.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.49 / (download) - annotate - [select for diffs], Thu Oct 5 19:41:06 2023 UTC (6 months, 1 week ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.48: +2 -3 lines
Diff to previous 1.48 (colored)

Arrange to update cached LWP credentials in userret() rather than during
syscall/trap entry, eliminating a test+branch on every syscall/trap.

This wasn't possible in the 3.99.x timeframe when l->l_cred came about
because there wasn't a reliable/timely way to force an ONPROC LWP running on
a remote CPU into the kernel (which is just about the only new thing in
this scheme).

Revision 1.46.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:48 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.46: +3 -5 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Sat Apr 6 11:54:20 2019 UTC (5 years ago) by kamil
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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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-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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.47: +3 -17 lines
Diff to previous 1.47 (colored)

Centralized shared part of child_return() into MI part

Add a new function md_child_return() for MD specific bits only.

New child_return() is now part of MI and central code that handles
uniformly tracing code (KTR and ptrace(2)).

Synchronize value passed to ktrsysret() among ports to SYS_fork. This is
a traditional value and accessing p_lflag to check for PL_PPWAIT shall
use locking against proc_lock. Returning SYS_fork vs SYS_vfork still isn't
correct enough as there are more entry points to forking code. Instead of
making it too good, just settle with plain SYS_fork for all ports.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Apr 3 08:08:00 2019 UTC (5 years ago) by kamil
Branch: MAIN
Changes since 1.46: +14 -2 lines
Diff to previous 1.46 (colored)

Rework the fork(2)/vfork(2) event signalling under ptrace(2)

Remove the constraint of SIGTRAP event being maskable by a tracee.

Now all SIGTRAP TRAP_CHLD events are delivered to debugger.

This code touches MD specific logic and the child_return routine.
It's an intermediate step with a room for refactoring in future and
right now the least invasive approach. This allows to assert expected
behavior in already existing ATF tests and make the code prettier
in future keeping the same semantics. Probably there is a need for a MI
wrapper of child_return for shared functionality between ports.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:45 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.41.2.1: +14 -0 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

update from HEAD

Revision 1.43.6.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:44 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.43: +16 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.46 / (download) - annotate - [select for diffs], Mon Nov 9 20:26:15 2015 UTC (8 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.45: +8 -9 lines
Diff to previous 1.45 (colored)

Use PRIx64 and %# requested by phone@

Revision 1.45 / (download) - annotate - [select for diffs], Mon Nov 9 02:13:41 2015 UTC (8 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored)

fix printf formats.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Nov 6 15:25:42 2015 UTC (8 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.43: +17 -2 lines
Diff to previous 1.43 (colored)

Add a few assertions to verify non-privileged processor state for userland
and 32bit address mapping for 32bit processes.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:25 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.41: +8 -112 lines
Diff to previous 1.41 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.39.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:10 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.39.4.1: +8 -112 lines
Diff to previous 1.39.4.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:26 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 7 22:51:27 2014 UTC (10 years, 1 month ago) by nakayama
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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
Branch point for: nick-nhusb
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Mark as __diagused to variables used only in KASSERT.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 27 15:27:46 2013 UTC (10 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.41: +7 -111 lines
Diff to previous 1.41 (colored)

Simplify with sy_invoke()

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:57 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.39: +12 -25 lines
Diff to previous 1.39 (colored)

sync with head

Revision 1.39.8.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:35 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.39.8.1: +2 -25 lines
Diff to previous 1.39.8.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

sync to -current.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:31 2012 UTC (12 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.40: +2 -25 lines
Diff to previous 1.40 (colored)

Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:18 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.39: +12 -2 lines
Diff to previous 1.39 (colored)

merge to -current.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Feb 11 23:16:16 2012 UTC (12 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: 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-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base2
Changes since 1.39: +12 -2 lines
Diff to previous 1.39 (colored)

Add a posix_spawn syscall, as discussed on tech-kern.
Based on the summer of code project by Charles Zhang, heavily reworked
later by me - all bugs are likely mine.
Ok: core, releng.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:54 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.37: +14 -7 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.36.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:28 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.36.4.1: +14 -7 lines
Diff to previous 1.36.4.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Sun Mar 27 18:47:09 2011 UTC (13 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.38: +4 -3 lines
Diff to previous 1.38 (colored)

On second thought do not use bit 13 as a flag for syscall numbers, userland
typically sets those from a 13bit signed integer immediate field in the
instruction, so would need to jump through hoops (ok, small hoops) to
avoid sign extension.
Use a combination of the existing syscall flags instead.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Mar 23 20:41:31 2011 UTC (13 years ago) by martin
Branch: MAIN
Changes since 1.37: +13 -7 lines
Diff to previous 1.37 (colored)

Add a syscall variant passing the return address in %g5 (we need %g7 for
pthread_self and %g2 is an application register, so we can not use those
anymore).

Revision 1.29.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:48 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.29.2.3: +8 -13 lines
Diff to previous 1.29.2.3 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:09 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.36: +8 -13 lines
Diff to previous 1.36 (colored)

sync with head

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:53 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.36: +8 -13 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Apr 23 19:18:10 2010 UTC (13 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.36: +8 -13 lines
Diff to previous 1.36 (colored)

Remove lwp_uc_pool, replace it with kmem(9), plus add some consistency.
As discussed, a while ago, with ad@.

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:02 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.29.2.2: +2 -3 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Sat Nov 21 04:16:52 2009 UTC (14 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.35: +2 -3 lines
Diff to previous 1.35 (colored)

Use lwp_getpcb() on sparc{64} and sun2/3 MD code, clean from struct user usage.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:59 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.29.2.1: +29 -9 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored)

sync with head.

Revision 1.25.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:32 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.3: +27 -5 lines
Diff to previous 1.25.6.3 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:29 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.32.2.1: +5 -4 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

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

Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 21 12:16:59 2008 UTC (15 years, 6 months ago) by ad
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, nick-hppapmap, 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, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, 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, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.34: +5 -4 lines
Diff to previous 1.34 (colored)

Provide a small inline wrapper for sysent::sy_call() and use it to store
the active syscall description in struct lwp. To be used at some future
point to prevent unloading of modules that provide syscalls, while the
syscalls are in use.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:01 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.32: +26 -5 lines
Diff to previous 1.32 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:19 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: MAIN
CVS Tags: haad-dm-base1
Changes since 1.33: +26 -2 lines
Diff to previous 1.33 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.30.2.5 / (download) - annotate - [select for diffs], Tue Oct 14 20:25:42 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.30.2.4: +16 -2 lines
Diff to previous 1.30.2.4 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Add a new vp-private flag, SAVP_FLAG_DELIVERING. This flag indicates
that the vp is in the process of delivering a new-thread upcall.
This is a BLOCKED or NEWPROC upcall. Do NOT generate any BLOCKED
upcalls while this is set. Set it at the end of sa_switchcall()
and clear it at syscall entry. Sadly, I have found no other
way to handle this. The old SA interface has no way for
userland to acknowledge that it got the upcall, so use syscall
entry as the indicator that libpthread got it.

This addresses the issue seen on current-users with firefox
dying with a blockedgen != unbockedgen error. The problem is we
deliver a BLOCKED upcall, but between the end of userret()
and when the CPU indicates that it's running in user mode, we take
a page fault. Said page fault blocks, blocking upcall delivery.
The original block, however, was short-lived, and the UNBLOCK
happens shortly. It happens before libpthread actually notices
the BLOCKED upcall. Boom!

Unfortunately a LOCKDEBUG/DIAGNOSTIC kernel still dies before
firefox opens. However this new issue is with uvm code calling
mtsleep when not holding a correct lock; sa_switch() is exploding
at KASSERT(lwp_locked(l, NULL)); before it's done _anything_.

Also, while here, add sa_system_disabled. This is an integer
that we examine when starting SA for a proc. If it's non-zero,
we error out. Once this is hooked into sysctl, you'll be able to
disable SA w/o recompiling.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Oct 13 12:25:22 2008 UTC (15 years, 6 months ago) by nakayama
Branch: MAIN
Changes since 1.32: +2 -5 lines
Diff to previous 1.32 (colored)

Remove unnecessary includes.

Revision 1.30.2.4 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:35 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.30.2.3: +2 -4 lines
Diff to previous 1.30.2.3 (colored) to branchpoint 1.30 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.25.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:00 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.2: +1 -3 lines
Diff to previous 1.25.6.2 (colored) to branchpoint 1.25 (colored)

Sync with HEAD.

Revision 1.30.4.2 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:18 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.30.4.1: +2 -4 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 26 15:17:06 2008 UTC (15 years, 9 months ago) by nakayama
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.31: +2 -4 lines
Diff to previous 1.31 (colored)

- remove unused old code.
- avoid use of "<< TSTATE_PSTATE_SHIFT".

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:46 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.30.2.2: +3 -3 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Sun Jun 22 18:12:03 2008 UTC (15 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.30.2.1: +10 -2 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

Re-add cpu_upcall() and page fault code. i386 kernels now compile.
They don't boot, but that seems to be a consequence of current from the
day this branch was started.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:32:49 2008 UTC (15 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Sync with head.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:13 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.28.2.1: +3 -3 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jun 16 12:25:54 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

PPWAIT is now in proc::p_lflag.

Revision 1.25.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:44 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.1: +2 -30 lines
Diff to previous 1.25.6.1 (colored) to branchpoint 1.25 (colored)

Sync with HEAD.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:52 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.28: +4 -27 lines
Diff to previous 1.28 (colored)

sync with head.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:16 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.29: +2 -9 lines
Diff to previous 1.29 (colored)

sync with head.

Revision 1.30.2.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.30: +4 -2 lines
Diff to previous 1.30 (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.30 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:37 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.29: +2 -9 lines
Diff to previous 1.29 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.29 / (download) - annotate - [select for diffs], Thu Apr 24 11:51:18 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.28: +4 -20 lines
Diff to previous 1.28 (colored)

- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations,
  all system calls are now MPSAFE.
- Remove unneeded acquire/release of kernel_lock.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Apr 10 14:28:28 2008 UTC (16 years ago) by nakayama
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored)

Remove kernel unlock in startlwp which is probably a leftover of
vmlocking2 merge.

This may fix PR kern/38375.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 7 14:18:11 2008 UTC (16 years ago) by nakayama
Branch: MAIN
Changes since 1.26: +2 -6 lines
Diff to previous 1.26 (colored)

Remove redundant #ifdef.  KASSERT implies option DIAGNOSTIC.

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:26 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 25 16:42:07 2008 UTC (16 years ago) by martin
Branch: MAIN
CVS Tags: ad-socklock-base1
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

Count the number of syscalls per cpu, to avoid cache trashing around
uvmexp.syscalls.
I wonder if we should apply the same treatment to uvmexp.{traps,intr,faults}

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:24 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.21.2.2: +6 -8 lines
Diff to previous 1.21.2.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with HEAD

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:07 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.22: +6 -8 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.15.10.8 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:32 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.10.7: +4 -4 lines
Diff to previous 1.15.10.7 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 6 22:12:40 2008 UTC (16 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: mjf-devfs2
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Remove the 'args' parameter to 'trace_exit()' it is no longer used.
Instead of passing the (un)real system call code and syscall table pointer,
just pass the number of arguments - which is what ktrace really wants.
Ride forthcoming 4.99.53

Revision 1.15.10.7 / (download) - annotate - [select for diffs], Mon Feb 4 09:22:36 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.10.6: +4 -6 lines
Diff to previous 1.15.10.6 (colored) to branchpoint 1.15 (colored)

sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 25 12:48:05 2008 UTC (16 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.23: +4 -6 lines
Diff to previous 1.23 (colored)

ANSIfy a couple of funcs.

Revision 1.15.10.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:39:37 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.10.5: +4 -4 lines
Diff to previous 1.15.10.5 (colored) to branchpoint 1.15 (colored)

sync with head

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:10 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.21.2.1: +4 -4 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored)

sync with HEAD

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:30 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jan 5 12:53:54 2008 UTC (16 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Don't pass 'curlwp' into trace_enter() and trace_exit().

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:22:54 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:32 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

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.

Revision 1.20.12.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:29 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.20: +3 -14 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD

Revision 1.15.10.5 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:26 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.10.4: +3 -14 lines
Diff to previous 1.15.10.4 (colored) to branchpoint 1.15 (colored)

sync with head.

Revision 1.20.16.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:19:38 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.20: +3 -14 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Mon Aug 20 18:39:06 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.20: +3 -14 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.20.20.1 / (download) - annotate - [select for diffs], Thu Aug 16 11:02:35 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.20: +3 -14 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 15 12:07:26 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.20: +3 -14 lines
Diff to previous 1.20 (colored)

Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed
on tech-kern.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:17 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.15.10.4 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:30 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.10.3: +12 -22 lines
Diff to previous 1.15.10.3 (colored) to branchpoint 1.15 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 17 22:31:39 2007 UTC (17 years, 2 months ago) by pavel
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, nick-csl-alignment, jmcneill-pm
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

Restores source compatibility with pre-newlock2 tools like ps or top.

Reviewed by Andrew Doran.

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

Merge newlock2 to head.

Revision 1.16.4.3 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:38 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.16.4.2: +2 -12 lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Remove support for SA. Ok core@.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Thu Jan 11 22:22:58 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.16.4.1: +12 -12 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored)

Checkpoint work in progress.

Revision 1.15.10.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:05 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.10.2: +9 -3 lines
Diff to previous 1.15.10.2 (colored) to branchpoint 1.15 (colored)

sync with head.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:33 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.16: +7 -3 lines
Diff to previous 1.16 (colored)

Sync with head.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:12 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.16: +7 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Mon Oct 16 20:23:24 2006 UTC (17 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

do not test unsigned values for < 0

Revision 1.17 / (download) - annotate - [select for diffs], Mon Oct 16 20:21:46 2006 UTC (17 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

Debugger() is only available if we compile with DDB

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:43:47 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.11: +8 -46 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:00 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.12.2.2: +4 -2 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jul 19 21:11:46 2006 UTC (17 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

- Hold a reference to the process credentials in each struct lwp.
- Update the reference on syscall and user trap if p_cred has changed.
- Collect accounting flags in the LWP, and collate on LWP exit.

Revision 1.15.10.2 / (download) - annotate - [select for diffs], Wed Jun 21 14:56:48 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.10.1: +531 -0 lines
Diff to previous 1.15.10.1 (colored) to branchpoint 1.15 (colored)

sync with head.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:03 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.11: +6 -46 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with head.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:03 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.12.2.1: +531 -0 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Tue Mar 7 07:21:52 2006 UTC (18 years, 1 month ago) by thorpej
Branch: elad-kernelauth
Changes since 1.15.2.1: +531 -0 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Syscall debug tracing is handled by trace_enter() / trace_exit().  Change
trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c
all of the SYSCALL_DEBUG handling from individual system call dispatch
routines.

Revision 1.15.10.1, Tue Mar 7 07:21:51 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15: +0 -531 lines
FILE REMOVED

file syscall.c was added on branch yamt-lazymbuf on 2006-06-21 14:56:48 +0000

Revision 1.15.2.1, Tue Mar 7 07:21:51 2006 UTC (18 years, 1 month ago) by thorpej
Branch: elad-kernelauth
Changes since 1.15: +0 -531 lines
FILE REMOVED

file syscall.c was added on branch elad-kernelauth on 2006-03-07 07:21:52 +0000

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 7 07:21:51 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-lazymbuf, elad-kernelauth
Changes since 1.14: +2 -30 lines
Diff to previous 1.14 (colored)

Syscall debug tracing is handled by trace_enter() / trace_exit().  Change
trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c
all of the SYSCALL_DEBUG handling from individual system call dispatch
routines.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 7 03:32:05 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.13: +4 -7 lines
Diff to previous 1.13 (colored)

Clean up fallout proc_is_traced_p() change:
- proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and
  trace_exit().
- trace_is_enabled() becomes a real function.
- Remove unnecessary include files from various files that used to care
  about KTRACE and SYSTRACE, but do no more.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 5 19:08:39 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.12: +3 -15 lines
Diff to previous 1.12 (colored)

Add a proc_is_traced_p() macro and use it, instead of copying the same code
in many places. Idea from thorpej.

Revision 1.12.2.1, Sun Mar 5 07:21:38 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.12: +0 -574 lines
FILE REMOVED

file syscall.c was added on branch yamt-pdpolicy on 2006-03-13 09:07:03 +0000

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 5 07:21:38 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.11: +6 -3 lines
Diff to previous 1.11 (colored)

implement PT_SYSCALL

Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:37 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:15 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

merge ktrace-lwp.

Revision 1.9.6.3 / (download) - annotate - [select for diffs], Sat Nov 12 13:25:02 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.6.2: +3 -3 lines
Diff to previous 1.9.6.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

ktrsysret takes an lwp pointer. Noted by Christos.

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Thu Nov 10 13:59:34 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.6.1: +571 -0 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored)

Sync with HEAD. Here we go again...

Revision 1.9.6.1, Fri Jul 15 13:38:08 2005 UTC (18 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9: +0 -571 lines
FILE REMOVED

file syscall.c was added on branch ktrace-lwp on 2005-11-10 13:59:34 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jul 15 13:38:08 2005 UTC (18 years, 9 months ago) by christos
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
Branch point for: ktrace-lwp
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored)

propagate martin's fix in the syscall_plain version. It does not make any
sense to print the syscall return part of syscall debug when we did not
print the syscall enter portion.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 15 12:34:46 2005 UTC (18 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored)

Ooops, gcc was right - *ap could have been used uninitialized (when
getargs() failed) - pointed out by Juergen Hannken-Illjes.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 15 09:00:15 2005 UTC (18 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Shutup gcc - it eroneously thinks *ap might be used uninitialized.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 14 12:35:08 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.5: +19 -12 lines
Diff to previous 1.5 (colored)

make this compile again.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 13 15:16:39 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.4: +20 -14 lines
Diff to previous 1.4 (colored)

Handle the case where systrace is used in 32 bit emulation on a 64 bit system.
In this case, systrace may modify the arguments to the syscall, so we need
to copy them back. Restructuring the code a bit avoids an unnecessary argument
copy loop in the regular case.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 10 19:05:47 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.3: +13 -13 lines
Diff to previous 1.3 (colored)

pass the code out of getargs, so that ktracing __syscall using syscalls
works.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 10 05:17:37 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.2: +14 -3 lines
Diff to previous 1.2 (colored)

matt asked for his 32<->64 debugging back.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 10 02:34:42 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.1: +10 -15 lines
Diff to previous 1.1 (colored)

move some more code out to getargs to match the upcoming sparc.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 10 00:50:16 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN

Re-factor syscall, and make it use syscall_{plain,fancy}.

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>