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
Current tag: MAIN


Revision 1.101 / (download) - annotate - [select for diffs], Mon Apr 23 11:25:03 2012 UTC (13 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base10, agc-symver-base, agc-symver, HEAD
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.100 / (download) - annotate - [select for diffs], Fri Apr 6 12:21:59 2012 UTC (14 months, 1 week 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.99 / (download) - annotate - [select for diffs], Wed Mar 7 22:07:13 2012 UTC (15 months, 1 week 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.98 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:08 2012 UTC (15 months, 4 weeks 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.97 / (download) - annotate - [select for diffs], Mon Feb 13 01:07:37 2012 UTC (16 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.96 / (download) - annotate - [select for diffs], Sun Jan 23 09:44:59 2011 UTC (2 years, 4 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 (2 years, 6 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 (2 years, 7 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.93 / (download) - annotate - [select for diffs], Wed Jul 7 01:18:39 2010 UTC (2 years, 11 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.92 / (download) - annotate - [select for diffs], Mon May 31 20:19:33 2010 UTC (3 years 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 (3 years 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.90 / (download) - annotate - [select for diffs], Mon Apr 26 15:22:38 2010 UTC (3 years, 1 month 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 (3 years, 1 month 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 (3 years, 1 month 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 (3 years, 2 months 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 (3 years, 2 months 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 (3 years, 2 months 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 (3 years, 2 months 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 (3 years, 2 months 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 (3 years, 2 months 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 (3 years, 2 months 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 (3 years, 3 months 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 (3 years, 3 months 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 (3 years, 3 months 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 (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.76: +15 -18 lines
Diff to previous 1.76 (colored)

Comment formating.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Feb 10 20:54:46 2010 UTC (3 years, 4 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 (3 years, 4 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 (3 years, 4 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 (3 years, 4 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 (3 years, 4 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 (3 years, 5 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 (3 years, 5 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 (3 years, 5 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 (3 years, 5 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 (3 years, 5 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 (3 years, 5 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 (3 years, 5 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 (3 years, 5 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 (3 years, 6 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 (3 years, 6 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 (3 years, 6 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 (3 years, 7 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.59 / (download) - annotate - [select for diffs], Thu Apr 30 07:01:27 2009 UTC (4 years, 1 month 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.58 / (download) - annotate - [select for diffs], Sat Apr 11 09:49:23 2009 UTC (4 years, 2 months 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 / (download) - annotate - [select for diffs], Tue Oct 21 12:16:59 2008 UTC (4 years, 7 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, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, 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.56 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:17 2008 UTC (4 years, 8 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 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:23 2008 UTC (5 years, 1 month 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.54 / (download) - annotate - [select for diffs], Wed Feb 6 22:12:41 2008 UTC (5 years, 4 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.53 / (download) - annotate - [select for diffs], Fri Jan 18 10:00:48 2008 UTC (5 years, 5 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 (5 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Correct a comment.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jan 10 21:08:40 2008 UTC (5 years, 5 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.50 / (download) - annotate - [select for diffs], Sat Jan 5 12:53:55 2008 UTC (5 years, 5 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.49 / (download) - annotate - [select for diffs], Mon Nov 5 20:43:02 2007 UTC (5 years, 7 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.48 / (download) - annotate - [select for diffs], Wed Oct 17 19:54:31 2007 UTC (5 years, 8 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.47 / (download) - annotate - [select for diffs], Tue Oct 2 13:49:45 2007 UTC (5 years, 8 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.46 / (download) - annotate - [select for diffs], Wed Aug 15 12:07:24 2007 UTC (5 years, 10 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.45 / (download) - annotate - [select for diffs], Sun May 27 09:41:25 2007 UTC (6 years 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.44 / (download) - annotate - [select for diffs], Fri May 18 13:32:18 2007 UTC (6 years, 1 month 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 (6 years, 1 month 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.42 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:55 2007 UTC (6 years, 3 months 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 (6 years, 3 months 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.40 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:04 2007 UTC (6 years, 4 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.39 / (download) - annotate - [select for diffs], Mon Dec 18 09:39:14 2006 UTC (6 years, 6 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.38 / (download) - annotate - [select for diffs], Mon Oct 9 21:32:29 2006 UTC (6 years, 8 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.37 / (download) - annotate - [select for diffs], Fri Aug 25 07:21:07 2006 UTC (6 years, 9 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.36 / (download) - annotate - [select for diffs], Wed Jul 19 21:11:41 2006 UTC (6 years, 11 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.35 / (download) - annotate - [select for diffs], Fri Jul 7 09:38:47 2006 UTC (6 years, 11 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.34 / (download) - annotate - [select for diffs], Fri May 12 04:26:40 2006 UTC (7 years, 1 month 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.33 / (download) - annotate - [select for diffs], Wed Mar 15 18:12:02 2006 UTC (7 years, 3 months 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.32 / (download) - annotate - [select for diffs], Tue Mar 7 07:21:50 2006 UTC (7 years, 3 months 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 (7 years, 3 months 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 (7 years, 5 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 (7 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

merge ktrace-lwp.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jul 3 22:21:10 2005 UTC (7 years, 11 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 (7 years, 11 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 (8 years, 1 month 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 (8 years, 1 month 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.24 / (download) - annotate - [select for diffs], Thu Feb 17 14:19:49 2005 UTC (8 years, 4 months 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, matt-timespec, 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.23 / (download) - annotate - [select for diffs], Sat Aug 7 21:47:05 2004 UTC (8 years, 10 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.22 / (download) - annotate - [select for diffs], Sat Jul 24 19:04:53 2004 UTC (8 years, 10 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 (8 years, 10 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 (8 years, 11 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 (9 years 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 (9 years 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 (9 years, 1 month 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 (9 years, 2 months 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 (9 years, 3 months 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 (9 years, 6 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 (9 years, 7 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 (9 years, 7 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 (9 years, 8 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 (9 years, 8 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 (9 years, 9 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 (9 years, 11 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 (10 years, 2 months 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 (10 years, 6 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 (10 years, 7 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.4 / (download) - annotate - [select for diffs], Mon Aug 19 15:07:33 2002 UTC (10 years, 10 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 / (download) - annotate - [select for diffs], Sun Jul 7 22:52:54 2002 UTC (10 years, 11 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 / (download) - annotate - [select for diffs], Mon Jun 17 16:33:05 2002 UTC (11 years 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 (11 years 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>