The NetBSD Project

CVS log for src/sys/arch/mips/mips/db_trace.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:31 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +20 -14 lines
Sync with HEAD.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Feb 10 07:19:54 2021 UTC (3 years, 9 months ago) by simonb
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, 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-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +17 -9 lines
On MIPS use a helper function to work out the current PC and then
call stacktrace_subr() directly for displaying a stacktrace with
db_stacktrace() and friends.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Feb 9 13:28:47 2021 UTC (3 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -3 lines
Remove a macro that has never been used.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Feb 9 13:26:25 2021 UTC (3 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -6 lines
Trailing whitespace, remove extra blank line.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Sep 26 20:38:27 2020 UTC (4 years, 2 months ago) by mrg
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +24 -11 lines
redo much of rev 1.45 and make the _KERNEL path look like it
used to before.

while it uses less total lines of code and looks less ugly,
the merged crash+ddb code here is less correct and harder to
follow for the kernel path.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Sep 26 04:11:48 2020 UTC (4 years, 2 months ago) by simonb
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -3 lines
Including <ddb/db_access.h> once should be sufficient.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Aug 17 04:15:34 2020 UTC (4 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +82 -59 lines
mostly complete basic port of crash(8) to mips.

tested on mipsel and mips64eb.  basic functionality works
on the running kernel, not yet tested on crash dumps.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Aug 15 07:42:07 2020 UTC (4 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -7 lines
move stacktrace_subr() from trap.c into new mips_stacktrace.c so
it can be shared between ddb, other mips kernel components (see
locore), and an upcoming crash(8) port.

remove second copy of kdbpeek() (hidden by old DDB_TRACE
option, but they're functionally equivalent.)

tested on octeon.

ok simonb@

Revision 1.42.14.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:28 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +3 -3 lines
update from HEAD

Revision 1.42.32.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:47 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +3 -3 lines
Sync with HEAD

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Jun 6 22:19:07 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
Make db_expr_t long long when using the N32 ABI.

Revision 1.35.38.6: download - view: text, markup, annotated - select for diffs
Thu Feb 16 10:45:17 2012 UTC (12 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.35.38.5: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.38.5: +3 -3 lines
Change db_expr_t to an register_t so we can see the full register contents
on N32 kernels.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:05 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +61 -59 lines
Sync with HEAD.

Revision 1.38.4.3: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:09 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.38.4.2: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.4.2: +1 -0 lines
sync with head

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Apr 29 22:14:59 2011 UTC (13 years, 7 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -2 lines
Add whitespace

Revision 1.35.38.5: download - view: text, markup, annotated - select for diffs
Fri Apr 29 08:26:25 2011 UTC (13 years, 7 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.35.38.4: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.38.4: +29 -15 lines
Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code.  (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.

Revision 1.38.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:06 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.38.4.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.1: +83 -67 lines
sync with head

Revision 1.40.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:49 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +60 -59 lines
Sync with HEAD

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Feb 20 07:45:47 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +60 -59 lines
Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:44:52 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +25 -10 lines
Sync with HEAD.

Revision 1.35.20.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:23 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.35.20.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.20.1: +25 -10 lines
sync with head.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:22:35 2010 UTC (14 years, 5 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +25 -10 lines
add "trace/a" to trace by LWP address.

Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:23 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
sync with head

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Jul 1 02:38:27 2010 UTC (14 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
Remove pfind() and pgfind(), fix locking in various broken uses of these.
Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags
and have consistent behaviour.  Provide proc_find_raw() for special cases.
Fix memory leak in sysctl_proc_corename().

COMPAT_LINUX: rework ptrace() locking, minimise differences between
different versions per-arch.

Note: while this change adds some formal cosmetics for COMPAT_DARWIN and
COMPAT_IRIX - locking there is utterly broken (for ages).

Fixes PR/43176.

Revision 1.35.20.1: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:40 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +20 -23 lines
sync with head

Revision 1.35.38.4: download - view: text, markup, annotated - select for diffs
Mon Feb 1 04:16:19 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.35.38.3: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.38.3: +60 -59 lines
Merge frame into trapframe.  While this costs a bit more stack space on
kernel exceptions, the resulting simplifications are worth it.  This is
a step to fast softints and kernel preemption.

trapframe now includes a struct reg instead of a separate array of registers.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Dec 14 00:46:06 2009 UTC (15 years ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +19 -16 lines
Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Nov 21 17:40:28 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -4 lines
Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:01 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -7 lines
Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.35.38.3: download - view: text, markup, annotated - select for diffs
Mon Sep 7 21:54:39 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.35.38.2: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.38.2: +5 -5 lines
Use the new symbolic constants for label_t.
Use label_t where appropriate.
Add some LP64 KASSERTs

Revision 1.35.38.2: download - view: text, markup, annotated - select for diffs
Sun Aug 23 04:38:34 2009 UTC (15 years, 3 months ago) by uebayasi
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u1-k1-k5
Diff to: previous 1.35.38.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.38.1: +13 -11 lines
Make ddb(4) trace work on 64-bit ABIs.

For now:

- Values are shown in 32-bit.
- Only 4 arguments are shown.
- DDB_TRACE (heuristic version) is left as is.


Reviewed By:	matt

Revision 1.35.38.1: download - view: text, markup, annotated - select for diffs
Fri Aug 21 17:44:08 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -4 lines
Cleanup types for stacktrace_subr()

Revision 1.34.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:19:05 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +2 -2 lines
sync with HEAD

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:55:37 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-nb5-pq3-base, matt-nb5-pq3, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, matt-nb5-mips64
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
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.26.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:27:59 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.26.2.2: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.2: +5 -3 lines
sync with head.

Revision 1.33.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:00:47 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +5 -3 lines
Sync with head.

Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:27:45 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +5 -3 lines
Sync with head.

Revision 1.33.12.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:27:09 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +5 -3 lines
Update to HEAD.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:23 2007 UTC (17 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -3 lines
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.30.2.2: download - view: text, markup, annotated - select for diffs
Wed Mar 21 21:21:42 2007 UTC (17 years, 8 months ago) by ad
Branches: yamt-idlelwp
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.1: +5 -3 lines
Initial changes for MIPS. Not yet working under gxemul.

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:52:05 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -5 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:07:28 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.1: +5 -5 lines
sync with head.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Feb 22 05:28:53 2007 UTC (17 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Fix more boolean_t -> bool lossage

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Feb 21 22:59:48 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:31:38 2007 UTC (17 years, 9 months ago) by pavel
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

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

Reviewed by Andrew Doran.

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:53 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3 lines
Sync with head.

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:33 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -5 lines
sync with head.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Dec 26 12:28:31 2006 UTC (17 years, 11 months ago) by martin
Branches: MAIN
CVS tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Make the DDB_TRACE variant compilable

Revision 1.27.8.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:12 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.27.8.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.8.1: +3 -3 lines
sync with head.

Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:41:26 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +3 -4 lines
sync with head

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Sep 6 23:58:20 2006 UTC (18 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: newlock2
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
Use p_find(addr, PFIND_LOCKED) in case the proclist_lock is held.

Revision 1.27.8.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:21 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -3 lines
sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Aug 26 17:36:06 2006 UTC (18 years, 3 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pdpolicy-base8
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -3 lines
No need #include <machine/param.h> since #include <sys/param.h> is enough.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:09 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
merge ktrace-lwp.

Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:57:33 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.3: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.3: +4 -4 lines
Sync with HEAD. Here we go again...

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon May 30 02:26:17 2005 UTC (19 years, 6 months ago) by simonb
Branches: 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
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
Deal with extra constiness in ddb.

Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:18:48 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.2: preferred, colored
Changes since revision 1.23.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:37:25 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.1: preferred, colored
Changes since revision 1.23.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:37:47 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +64 -59 lines
Sync with HEAD

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Nov 26 08:36:49 2003 UTC (21 years ago) by he
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +62 -60 lines
Hide the register number constants behind an _R_ prefix, and also
rename FPBASE to _FPBASE, so that we avoid polluting the user's
name space when e.g. <sys/ptrace.h> is included.  Previously, the
PC symbol in mips/regnum.h would conflict with the declaration of
the external variable by the same name in termcap.h, as discovered
by the ``okheaders'' regression test.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:43:38 2003 UTC (21 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -1 lines
__KERNEL_RCSID()

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Jan 17 23:36:11 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -3 lines
Merge the nathanw_sa branch.

Revision 1.19.8.6: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:00:38 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.19.8.5: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.8.5: +12 -1 lines
Catch up to -current

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Nov 4 03:46:18 2002 UTC (22 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +12 -1 lines
Add N32 register vars.

Revision 1.19.8.5: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:39:37 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.19.8.4: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.8.4: +1 -2 lines
No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.19.8.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:41:02 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.19.8.3: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.8.3: +8 -12 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:58:38 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.1: +8 -12 lines
Catch up with -current.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Mar 5 15:12:58 2002 UTC (22 years, 9 months ago) by simonb
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +8 -12 lines
ANSIfy.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:46:07 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +10 -16 lines
Sync kqueue branch with -current.

Revision 1.19.8.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:26:19 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.19.8.2: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.8.2: +10 -16 lines
Catch up to -current.

Revision 1.19.8.2: download - view: text, markup, annotated - select for diffs
Sat Dec 15 07:09:12 2001 UTC (23 years ago) by gmcgarry
Branches: nathanw_sa
Diff to: previous 1.19.8.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.8.1: +264 -0 lines
lwp'ify

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Nov 22 06:58:03 2001 UTC (23 years ago) by simonb
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +10 -16 lines
KNF, ANSIfy.
Change print_addr() to take an db_addr_t argument instead of a long.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:28:04 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +1 -7 lines
Catch up to -current.

Revision 1.19.8.1
Sun May 6 12:50:45 2001 UTC (23 years, 7 months ago) by gmcgarry
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.19: +0 -261 lines
file db_trace.c was added on branch nathanw_sa on 2001-12-15 07:09:12 +0000

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun May 6 12:50:45 2001 UTC (23 years, 7 months ago) by simonb
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -7 lines
Remove prototype for non-existant function.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:11:06 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +5 -5 lines
Sync with HEAD.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Jan 19 01:41:36 2001 UTC (23 years, 10 months ago) by shin
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
- fix prototype of db_mips_variable_func().

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jan 18 10:54:28 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
make db_[e]regs[] const

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:13:33 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +59 -25 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Sep 19 06:22:51 2000 UTC (24 years, 2 months ago) by jeffs
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +40 -8 lines
Add trace/t pid support for mips.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:59:03 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
<vm/vm_param.h> -> <uvm/uvm_param.h>

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat May 27 02:18:12 2000 UTC (24 years, 6 months ago) by enami
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -2 lines
No longer need to include sys/types.h.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat May 27 02:13:12 2000 UTC (24 years, 6 months ago) by soren
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -2 lines
Include <sys/param.h> to make the new cpu.h happy.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri May 26 20:59:00 2000 UTC (24 years, 6 months ago) by mhitch
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Fix typo (stray " where it shouldn't be).

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri May 26 03:34:27 2000 UTC (24 years, 6 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +8 -7 lines
Rename the machine-specific stack trace printing functions
from db_stack_trace_cmd() to db_stack_trace_print(),
and add an additional argument, a function pointer for an
output routine (i.e. printf() or db_printf()).

Add db_stack_trace_cmd() in db_command.[ch], calling
db_stack_trace_print() with db_printf() as the printer.

Move count==-1 special handling from db_stack_trace_print() [nee
db_stack_trace_cmd()] to db_stack_trace_cmd() [nascent here].

Again, I'm unable to test compilation on all affected platforms,
so advance apologies for potential brokenness.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Mar 30 14:36:30 2000 UTC (24 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -7 lines
Nuke register, diddle a bit of indentation in some function declarations.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Mar 28 02:58:48 2000 UTC (24 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5 lines
Don't `extern' function declarations.  While we're there, remove trailing
blank lines and white space.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:52:06 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +11 -11 lines
Sync w/ -current.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Apr 24 08:10:39 1999 UTC (25 years, 7 months ago) by simonb
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +11 -11 lines
Nuke register and remove trailling white space.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Mar 23 22:15:36 1999 UTC (25 years, 8 months ago) by simonb
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Include <machine/db_machdep.h> instead of <mips/db_machdep.h>.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 16 03:44:42 1999 UTC (25 years, 11 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -8 lines
- Replace the stub value of 'eret' instruction with correct one.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jan 15 01:23:12 1999 UTC (25 years, 11 months ago) by castor
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +91 -6 lines
* Elimination of UADDR/KERNELSTACK

   Affected files:
	include/mips_param.h, include/pcb.h,
	mips/locore_mips1.S, mips/locore_mips3.S,
	mips/mips_machdep.c, mips/vm_machdep.c

   Issue:

So far, NetBSD/mips has not successfully got rid of fixed-address
kernel stack.  USPACE (two 4KB pages) of each process has two distinct
KSEG2 addresses, both refer to a single physical storage; one address
for fixed range [ UADDR .. KERNELSTACK ), and another for "normal" KSEG2
address which was allocated by kernel memory manager and unique to each
others of processes.

"Doubly mapped" USPACE complicates context switch.  Both address ranges
have to be managed with a special care of "wired" TLB entries which
are never replaced until next context switch to ensure no TLB miss for
USPACE access.  It's equally crumbersome that MIPS processor's cache
machinary gets be confused about USPACE contents because there are two
distinct KSEG2 addresses to manipulate one physical storage.

   Solution:

Purge KERNELSTACK constant for kernel stack pointer and replace
it with process unique values.  Kernel stack bottom is located at
'curproc->p_addr + USPACE'.  Context switch is simplified as it unloads
half of TLB hardwiring burden.  It just manages the unique KSEG2 address
of each USPACE to be wired.  As the side effect, switch_exit() has no
MIPS processor ISA dependent code anymore.  It switchs kernel stack to
proc0's USPACE which has KSEG0 address and no need of TLB entry.

* Extensive use of 'genassym.cf'

To hide target port dependent and/or processor register size dependent
constants from assembler routines, 'genassym.cf' now has an extentive
set of definitions for various constants and offset values of
structural objects.  This change will contribute possible NetBSD/mips64
portability too.

* Separation and rename of locore_r2000/_r4000.S

Those files are now indepedent standalones from locore.S to ease
maintainance works, and renamed to match MIPS processor ISA version.

* Changes in kernel mode exception handlers

Kernel mode exception handlers hold exception contexts by pushing a
certain set of register values on stack for resuming kernel mode
processing.  This context is now represented with 'struct trapframe',
which is smaller than full scale (user mode) exception context 'struct
frame'.  Stack consumption of kernel mode exception services is now
similar to 4.4BSD/mips.

* Relocation of exception frame

User mode context 'struct frame' is moved to the very bottom of kernel
stack at 'curproc->p_addr + USPACE - sizeof(struct frame)'  This change
saves a bit of instructions on every return to user processes as it
eliminates reference to global variable 'curpcb' each time.

* Refurblished DDB backtrace routine

It's a growing concern to maintain stacktrace() code correctly.  It
could be simplified by enforcing special arrangements for some of
obscure locore routines which violate usual coding conventions.

New backtrace code searchs for certain instructions peculiar to any of
function tails.  Specifically, "jr ra" for normal function returns, "jr
k0" for MIPS1 exception handlers and "eret" for MIPS3 handlers.

* Support for 64-bit safe user code
    Affected Files:
	${ARCH}/include/pubassym.cf lib/libc/arch/mips/gen/*setjmp*
	include/setjmp.h mips/include/[lots] mips/mips/[lots]

    Solution:

	We define macros REG_L/REG_S and SZREG for loading and storing
	registers and for the size of registers.  The exact meaning
	of these is controlled by a macro (currently _MIPS64) which
	allows one to treat the registers as either 32-bit or 64-bit.
	There are data types mips_reg_t and mips_fpreg_t which represent
	the true register sizes, and avoid confusing register_t.

	We needed a way to dynamically gen the structure sizes of things
	like sigcontext for setjmp.h, so we defined a pubassym.cf for
	libc routines like setjmp and longjmp.

	NetBSD/mips allows ${ARCH}'s to be defined which preserve
	all 64-bits of registers across user context switches.  There
	are still a few niceties to clean up for kernel mode context
	switches.

* Support for QED 52xx processors
    Affected Files:
	mips/locore_mips3.S mips/pmap.c include/locore.h

    Issue:
	The QED 52xx family of processors are targeted at low cost
	embedded systems, (i.e. CPUs ~$30) for systems like routers, printers,
	etc.  We have added preliminary support for some of the idiosyncrasies
	of this processor, e.g. no L2 cache, etc.  More work needs to be
	done here because with a modest 2-way  L1 cache, some of the rampant
	flushing has significant performance implications.  However,
	it doesn't crash, which is a start.

    Solution:
	A routine for flushing the cache based on virtual addresses was added;
	a routine which deals with the two-way set associativity of the
	5230 L1 cache was added, accomodations to 5230's instruction hazards
	were added.


* TLB Miss code for mips3/mips4 processors cleaned up significantly.
    Affected Files:
	mips/locore_mips3.S mips/vm_machdep.c include/locore.h mips_machdep.c
    Issue:
	The TLB Miss handler exceeded the allowed size, which wasn't
	a problem because there was no handler for when the processor
	was in 64-bit mode.  The handler for invalid TLB exceptions
	also appears to have much vestigial code, which made it
	difficult to understand.

    Solution:
	Use the XCONTEXT register to store a pointer to the segment
	map table, this coupled with removing some dead code allows
	the handlers to fit.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jan 6 04:11:31 1999 UTC (25 years, 11 months ago) by nisimura
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -6 lines
- Complete vm_offset_t purge for mips processor.
- bzero() -> memset() and bcopy() -> memcpy().
- Garbage collection in trap.c and db_interface.c.

Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 16 10:41:28 1998 UTC (26 years, 1 month ago) by nisimura
Branches: nisimura-pmax-wscons
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +6 -6 lines
- Step forward to MIPS64 support.  Incorporate partially Caster Fu's
patches.  Still some work is missing to satisfy his QED 5230 port.

- More symbolic definitions in genassym.cf which improve possible 64bit-ness
of locore_mips{1,3}.S.

- Fix mips3 L1 cache line size detection logic in cpuarch.h as pointed by
Caster.

- Fix a bug in proc_trampoline() code in locore_mips3.S as pointed by Caster.

- Replace vm_offset_t with vaddr_t/paddr_t entirely.  Note that
NetBSD/newsmips has purged vm_offset_t too.

- Synchronize various files according to recent changes made in main trunk.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Feb 2 12:49:15 1998 UTC (26 years, 10 months ago) by jonathan
Branches: MAIN
CVS tags: nisimura-pmax-wscons-base, kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Branch point for: nisimura-pmax-wscons
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2 lines
Delete incorrect private declaration of db_maxoff.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jan 5 07:03:02 1998 UTC (26 years, 11 months ago) by perry
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -0 lines
RCSID Police.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jul 7 03:54:36 1997 UTC (27 years, 5 months ago) by jonathan
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia
DDB for mips.
  Add DDB interface to /sys/arch/mips/mips..
  Rework heuristic stack traceback to work with DDB.
  Add hooks  to print exception log from DDB.
  Add hooks from pmax console drivers:   call Debugger()
  after break from serial console, or 'DO' key from LK-xxx.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>