The NetBSD Project

CVS log for src/sys/arch/hppa/hppa/trap.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.123 / (download) - annotate - [select for diffs], Thu Oct 5 19:41:04 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.122: +2 -5 lines
Diff to previous 1.122 (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.122 / (download) - annotate - [select for diffs], Sun Jul 23 10:09:36 2023 UTC (8 months, 3 weeks ago) by skrll
Branch: MAIN
Changes since 1.121: +8 -2 lines
Diff to previous 1.121 (colored)

PR/57261: hppa should be converted to __HAVE_SYSCALL_INTERN

Provide syscall_intern and use the md_syscall in syscall trap handling.

Revision 1.121 / (download) - annotate - [select for diffs], Fri Sep 2 23:48:10 2022 UTC (19 months, 1 week ago) by thorpej
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.120: +2 -4 lines
Diff to previous 1.120 (colored)

Remove unnecessary inclusion of <net/netisr.h>.

Revision 1.111.4.3 / (download) - annotate - [select for diffs], Fri Jun 10 17:34:22 2022 UTC (22 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.111.4.2: +4 -4 lines
Diff to previous 1.111.4.2 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

Pull up following revision(s) (requested by skrll in ticket #1468):

	sys/arch/hppa/hppa/trap.c: revision 1.120
	sys/arch/hppa/include/ptrace.h: revision 1.11-1.12 (via patch)

Define a PTRACE_ILLEGAL_ASM

Match up PTRACE_BREAKPOINT_ASM with PTRACE_BREAKPOINT which is the
gdb breakpoint instruction.

Only report the SSBREAKPOINT break instruction as SIGTRAP/TRAP_TRACE. All
other break instructions will be reported as SIGTRAP/TRAP_BRKPT
This fixes a mistake I made back in 2008.

PR/56866: hppa: kernel gets confused between actual breakpoints and
single-step breakpoints

Revision 1.111.4.2 / (download) - annotate - [select for diffs], Fri Jun 10 16:28:16 2022 UTC (22 months ago) by martin
Branch: netbsd-9
Changes since 1.111.4.1: +157 -4 lines
Diff to previous 1.111.4.1 (colored) to branchpoint 1.111 (colored)

Pull up following revision(s) (requested by skrll in ticket #1466):

	sys/arch/hppa/hppa/trap.c: revision 1.119

Handle 'NA' (non-access) traps for the lpa and probe instructions.  The
change is inspired by OpenBSD with a bunch of my own, mainly stylistic,
changes.

Thanks to Tom Lane for the analysis.

PR/56118: sporadic app crashes in HPPA -current

Revision 1.120 / (download) - annotate - [select for diffs], Thu Jun 9 16:45:38 2022 UTC (22 months ago) by skrll
Branch: MAIN
Changes since 1.119: +4 -4 lines
Diff to previous 1.119 (colored)

Only report the SSBREAKPOINT break instruction as SIGTRAP/TRAP_TRACE. All
other break instructions will be reported as SIGTRAP/TRAP_BRKPT

This fixes a mistake I made back in 2008.

PR/56866: hppa: kernel gets confused between actual breakpoints and single-step breakpoints

Revision 1.119 / (download) - annotate - [select for diffs], Thu Jun 9 16:38:23 2022 UTC (22 months ago) by skrll
Branch: MAIN
Changes since 1.118: +157 -4 lines
Diff to previous 1.118 (colored)

Handle 'NA' (non-access) traps for the lpa and probe instructions.  The
change is inspired by OpenBSD with a bunch of my own, mainly stylistic,
changes.

Thanks to Tom Lane for the analysis.

PR/56118: sporadic app crashes in HPPA -current

Revision 1.118 / (download) - annotate - [select for diffs], Tue Jun 7 06:06:46 2022 UTC (22 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.117: +5 -5 lines
Diff to previous 1.117 (colored)

Whitespace

Revision 1.117 / (download) - annotate - [select for diffs], Sat May 28 21:14:56 2022 UTC (22 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored)

fix various typos in comments, mainly origional->original,
extened->extended, incomming->incoming.

Revision 1.116 / (download) - annotate - [select for diffs], Wed Aug 19 02:19:07 2020 UTC (3 years, 7 months ago) by msaitoh
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.115: +3 -3 lines
Diff to previous 1.115 (colored)

s/ be be / be /

Revision 1.114.6.1 / (download) - annotate - [select for diffs], Sat Apr 25 11:23:55 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.107.10.1 / (download) - annotate - [select for diffs], Sat Apr 25 10:54:23 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-8
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

Pull up following revision(s) (requested by skrll in ticket #1542):

	sys/arch/hppa/hppa/trap.c: revision 1.115

Fix KASSERT that has been incorrect since revision 1.85 from 10 years
ago.

Revision 1.111.4.1 / (download) - annotate - [select for diffs], Sat Apr 25 10:52:56 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored)

Pull up following revision(s) (requested by skrll in ticket #854):

	sys/arch/hppa/hppa/trap.c: revision 1.115

Fix KASSERT that has been incorrect since revision 1.85 from 10 years
ago.

Revision 1.115 / (download) - annotate - [select for diffs], Sat Apr 25 08:02:39 2020 UTC (3 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored)

Fix KASSERT that has been incorrect since revision 1.85 from 10 years
ago.

Revision 1.107.18.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:39 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.107.18.1: +14 -16 lines
Diff to previous 1.107.18.1 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

Merge changes from current as of 20200406

Revision 1.114 / (download) - annotate - [select for diffs], Fri Dec 6 08:40:33 2019 UTC (4 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.113: +11 -9 lines
Diff to previous 1.113 (colored)

Simplify userret function signature.  From ad@

Revision 1.113 / (download) - annotate - [select for diffs], Fri Nov 29 18:27:32 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.112: +7 -6 lines
Diff to previous 1.112 (colored)

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().

Revision 1.112 / (download) - annotate - [select for diffs], Thu Nov 21 19:24:00 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.111: +4 -9 lines
Diff to previous 1.111 (colored)

mi_userret(): take care of calling preempt(), set spc_curpriority directly,
and remove MD code that does the same.

Revision 1.107.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:19 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.107: +30 -39 lines
Diff to previous 1.107 (colored)

Sync with HEAD

Revision 1.111 / (download) - annotate - [select for diffs], Mon Apr 15 20:45:08 2019 UTC (5 years ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.110: +14 -14 lines
Diff to previous 1.110 (colored)

Trailing whitespace

Revision 1.110 / (download) - annotate - [select for diffs], Sat Apr 6 11:54:20 2019 UTC (5 years ago) by kamil
Branch: MAIN
Changes since 1.109: +3 -6 lines
Diff to previous 1.109 (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.109 / (download) - annotate - [select for diffs], Sat Apr 6 03:06:25 2019 UTC (5 years ago) by thorpej
Branch: MAIN
Changes since 1.108: +15 -33 lines
Diff to previous 1.108 (colored)

Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

Revision 1.108 / (download) - annotate - [select for diffs], Wed Apr 3 08:07:59 2019 UTC (5 years ago) by kamil
Branch: MAIN
Changes since 1.107: +14 -2 lines
Diff to previous 1.107 (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.101.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:16 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.101.2.1: +24 -3 lines
Diff to previous 1.101.2.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

update from HEAD

Revision 1.106.6.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:57 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.106: +26 -5 lines
Diff to previous 1.106 (colored) next main 1.107 (colored)

Sync with HEAD

Revision 1.107 / (download) - annotate - [select for diffs], Mon Mar 2 11:05:12 2015 UTC (9 years, 1 month ago) by martin
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, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, 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, 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, netbsd-8
Changes since 1.106: +26 -5 lines
Diff to previous 1.106 (colored)

Send SIGBUS when accessing mmap() past end of file (handle EINVAL in fault
path). While there, handle ENOMEM as well.

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:04 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.101: +5 -38 lines
Diff to previous 1.101 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.96.4.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:50 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.96.4.2: +5 -38 lines
Diff to previous 1.96.4.2 (colored) to branchpoint 1.96 (colored) next main 1.97 (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.101.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:11 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.101.4.1: +4 -25 lines
Diff to previous 1.101.4.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

sync with head

Revision 1.106 / (download) - annotate - [select for diffs], Thu Mar 6 19:02:58 2014 UTC (10 years, 1 month ago) by skrll
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, 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.105: +3 -3 lines
Diff to previous 1.105 (colored)

Move to a flat space register convention. %sr[4-7] are all now the space
number allocated to the process.  gcc produces (slightly) better code
with this convention.

Retain backwards compatiblity.

Welcome to 6.99.36

Revision 1.105 / (download) - annotate - [select for diffs], Thu Feb 13 15:04:18 2014 UTC (10 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.104: +2 -23 lines
Diff to previous 1.104 (colored)

Simplify cpu_spawn_return - setregs has done all the work already.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Oct 25 09:46:10 2013 UTC (10 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

Change a few __unused to __diagused/__debugused

Revision 1.103 / (download) - annotate - [select for diffs], Sat Oct 19 14:02:29 2013 UTC (10 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

Use __unused on a variable used in a KASSERT

Revision 1.101.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:17 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.101: +3 -15 lines
Diff to previous 1.101 (colored)

sync with head

Revision 1.102 / (download) - annotate - [select for diffs], Sat Jul 13 10:29:37 2013 UTC (10 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.101: +3 -15 lines
Diff to previous 1.101 (colored)

Use sy_invoke

Revision 1.96.4.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:43 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.96.4.1: +4 -5 lines
Diff to previous 1.96.4.1 (colored) to branchpoint 1.96 (colored)

sync with head.

Revision 1.96.8.4 / (download) - annotate - [select for diffs], Sun Apr 29 23:04:40 2012 UTC (11 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.96.8.3: +4 -19 lines
Diff to previous 1.96.8.3 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)

sync to latest -current.

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Mon Apr 23 16:51:51 2012 UTC (11 years, 11 months ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.97.2.1: +2 -3 lines
Diff to previous 1.97.2.1 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Pull up following revision(s) (requested by skrll in ticket #196):
	sys/arch/hppa/hppa/trap.c: revision 1.101
Pass the trap address in ksi_addr without privilege bits.
Previously GDB would get confused by the trap address given when hitting
the _rtld_debug_state breakpoint.

Revision 1.101 / (download) - annotate - [select for diffs], Mon Apr 23 11:25:03 2012 UTC (11 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.100: +4 -5 lines
Diff to previous 1.100 (colored)

Pass the trap address in ksi_addr without privilege bits.

Previously GDB would get confused by the trap address given when hitting
the _rtld_debug_state breakpoint.

Revision 1.96.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:26 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.96: +36 -42 lines
Diff to previous 1.96 (colored)

sync with head

Revision 1.100 / (download) - annotate - [select for diffs], Fri Apr 6 12:21:59 2012 UTC (12 years ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.99: +2 -16 lines
Diff to previous 1.99 (colored)

unifdef FPEMUL. All our supported systems have an FPU.

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Sat Mar 17 17:33:08 2012 UTC (12 years ago) by bouyer
Branch: netbsd-6
Changes since 1.97: +24 -3 lines
Diff to previous 1.97 (colored)

Pull up following revision(s) (requested by skrll in ticket #114):
	sys/arch/hppa/hppa/trap.c: revision 1.99
	sys/arch/hppa/hppa/vm_machdep.c: revision 1.51
	sys/arch/hppa/hppa/vm_machdep.c: revision 1.52
Deal with setting of space registers and protection ids for posix_spawn.
Thanks to martin for the help.
Remove WIP code.

Revision 1.96.8.3 / (download) - annotate - [select for diffs], Sun Mar 11 01:52:21 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.96.8.2: +22 -1 lines
Diff to previous 1.96.8.2 (colored) to branchpoint 1.96 (colored)

sync to latest -current

Revision 1.99 / (download) - annotate - [select for diffs], Wed Mar 7 22:07:13 2012 UTC (12 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8, jmcneill-usbmp-base7
Changes since 1.98: +24 -3 lines
Diff to previous 1.98 (colored)

Deal with setting of space registers and protection ids for posix_spawn.

Thanks to martin for the help.

Revision 1.96.8.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:29 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.96.8.1: +2 -28 lines
Diff to previous 1.96.8.1 (colored) to branchpoint 1.96 (colored)

sync to -current.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:08 2012 UTC (12 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Changes since 1.97: +2 -28 lines
Diff to previous 1.97 (colored)

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

Revision 1.96.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:32:14 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.96: +15 -2 lines
Diff to previous 1.96 (colored)

merge to -current.

Revision 1.97 / (download) - annotate - [select for diffs], Mon Feb 13 01:07:37 2012 UTC (12 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.96: +15 -2 lines
Diff to previous 1.96 (colored)

Add missing MD code for posix_spawn

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:46 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.95: +5 -5 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Sync with HEAD.

Revision 1.78.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:50:36 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.78.2.2: +21 -9 lines
Diff to previous 1.78.2.2 (colored) next main 1.79 (colored)

sync with head

Revision 1.95.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:25 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.95: +5 -5 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Sync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Sun Jan 23 09:44:59 2011 UTC (13 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, 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, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.95: +5 -5 lines
Diff to previous 1.95 (colored)

Make some more information (psw/fpu_state) per cpu.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Dec 20 00:25:34 2010 UTC (13 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.94: +5 -5 lines
Diff to previous 1.94 (colored)

Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits.  Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Nov 9 06:41:03 2010 UTC (13 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: uebayasi-xip-base6
Changes since 1.93: +6 -3 lines
Diff to previous 1.93 (colored)

#if 0 out the trap checks around tf_iioq_{head,tail}.  The sti(4) code
can/will trigger them.

Revision 1.71.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:33 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.71.2.1: +22 -12 lines
Diff to previous 1.71.2.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

Sync with HEAD.

Revision 1.54.10.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:09 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.54.10.3: +113 -107 lines
Diff to previous 1.54.10.3 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync with head.

Revision 1.93 / (download) - annotate - [select for diffs], Wed Jul 7 01:18:39 2010 UTC (13 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.92: +11 -2 lines
Diff to previous 1.92 (colored)

fix hppa ucas_*():
 - "ret" is a kernel-space pointer.
 - move the ucas RAS check from the device interrupt path
   to the page-fault path.

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:19 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.78.2.1: +15 -14 lines
Diff to previous 1.78.2.1 (colored)

sync with head

Revision 1.92 / (download) - annotate - [select for diffs], Mon May 31 20:19:33 2010 UTC (13 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.91: +4 -3 lines
Diff to previous 1.91 (colored)

Fix previous.

Revision 1.91 / (download) - annotate - [select for diffs], Mon May 31 19:40:21 2010 UTC (13 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.90: +15 -15 lines
Diff to previous 1.90 (colored)

Pull change across from OpenBSD:

Make single stepping a system call work.  Instead of single stepping
through the syscall gateway page, which doesn't work since that page is
shared between process, this makes us step over that bit by setting a
breakpoint on the instruction where the system call returns.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:16:52 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.78: +72 -78 lines
Diff to previous 1.78 (colored)

sync with head

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:27 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.71: +106 -110 lines
Diff to previous 1.71 (colored)

Sync with HEAD.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Apr 26 15:22:38 2010 UTC (13 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.89: +6 -5 lines
Diff to previous 1.89 (colored)

SANITY output tweak.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Apr 26 12:16:21 2010 UTC (13 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.88: +5 -5 lines
Diff to previous 1.88 (colored)

KNF

Revision 1.88 / (download) - annotate - [select for diffs], Fri Apr 23 19:18:09 2010 UTC (13 years, 11 months ago) by rmind
Branch: MAIN
Changes since 1.87: +8 -12 lines
Diff to previous 1.87 (colored)

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

Revision 1.87 / (download) - annotate - [select for diffs], Tue Apr 6 07:44:09 2010 UTC (14 years ago) by skrll
Branch: MAIN
Changes since 1.86: +4 -3 lines
Diff to previous 1.86 (colored)

Include SSBREAKPOINT in the PTRACE #ifdef/#endif.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Apr 3 07:46:02 2010 UTC (14 years ago) by skrll
Branch: MAIN
Changes since 1.85: +7 -8 lines
Diff to previous 1.85 (colored)

Add md_astpending to struct mdlwp and use it.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Mar 31 12:56:14 2010 UTC (14 years ago) by skrll
Branch: MAIN
Changes since 1.84: +12 -10 lines
Diff to previous 1.84 (colored)

Make cpl, ipending, and intr_depth per CPU values.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Mar 24 12:56:30 2010 UTC (14 years ago) by skrll
Branch: MAIN
Changes since 1.83: +6 -4 lines
Diff to previous 1.83 (colored)

Correct the list of traps that we need to get the va and space from
ii[os]q.

From OpenBSD.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Mar 22 23:29:11 2010 UTC (14 years ago) by skrll
Branch: MAIN
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

Wrap long line.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Mar 22 23:27:05 2010 UTC (14 years ago) by skrll
Branch: MAIN
Changes since 1.81: +13 -19 lines
Diff to previous 1.81 (colored)

Whitespace / comment formatting.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Mar 22 23:26:06 2010 UTC (14 years ago) by skrll
Branch: MAIN
Changes since 1.80: +17 -17 lines
Diff to previous 1.80 (colored)

Improve the output from frame_sanity_check.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Mar 20 23:31:27 2010 UTC (14 years ago) by chs
Branch: MAIN
Changes since 1.79: +9 -7 lines
Diff to previous 1.79 (colored)

fix copy{in,out}{,str}() to return the error returned by uvm_fault().
fixes PR 41813.

Revision 1.79 / (download) - annotate - [select for diffs], Tue Mar 16 16:20:19 2010 UTC (14 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.78: +7 -10 lines
Diff to previous 1.78 (colored)

The FP regs are accessed in both physical and virtual modes.  Make sure
they're allocated in directly mapped memory to avoid aliasing problems
and unnecessary cache flushing.

Fix various names and references. If we ever directly map the uarea and
pcb we can change things at that point.

Significantly helps my J210 (PA7200).

Mostly from OpenBSD.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Mar 11 21:43:15 2010 UTC (14 years, 1 month ago) by skrll
Branch: MAIN
Branch point for: rmind-uvmplock
Changes since 1.77: +8 -3 lines
Diff to previous 1.77 (colored)

Start at the first, not the second, exception register.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Mar 11 21:41:50 2010 UTC (14 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.76: +15 -18 lines
Diff to previous 1.76 (colored)

Comment formating.

Revision 1.54.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:26 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.54.10.2: +145 -217 lines
Diff to previous 1.54.10.2 (colored) to branchpoint 1.54 (colored)

sync with head

Revision 1.76 / (download) - annotate - [select for diffs], Wed Feb 10 20:54:46 2010 UTC (14 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Changes since 1.75: +2 -3 lines
Diff to previous 1.75 (colored)

Oops. Whitespace in previous.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Feb 10 20:52:35 2010 UTC (14 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored)

Remove a cast by fixing a printf format.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Feb 10 20:51:23 2010 UTC (14 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.73: +9 -11 lines
Diff to previous 1.73 (colored)

Reformat a comment.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Feb 10 20:49:58 2010 UTC (14 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.72: +8 -5 lines
Diff to previous 1.72 (colored)

Minor tweaks.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Feb 10 17:00:45 2010 UTC (14 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Use __arraycount

Revision 1.71 / (download) - annotate - [select for diffs], Sun Jan 17 08:50:04 2010 UTC (14 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.70: +9 -4 lines
Diff to previous 1.70 (colored)

Use pmap_extract instead of kvtop.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Jan 16 13:29:47 2010 UTC (14 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.69: +7 -4 lines
Diff to previous 1.69 (colored)

Tweak astpending handling.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Jan 16 07:56:16 2010 UTC (14 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.68: +22 -2 lines
Diff to previous 1.68 (colored)

Check cpl level has returned to entry value when leaving trap/syscall.

From OpenBSD.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jan 16 07:45:53 2010 UTC (14 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.67: +6 -2 lines
Diff to previous 1.67 (colored)

Add a comment.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Jan 16 07:37:21 2010 UTC (14 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.66: +12 -13 lines
Diff to previous 1.66 (colored)

Rename type_raw to trapnum and use in a couple more places.

Reduces diff to OpenBSD.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Jan 16 07:17:39 2010 UTC (14 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.65: +8 -6 lines
Diff to previous 1.65 (colored)

Count traps in uvmexp. Reduces diff to OpenBSD.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Jan 6 07:42:58 2010 UTC (14 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.64: +50 -156 lines
Diff to previous 1.64 (colored)

Update 64bit arg handling to use the flags in the syscall table.

Only do trace_enter/trace_exit if we're tracing.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jan 6 07:38:49 2010 UTC (14 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.63: +5 -3 lines
Diff to previous 1.63 (colored)

curlwp is never NULL now. Sprinkle KASSERT just in case.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Nov 27 20:32:10 2009 UTC (14 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.62: +4 -2 lines
Diff to previous 1.62 (colored)

Fix DEBUG build.  Hi rmind.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:09 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.61: +8 -6 lines
Diff to previous 1.61 (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.61 / (download) - annotate - [select for diffs], Sat Nov 21 15:36:34 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.60: +14 -15 lines
Diff to previous 1.60 (colored)

Use lwp_getpcb() on hppa and ia64, clean from struct user usage.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Nov 3 05:07:26 2009 UTC (14 years, 5 months ago) by snj
Branch: MAIN
Changes since 1.59: +11 -15 lines
Diff to previous 1.59 (colored)

Follow upstream license changes for files with Michael Shalayeff's
copyright.  In most cases, this means dropping the 3rd and 4th clauses.

Revision 1.57.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:17:48 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.57: +28 -22 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.54.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:14 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.54.10.1: +58 -24 lines
Diff to previous 1.54.10.1 (colored) to branchpoint 1.54 (colored)

sync with head.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Apr 30 07:01:27 2009 UTC (14 years, 11 months ago) by skrll
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, jymxensuspend-base
Changes since 1.58: +5 -12 lines
Diff to previous 1.58 (colored)

Merge nick-hppapmap.

This is a port of the OpenBSD pmap and trap handling code to get us

        - Performance boost on some/all machines.
        - Well on the way to PA2.0 (in 32bit mode) support. Several
          machines probe hardware, but fail sometime after interrupts
          are enabled.

Other things changed / fixed on the branch are

        - update autoconf to use the OpenBSD code.
        - com @ dino is very close to being supported.
        - HPPA_REDZONE has been replaced with a working redzone which
          is enabled with DIAGNOSTIC.
        - UPAGES has been halved in size.
        - power(4) from OpenBSD to fix a few bugs.
        - updated list of modules from OpenBSD.
	- initial ports of uturn(4), astro(4) and elroy(4).
	- update some copyrights (remove advertising clause, etc.)

Thanks to mjf for some of the above, testing and listening.

Revision 1.57.2.4 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:06 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.57.2.3: +25 -12 lines
Diff to previous 1.57.2.3 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Sync with HEAD.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Apr 11 09:49:23 2009 UTC (15 years ago) by skrll
Branch: MAIN
CVS Tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.57: +25 -12 lines
Diff to previous 1.57 (colored)

Fixup two more syscalls with 64-bit args.

Remove reference to script that is supposed to do this automatically - I
don't have it.

Fixes PR/41185.

Revision 1.57.2.3 / (download) - annotate - [select for diffs], Thu Feb 19 18:23:35 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.57.2.2: +3 -7 lines
Diff to previous 1.57.2.2 (colored) to branchpoint 1.57 (colored)

Fixup redzone stuff and enable it if DIAGNOSTIC.

Revision 1.54.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:02 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.54.6.1: +30 -2 lines
Diff to previous 1.54.6.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

Revision 1.55.6.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:12 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.55.6.1: +4 -3 lines
Diff to previous 1.55.6.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

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

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Sat Nov 22 16:54:29 2008 UTC (15 years, 4 months ago) by mjf
Branch: nick-hppapmap
Changes since 1.57.2.1: +3 -3 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored)

Fix a typo I saw when turning on TRAPDEBUG. struct pmap doesn't have
a pmap_space member, it should be pm_space.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Mon Oct 27 08:02:41 2008 UTC (15 years, 5 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.57: +3 -6 lines
Diff to previous 1.57 (colored)

Commit work in progress.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Oct 21 12:16:59 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2, 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, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Changes since 1.56: +4 -3 lines
Diff to previous 1.56 (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.55.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:47 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.55: +30 -3 lines
Diff to previous 1.55 (colored)

Sync with HEAD.

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

Merge wrstuden-revivesa into HEAD.

Revision 1.55.2.4 / (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.55.2.3: +9 -2 lines
Diff to previous 1.55.2.3 (colored) to branchpoint 1.55 (colored) next main 1.56 (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.55.2.3 / (download) - annotate - [select for diffs], Mon Jun 30 04:55:55 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.55.2.2: +4 -3 lines
Diff to previous 1.55.2.2 (colored) to branchpoint 1.55 (colored)

Change how we make SA threads not generate upcalls. Instead of clearing
LW_SA, use a private flag, LP_SA_NOBLOCK, that we set when we want
to not generate upcalls. This means we do NOT need to lock (l)
(ourselves) to set it.

Adjust tests that look at LW_SA. Now, we are an upcall-generating
lwp if ((l->l_flag & LW_SA) && (~l->l_pflag & LP_SA_NOBLOCK)).

Introduce code pattern to set & remember this:

	f = ~l->l_pflag & LP_SA_NOBLOCK;
	l->l_pflag |= LP_SA_NOBLOCK;

	...

	/* f is now LP_SA_NOBLOCK if it wasn't set in l_pflag before */

	l->l_pflag ^= f;

I updated a lot of the trap handlers to do trap handling iff LP_SA_NOBLOCK
is not set. I tried to figure out if the trap handler could be triggered
for user-based faults as opposed to kernel faults to user addresses, and
only look at LP_SA_NOBLOCK for the latter.

Above is a result of discussions with rmind at to reduce lock twiddling.

Also, per same discussions, add locking to sys_sa_preempt(). p_lock is
the lock we want.

Also, per same discussions, remove use of LSSUSPENDED as a thread state.
We needed to use it when we were emulating the 4.X and previous behavior
of hiding cached threads. For the moment, we now have them instead
remain visible to all and have them sleeping on the "lwpcache" wait
channel.

sa_newcachelwp(): sa_putcachelwp() wants savp_mutex held, not p_lock.

Tweak some comments.

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Sun Jun 22 18:12:02 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.55.2.1: +20 -3 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (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.54.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:12 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.54: +2 -9 lines
Diff to previous 1.54 (colored)

Sync with HEAD.

Revision 1.54.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:07 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.54: +2 -9 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

sync with head.

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

sync with head.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:44 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:23 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, 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, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.54: +2 -9 lines
Diff to previous 1.54 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.46.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:05 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.46.2.2: +155 -15 lines
Diff to previous 1.46.2.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

sync with HEAD

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:36 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.49: +155 -15 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.28.2.8 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:27 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.7: +5 -6 lines
Diff to previous 1.28.2.7 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Feb 6 22:12:41 2008 UTC (16 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, 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, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.53: +5 -6 lines
Diff to previous 1.53 (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.28.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:36:45 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.6: +154 -13 lines
Diff to previous 1.28.2.6 (colored) to branchpoint 1.28 (colored)

sync with head

Revision 1.49.8.3 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:13 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.49.8.2: +13 -8 lines
Diff to previous 1.49.8.2 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jan 18 10:00:48 2008 UTC (16 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.52: +13 -8 lines
Diff to previous 1.52 (colored)

KNF

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jan 18 09:56:41 2008 UTC (16 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Correct a comment.

Revision 1.49.8.2 / (download) - annotate - [select for diffs], Fri Jan 11 19:19:08 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.49.8.1: +137 -1 lines
Diff to previous 1.49.8.1 (colored) to branchpoint 1.49 (colored)

Sync with HEAD

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jan 10 21:08:40 2008 UTC (16 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.50: +139 -3 lines
Diff to previous 1.50 (colored)

Various improvements to the hppa kernel for gdb.

	- add the useful space and control registers to struct reg
	- update process_{read,write}_regs accordingly
	- use MID_HPPA in core dumps.
	- dump the fp regs into cores.
	- add single stepping support from OpenBSD.

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:46:23 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.46.2.1: +4 -4 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored)

sync with HEAD

Revision 1.49.8.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:09:50 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

Sync with HEAD

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

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

Revision 1.42.2.5 / (download) - annotate - [select for diffs], Mon Dec 3 18:36:17 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.42.2.4: +2 -5 lines
Diff to previous 1.42.2.4 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.28.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:42:45 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.5: +2 -5 lines
Diff to previous 1.28.2.5 (colored) to branchpoint 1.28 (colored)

sync with head.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 15:58:28 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.47: +2 -5 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:17:05 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.46: +3 -7 lines
Diff to previous 1.46 (colored)

sync with HEAD

Revision 1.45.8.3 / (download) - annotate - [select for diffs], Tue Nov 6 19:25:00 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.45.8.2: +2 -5 lines
Diff to previous 1.45.8.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Nov 5 20:43:02 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: 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.48: +2 -5 lines
Diff to previous 1.48 (colored)

Don't set l_usrpri / spc_curpriority here. mi_userret() does it.

Revision 1.28.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:26:18 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.4: +3 -4 lines
Diff to previous 1.28.2.4 (colored) to branchpoint 1.28 (colored)

sync with head.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Oct 17 19:54:31 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (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.42.2.4 / (download) - annotate - [select for diffs], Tue Oct 9 13:37:46 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.42.2.3: +3 -4 lines
Diff to previous 1.42.2.3 (colored) to branchpoint 1.42 (colored)

Sync with head.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:35:31 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.46: +3 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.42.10.3 / (download) - annotate - [select for diffs], Wed Oct 3 19:23:31 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.42.10.2: +4 -14 lines
Diff to previous 1.42.10.2 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD

Revision 1.45.8.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:04 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.45.8.1: +3 -4 lines
Diff to previous 1.45.8.1 (colored) to branchpoint 1.45 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Oct 2 13:49:45 2007 UTC (16 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.46: +3 -4 lines
Diff to previous 1.46 (colored)

Make want_resched a member of cpu_info.

Revision 1.28.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:24 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.3: +37 -32 lines
Diff to previous 1.28.2.3 (colored) to branchpoint 1.28 (colored)

sync with head.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:18:59 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.45: +3 -12 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

Revision 1.38.2.1.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:03:30 2007 UTC (16 years, 7 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.38.2.1: +22 -16 lines
Diff to previous 1.38.2.1 (colored) next main 1.38.2.2 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:05 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.42.2.2: +3 -12 lines
Diff to previous 1.42.2.2 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Revision 1.45.8.1 / (download) - annotate - [select for diffs], Thu Aug 16 11:02:18 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.45: +3 -12 lines
Diff to previous 1.45 (colored)

Sync with HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Aug 15 12:07:24 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap, matt-armv6
Changes since 1.45: +3 -12 lines
Diff to previous 1.45 (colored)

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

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:59:35 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.42: +34 -20 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Sync with head.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Fri Jul 6 10:36:41 2007 UTC (16 years, 9 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-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, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.38.2.1: +22 -16 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Pull up following revision(s) (requested by skrll in ticket #758):
	sys/arch/hppa/hppa/trap.c: revision 1.45
Fix up the frame sanity checking to not bitch when taking interrupts in
the sti ROM code.
Fixes PR/34715.
Thanks to David H. Gutteridge.

Revision 1.42.10.2 / (download) - annotate - [select for diffs], Tue Jun 26 18:12:30 2007 UTC (16 years, 9 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.42.10.1: +27 -20 lines
Diff to previous 1.42.10.1 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Sat Jun 9 23:55:05 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.42.2.1: +27 -20 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored)

Sync with head.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:25 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.42: +19 -12 lines
Diff to previous 1.42 (colored)

Sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Sun May 27 09:41:25 2007 UTC (16 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.44: +27 -20 lines
Diff to previous 1.44 (colored)

Fix up the frame sanity checking to not bitch when taking interrupts in
the sti ROM code.

Fixes PR/34715.

Thanks to David H. Gutteridge.

Revision 1.42.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:54 2007 UTC (16 years, 10 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.42: +19 -12 lines
Diff to previous 1.42 (colored)

Update to HEAD.

Revision 1.44 / (download) - annotate - [select for diffs], Fri May 18 13:32:18 2007 UTC (16 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.43: +6 -5 lines
Diff to previous 1.43 (colored)

Minor KNF and make some output a bit easier to read.

Revision 1.43 / (download) - annotate - [select for diffs], Thu May 17 14:51:19 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.42: +15 -9 lines
Diff to previous 1.42 (colored)

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.

Revision 1.40.2.5 / (download) - annotate - [select for diffs], Wed May 2 07:18:51 2007 UTC (16 years, 11 months ago) by skrll
Branch: yamt-idlelwp
Changes since 1.40.2.4: +4 -19 lines
Diff to previous 1.40.2.4 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Backout previous - the problem isn't in the syscall code not saving things
correctly. It's in pmap_activate which can overwrite the saved space
registers when switching back to the lwp if it was switched away from at
a critical point, e.g. in the syscall gateway page.

Not sure of a correct fix at the moment.

Revision 1.40.2.4 / (download) - annotate - [select for diffs], Tue Apr 10 14:25:51 2007 UTC (17 years ago) by skrll
Branch: yamt-idlelwp
Changes since 1.40.2.3: +19 -4 lines
Diff to previous 1.40.2.3 (colored) to branchpoint 1.40 (colored)

Add the hack from OpenBSD for trap while in the SYSCALLGATE page. Add the
following comment to explain what's going on.

	In case we were interrupted from the syscall gate page
	treat this as we were not really running user code anymore

	The problem is that if we preempt when returning from this
	trap the interspace branch setting of IASQ to HPPA_SID_KERNEL
	is not picked up by the syscall code. Instead, it will attempt
	to return into the syscall gate page with the user space id
	causing a (fatal) ITLB trap for the process.

The syscall handler should probably be fixed.

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Wed Apr 4 17:28:27 2007 UTC (17 years ago) by skrll
Branch: yamt-idlelwp
Changes since 1.40.2.2: +14 -8 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored)

More cleanup/improvement. Still WIP.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Fri Mar 23 21:45:18 2007 UTC (17 years ago) by skrll
Branch: yamt-idlelwp
Changes since 1.40.2.1: +3 -3 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored)

Adapt hp700/hppa to yamt-idlelwp.

XXX Interrupts can fire before curlwp = new in sched_switch_unlock.
XXX This triggers the DEBUG check in sys/arch/hppa/hppa/trap.c:451

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:48:18 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:55 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

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

Revision 1.41 / (download) - annotate - [select for diffs], Sat Mar 3 14:37:54 2007 UTC (17 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Remove hppa_{round,trunc}_page.

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:06:42 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.2: +7 -25 lines
Diff to previous 1.28.2.2 (colored) to branchpoint 1.28 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:04 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.39: +7 -25 lines
Diff to previous 1.39 (colored)

Merge newlock2 to head.

Revision 1.37.2.4 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:34 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.37.2.3: +4 -23 lines
Diff to previous 1.37.2.3 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

Remove support for SA. Ok core@.

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Mon Jan 29 14:34:10 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.37.2.2: +7 -6 lines
Diff to previous 1.37.2.2 (colored) to branchpoint 1.37 (colored)

Make hp700 compile.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:49 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.37.2.1: +6 -8 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored)

Sync with head.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Thu Jan 4 19:41:46 2007 UTC (17 years, 3 months ago) by bouyer
Branch: netbsd-4
Branch point for: wrstuden-fixsa
Changes since 1.38: +6 -8 lines
Diff to previous 1.38 (colored)

Pull up following revision(s) (requested by skrll in ticket #323):
	sys/uvm/uvm_unix.c: revision 1.37
	sys/arch/hppa/hppa/trap.c: revision 1.39
Update uvm_grow to support stacks that grow upwards.
Use on hppa and fix a bug in the hppa trap handler.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:04 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.1: +13 -10 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored)

sync with head.

Revision 1.37.4.2 / (download) - annotate - [select for diffs], Mon Dec 18 11:42:04 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.37.4.1: +6 -8 lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Dec 18 09:39:14 2006 UTC (17 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, newlock2-nbase, newlock2-base
Changes since 1.38: +6 -8 lines
Diff to previous 1.38 (colored)

Update uvm_grow to support stacks that grow upwards.

Use on hppa and fix a bug in the hppa trap handler.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:17 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.37: +4 -2 lines
Diff to previous 1.37 (colored)

Sync with head.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:42 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.37: +4 -2 lines
Diff to previous 1.37 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Mon Oct 9 21:32:29 2006 UTC (17 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-splraiseipl-base3, yamt-splraiseipl-base2, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.37: +4 -2 lines
Diff to previous 1.37 (colored)

Make this compile without KTRACE.

From Sergey Svishchev in a private email.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:39:52 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.30: +13 -15 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head

Revision 1.30.8.5 / (download) - annotate - [select for diffs], Sun Sep 3 15:22:58 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.30.8.4: +3 -3 lines
Diff to previous 1.30.8.4 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Aug 25 07:21:07 2006 UTC (17 years, 7 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Fix a spello in a debug message.

Revision 1.30.8.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:41:53 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.30.8.3: +6 -3 lines
Diff to previous 1.30.8.3 (colored) to branchpoint 1.30 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jul 19 21:11:41 2006 UTC (17 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.35: +5 -2 lines
Diff to previous 1.35 (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.34.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:48:50 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Merge from HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jul 7 09:38:47 2006 UTC (17 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Fix use of user_backtrace. It takes a lwp pointer now.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:52:02 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28: +10 -15 lines
Diff to previous 1.28 (colored)

sync with head.

Revision 1.30.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:34:33 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.30.6.1: +3 -3 lines
Diff to previous 1.30.6.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with head.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Wed May 24 15:47:57 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.30.8.3 / (download) - annotate - [select for diffs], Wed May 24 10:56:50 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.30.8.2: +3 -3 lines
Diff to previous 1.30.8.2 (colored) to branchpoint 1.30 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Fri May 12 04:26:40 2006 UTC (17 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: gdamore-uart
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

P_PROFIL is held in p_flag of struct proc so test for it there.

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:31 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.30: +7 -12 lines
Diff to previous 1.30 (colored)

Sync with head.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Wed Apr 19 02:32:44 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.32.2.1: +1240 -0 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync with head - hopefully this will work

Revision 1.30.8.2 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:18 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.30.8.1: +7 -7 lines
Diff to previous 1.30.8.1 (colored) to branchpoint 1.30 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 15 18:12:02 2006 UTC (18 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, peter-altq-base, elad-kernelauth-base
Branch point for: peter-altq
Changes since 1.32: +7 -7 lines
Diff to previous 1.32 (colored)

adapt to uvm_fault() interface cleanup: kill the useless 3rd argument

Revision 1.30.8.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:06:53 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.30: +2 -7 lines
Diff to previous 1.30 (colored)

sync with head.

Revision 1.32.2.1, Tue Mar 7 07:21:50 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.32: +0 -1240 lines
FILE REMOVED

file trap.c was added on branch elad-kernelauth on 2006-04-19 02:32:44 +0000

Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 7 07:21:50 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2
Branch point for: elad-kernelauth
Changes since 1.31: +2 -3 lines
Diff to previous 1.31 (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.31 / (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.30: +2 -6 lines
Diff to previous 1.30 (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.30 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:04 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

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

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

merge ktrace-lwp.

Revision 1.7.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:56:31 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.4: +34 -29 lines
Diff to previous 1.7.2.4 (colored) next main 1.8 (colored)

Sync with HEAD. Here we go again...

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jul 3 22:21:10 2005 UTC (18 years, 9 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
Branch point for: yamt-lazymbuf
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored)

Remove "bad" label no longer in use.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 1 18:01:44 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.26: +6 -4 lines
Diff to previous 1.26 (colored)

PR/29607: Christian Biere systrace doesn't handle interrupted syscalls properly
Instead of jumping to the default "bad" case, jump to the error handling
switch, so that we can deal with ERESTART/EJUSTRETURN properly.

Revision 1.26 / (download) - annotate - [select for diffs], Sat May 7 15:06:51 2005 UTC (18 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.25: +14 -12 lines
Diff to previous 1.25 (colored)

add additional args to frame_sanity_check() so we can log which
context it was called from and the trap type (if called from trap()).

Revision 1.25 / (download) - annotate - [select for diffs], Sun May 1 19:17:52 2005 UTC (18 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.24: +18 -16 lines
Diff to previous 1.24 (colored)

check pcb_onfault for kernel T_DATALIGN traps (for ddb).

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:11 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with -current

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:01 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:38:37 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.3: +4 -4 lines
Diff to previous 1.7.2.3 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.24 / (download) - annotate - [select for diffs], Thu Feb 17 14:19:49 2005 UTC (19 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

user_backtrace() is used if DEBUG or USERTRACE is defined, but not DIAGNOSTIC.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Tue Oct 12 06:00:41 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.2: +3 -3 lines
Diff to previous 1.7.2.2 (colored)

Correct some ktr* calls to pass a struct lwp *

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:11 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.1: +32 -34 lines
Diff to previous 1.7.2.1 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Aug 7 21:47:05 2004 UTC (19 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.22: +32 -34 lines
Diff to previous 1.22 (colored)

handle T_CONDITION traps (by sending SIGFPE).
fix T_EXCEPTION code to handle the other FP major opcodes.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:35:29 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7: +230 -108 lines
Diff to previous 1.7 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 24 19:04:53 2004 UTC (19 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.21: +70 -33 lines
Diff to previous 1.21 (colored)

real siginfo support.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jul 24 18:59:06 2004 UTC (19 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.20: +41 -5 lines
Diff to previous 1.20 (colored)

FPU fixes and improvements, adapted from openbsd:
 - handle exceptions correctly
 - emulation of unimplemented instructions (eg. on PA-7300LC)

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 18 20:57:34 2004 UTC (19 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.19: +6 -13 lines
Diff to previous 1.19 (colored)

use mi_userret().

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 15 16:29:32 2004 UTC (19 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.18: +10 -19 lines
Diff to previous 1.18 (colored)

clear pcb_onfault before calling uvm_fault() and restore it after.
remove some debug code that actually makes debugging harder.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jun 9 16:06:56 2004 UTC (19 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.17: +4 -5 lines
Diff to previous 1.17 (colored)

redo rev. 1.13, handle curlwp being NULL correctly.

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 16 17:07:29 2004 UTC (19 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

for instruction TLB miss traps, process the fault with VM_PROT_EXECUTE
instead of VM_PROT_READ (to support non-executable mappings).

Revision 1.16 / (download) - annotate - [select for diffs], Fri Mar 26 14:11:01 2004 UTC (20 years ago) by drochner
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.15: +30 -13 lines
Diff to previous 1.15 (colored)

To the rest of the kernel, pretend that hppa supports SIGINFO.
There are still only "sigcontext" stackframes passed to the user,
but at least we can clean up the MI sources now.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 14 01:08:47 2004 UTC (20 years, 1 month ago) by cl
Branch: MAIN
Changes since 1.14: +3 -4 lines
Diff to previous 1.14 (colored)

add kernel part of concurrency support for SA on MP systems
- move per VP data into struct sadata_vp referenced from l->l_savp
  * VP id
  * lock on VP data
  * LWP on VP
  * recently blocked LWP on VP
  * queue of LWPs woken which ran on this VP before sleep
  * faultaddr
  * LWP cache for upcalls
  * upcall queue
- add current concurrency and requested concurrency variables
- make process exit run LWP on all VPs
- make signal delivery consider all VPs
- make timer events consider all VPs
- add sa_newsavp to allocate new sadata_vp structure
- add sa_increaseconcurrency to prepare new VP
- make sys_sa_setconcurrency request new VP or wakeup idle VP
- make sa_yield lower current concurrency
- set sa_cpu = VP id in upcalls
- maintain cached LWPs per VP

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 28 19:02:25 2003 UTC (20 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.13: +11 -17 lines
Diff to previous 1.13 (colored)

de-__P, remove register, ansify.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Nov 8 12:08:12 2003 UTC (20 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.12: +8 -4 lines
Diff to previous 1.12 (colored)

In trap(), curlwp could be NULL so don't refer it implicitly.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 31 03:28:13 2003 UTC (20 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Don't pass the (unused) return value args to the
trace_enter()/systrace_enter() functions.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 21 00:49:34 2003 UTC (20 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

NULL -> 0 for preempt() argument.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 13 21:12:12 2003 UTC (20 years, 6 months ago) by cl
Branch: MAIN
Changes since 1.9: +15 -4 lines
Diff to previous 1.9 (colored)

add MD part of SA/pthread pagefault handling on hppa

Revision 1.9 / (download) - annotate - [select for diffs], Sun Aug 31 01:26:36 2003 UTC (20 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.8: +103 -65 lines
Diff to previous 1.8 (colored)

update for LWPs, and some lite cleanup.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 15 02:29:41 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

__KERNEL_RCSID()

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 1 20:50:12 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 21 16:23:58 2002 UTC (21 years, 3 months ago) by manu
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, fvdl_fs64_base
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Pass the system call table to trace_enter() and ktrsys() so that it is
possible to use alternate system call tables. This is usefull for
displaying correctly the arguments in Mach binaries traces.

If NULL is given, then the regular systam call table for the process is used.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 15 20:06:01 2002 UTC (21 years, 5 months ago) by manu
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Add a realcode argument to trace_enter and ktrsyscall. realcode is the
original system call number, which can be negative for a Mach trap.
We cannot just replace code by realcode, because ktrsyscall uses it as
an index in the system call table, thus crashing the kernel when the
value is negative.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:35:49 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.2: +49 -21 lines
Diff to previous 1.2.2.2 (colored) next main 1.3 (colored)

sync kqueue branch with HEAD

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Sat Aug 31 13:44:47 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.3.2.3: +2 -2 lines
Diff to previous 1.3.2.3 (colored) next main 1.4 (colored)

catch up with -current.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 19 15:07:33 2002 UTC (21 years, 8 months ago) by fredette
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Since trap_kdebug() may be a macro, be sure to cast to void when not
using its result.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Tue Jul 16 08:13:47 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.3.2.2: +35 -6 lines
Diff to previous 1.3.2.2 (colored)

catch up with -current.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Jul 14 17:47:15 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.3.2.1: +1091 -0 lines
Diff to previous 1.3.2.1 (colored)

catch up with -current.

Revision 1.3.2.1, Sun Jul 7 22:52:54 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.3: +0 -1120 lines
FILE REMOVED

file trap.c was added on branch gehenna-devsw on 2002-07-14 17:47:15 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 7 22:52:54 2002 UTC (21 years, 9 months ago) by fredette
Branch: MAIN
Branch point for: gehenna-devsw
Changes since 1.2: +35 -6 lines
Diff to previous 1.2 (colored)

Now include the HPPA trap number in a user backtrace, and display
backtraces for more traps.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:37:06 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.1: +1092 -0 lines
Diff to previous 1.2.2.1 (colored)

catch up with -current on kqueue branch

Revision 1.2.2.1, Mon Jun 17 16:33:05 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.2: +0 -1091 lines
FILE REMOVED

file trap.c was added on branch kqueue on 2002-06-23 17:37:06 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 17 16:33:05 2002 UTC (21 years, 10 months ago) by christos
Branch: MAIN
Branch point for: kqueue
Changes since 1.1: +14 -15 lines
Diff to previous 1.1 (colored)

MD systrace gluons.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 5 01:04:21 2002 UTC (21 years, 10 months ago) by fredette
Branch: MAIN

Added files to support generic HP PA-RISC based machines.  hp700-specific
files to follow.

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>