The NetBSD Project

CVS log for src/sys/arch/sh3/include/cpu.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Feb 23 21:54:40 2022 UTC (2 years, 11 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, 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, HEAD
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
fix various typos in comments, mainly immediatly/immediately/,
as well shared and recently fixed typos in OpenBSD code by Jonathan Grey.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Aug 3 21:53:25 2020 UTC (4 years, 6 months ago) by uwe
Branches: 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
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +9 -3 lines
SH3_P2SEG_FUNC(f) - get a P2 address of a function.


Just SH3_P1SEG_TO_P2SEG + cast, but we now define SH3_P1SEG_TO_P2SEG
and SH3_P2SEG_TO_P1SEG to use arithmetic, not bitwise ops.  That gives
the same result for the correct P1/P2 input values, but addition can
be done at link time with addends.  Thus SH3_P2SEG_FUNC compiles to a
constant P2 address.

Revision 1.56.30.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:52 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.56.30.1: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.30.1: +5 -6 lines
Merge changes from current as of 20200406

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Dec 1 15:34:45 2019 UTC (5 years, 2 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -1 lines
Fix false sharing problems with cpu_info.  Identified with tprof(8).
This was a very nice win in my tests on a 48 CPU box.

- Reorganise cpu_data slightly according to usage.
- Put cpu_onproc into struct cpu_info alongside ci_curlwp (now is ci_onproc).
- On x86, put some items in their own cache lines according to usage, like
  the IPI bitmask and ci_want_resched.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Nov 23 19:40:36 2019 UTC (5 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -6 lines
cpu_need_resched():

- Remove all code that should be MI, leaving the bare minimum under arch/.
- Make the required actions very explicit.
- Pass in LWP pointer for convenience.
- When a trap is required on another CPU, have the IPI set it locally.
- Expunge cpu_did_resched().

Revision 1.56.30.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:45 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -2 lines
Sync with HEAD

Revision 1.56.28.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:41 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +1 -2 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Aug 22 01:05:23 2018 UTC (6 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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, isaki-audio2-base, isaki-audio2
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -2 lines
- Cleanup for dynamic sysctl:
  - Remove unused *_NAMES macros for sysctl.
  - Remove unused *_MAXID for sysctls.
- Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and
  use them on all m68k machines.

Revision 1.55.18.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:23 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +2 -1 lines
Rebase to HEAD as of a few days ago.

Revision 1.55.8.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:07 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +2 -1 lines
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.55.22.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:25 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +2 -1 lines
sync with head

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Oct 19 19:20:59 2013 UTC (11 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base-20171202, 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, 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-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-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, 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, 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, pgoyette-compat
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -1 lines
make cpu_need_resched() macros consistent; __USE flags

Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:57 2011 UTC (13 years, 11 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +3 -3 lines
sync with head

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Dec 22 03:22:43 2010 UTC (14 years, 1 month ago) by nisimura
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, matt-mips64-premerge-20101231, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, 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, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3 lines
PROC_PC() should have been changed to LWP_PC().

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:55 2010 UTC (14 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +2 -7 lines
sync with head

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:02 2009 UTC (15 years, 3 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211
Branch point for: rmind-uvmplock
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +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.50.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:24 2008 UTC (16 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +57 -28 lines
Sync with HEAD.

Revision 1.36.12.8: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:39 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.7: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.12.7: +3 -7 lines
sync with head.

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:04 2008 UTC (16 years, 10 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +55 -22 lines
sync with head.

Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:21 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.45.2.2: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.2: +55 -22 lines
sync with HEAD

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Mar 22 03:23:27 2008 UTC (16 years, 10 months ago) by uwe
Branches: MAIN
CVS tags: 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, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -7 lines
Revert interrupt stack changes.  There are some issues and, at least
in the current form, they complicate implementation of fast software
interrupts.  I'd rather get fast softints in now and may be revisit
interrupt stack later.

Revision 1.36.12.7: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:23 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.6: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.12.6: +55 -22 lines
sync with head.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Mar 16 19:14:08 2008 UTC (16 years, 11 months ago) by uwe
Branches: MAIN
CVS tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +55 -16 lines
Rewrite RUN_P2, RUN_P1 in asm.  gcc4 is too happy to optimize away
assigned-goto versions if try to do anything fancy with them
(discovered by trying to wrap RUN_P2 into an "if").

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Feb 27 18:26:16 2008 UTC (16 years, 11 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -7 lines
Remove CTL_MACHDEP_NAMES, it's not used anywhere.

Ok by martin@.

Revision 1.47.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:00 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.47.2.2: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.2: +1 -2 lines
Sync with HEAD.

Revision 1.36.12.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:39:15 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.5: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.12.5: +8 -3 lines
sync with head

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:48:46 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +8 -2 lines
sync with HEAD

Revision 1.48.6.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:10:21 2008 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.48.6.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.6.1: +0 -1 lines
Sync with HEAD

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Jan 7 05:00:12 2008 UTC (17 years, 1 month ago) by uwe
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -2 lines
Now that sh3 has didicated interrupt stack we can check for cpu_intr_p
with simple sp comparison, so we can drop ci_idepth.

Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:50:17 2008 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +8 -2 lines
Sync with HEAD

Revision 1.47.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:43:20 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.47.2.1: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.1: +8 -2 lines
Sync with HEAD.

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:42:43 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking2
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +8 -2 lines
Sync with head.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Dec 14 00:58:37 2007 UTC (17 years, 2 months ago) by uwe
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +8 -2 lines
Use dedicated interrupt stack.  Tested on hpcsh and landisk.  This has
been sitting in my tree for quite a while.  While here s/top/bottom/
in a few places related to stacks to confirm to conventional
terminology.

Revision 1.44.8.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:11 2007 UTC (17 years, 2 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.44.8.2: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.8.2: +2 -1 lines
Sync with HEAD.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:17:49 2007 UTC (17 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -1 lines
Sync with HEAD.

Revision 1.36.12.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:26:08 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.4: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.12.4: +2 -1 lines
sync with head

Revision 1.43.6.4: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:38:54 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.43.6.3: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.6.3: +2 -1 lines
Sync with HEAD.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:34:18 2007 UTC (17 years, 2 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -1 lines
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:22:00 2007 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -13 lines
sync with HEAD

Revision 1.36.12.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:28:30 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.3: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.12.3: +3 -13 lines
sync with head.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:57:07 2007 UTC (17 years, 4 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -1 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.43.6.3: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:38:24 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.43.6.2: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.6.2: +3 -13 lines
Sync with head.

Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:34:26 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -13 lines
sync with head.

Revision 1.43.14.2: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:24:58 2007 UTC (17 years, 4 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.43.14.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.14.1: +4 -13 lines
Sync with HEAD

Revision 1.44.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:27:37 2007 UTC (17 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.44.8.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.8.1: +3 -13 lines
Sync with HEAD.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Oct 1 21:26:03 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -13 lines
Make want_resched a member of cpu_info.

Revision 1.36.12.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:29:25 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.12.2: +13 -3 lines
sync with head.

Revision 1.43.6.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:38:47 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.43.6.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.6.1: +2 -1 lines
Sync with HEAD.

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:47:38 2007 UTC (17 years, 6 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +2 -1 lines
Sync with HEAD.

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 7 18:05:40 2007 UTC (17 years, 6 months ago) by matt
Branches: matt-mips64
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +2 -1 lines
Sync with HEAD.

Revision 1.44.8.1: download - view: text, markup, annotated - select for diffs
Sat Aug 4 12:33:07 2007 UTC (17 years, 6 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -1 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Aug 4 09:49:53 2007 UTC (17 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base
Branch point for: yamt-x86pmap, matt-armv6
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -1 lines
Add ci_cpuid where it's missing.

Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:01:51 2007 UTC (17 years, 7 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +12 -3 lines
Sync with head.

Revision 1.43.6.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:28:08 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +12 -3 lines
Sync with head.

Revision 1.43.14.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:27:25 2007 UTC (17 years, 8 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +12 -3 lines
Update to HEAD.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:28 2007 UTC (17 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-mips64, jmcneill-pm
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +12 -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.43.2.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 20:33:15 2007 UTC (17 years, 10 months ago) by uwe
Branches: yamt-idlelwp
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.1: +10 -1 lines
Provide cpu_did_resched() that MI code calls with proper locking.

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 25 01:59:02 2007 UTC (17 years, 10 months ago) by uwe
Branches: yamt-idlelwp
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3 lines
Adapt sh3 to yamt-idlelwp.

Revision 1.36.12.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:08:05 2007 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.12.1: +11 -10 lines
sync with head.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Feb 16 02:53:51 2007 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -2 lines
Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:12 2007 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +11 -9 lines
Merge newlock2 to head.

Revision 1.41.18.1: download - view: text, markup, annotated - select for diffs
Thu Feb 1 06:21:07 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +11 -9 lines
Get sh3 compiling.

Revision 1.36.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:55:31 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +35 -30 lines
sync with head.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:51:31 2006 UTC (19 years ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +35 -30 lines
sync with head.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Jan 21 04:24:12 2006 UTC (19 years ago) by uwe
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
Declare cpu_reset as __attribute__((__noreturn__)).

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Jan 21 03:52:42 2006 UTC (19 years ago) by uwe
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +24 -18 lines
Hide RUN_P2 and RUN_P1 from lint.
Drop CONSTCOND as lint doesn't see that code now.
While here, tweak them a bit to use less casts.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Jan 21 03:42:29 2006 UTC (19 years ago) by uwe
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +16 -17 lines
Use uint32_t.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Dec 24 23:24:02 2005 UTC (19 years, 1 month ago) by perry
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:58 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -1 lines
merge ktrace-lwp.

Revision 1.31.2.5: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:42 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.4: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.4: +2 -2 lines
Sync with HEAD

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Sep 25 22:08:48 2004 UTC (20 years, 4 months ago) by yamt
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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
include sys/cpu_data.h only if defined(_KERNEL)

Revision 1.31.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 24 10:53:17 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.3: preferred, colored
Changes since revision 1.31.2.3: +3 -7 lines
Sync with HEAD.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Sep 22 11:32:03 2004 UTC (20 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -7 lines
move some per-cpu data definitions to MI place so that they can be modified
without touching all ports.  discussed on tech-kern@.

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

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

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:40:15 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -7 lines
Sync with HEAD

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Mar 24 15:38:41 2004 UTC (20 years, 10 months ago) by wiz
Branches: 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
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -38 lines
Move
	(c) TNF
line from 4-clause UCB to 3-clause UCB license; in other words,
remove UCB's ad clause from the license TNF grants.
There is no point in TNF demanding that UCB's ad clause be followed
when even UCB doesn't demand it any longer.

Ok'd by board@ and agc@.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Jan 4 11:33:31 2004 UTC (21 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -2 lines
Rearrange process exit path to avoid need to free resources from different
process context ('reaper').

From within the exiting process context:
* deactivate pmap and free vmspace while we can still block
* introduce MD cpu_lwp_free() - this cleans all MD-specific context (such
  as FPU state), and is the last potentially blocking operation;
  all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free()
* process is now immediatelly marked as zombie and made available for pickup
  by parent; the remaining last lwp continues the exit as fully detached
* MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same
  for both 'process' and 'lwp' exit

uvm_lwp_exit() is modified to never block; the u-area memory is now
always just linked to the list of available u-areas. Introduce (blocking)
uvm_uarea_drain(), which is called to release the excessive u-area memory;
this is called by parent within wait4(), or by pagedaemon on memory shortage.
uvm_uarea_free() is now private function within uvm_glue.c.

MD process/lwp exit code now always calls lwp_exit2() immediatelly after
switching away from the exiting lwp.

g/c now unneeded routines and variables, including the reaper kernel thread

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:29:28 2003 UTC (21 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +34 -2 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Jan 18 06:33:41 2003 UTC (22 years, 1 month ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -2 lines
Merge the nathanw_sa branch.

Revision 1.29.6.4: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:11:54 2002 UTC (22 years, 2 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.29.6.3: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.6.3: +8 -1 lines
Sync with HEAD.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Nov 13 14:00:27 2002 UTC (22 years, 3 months ago) by msaitoh
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.29: preferred, colored
Changes since revision 1.29: +8 -1 lines
add some definitions for P[VR]R register

Revision 1.29.6.3: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:07:18 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.29.6.2: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.6.2: +2 -2 lines
Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:40:38 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.1: +96 -67 lines
catch up with -current on kqueue branch

Revision 1.29.6.2: download - view: text, markup, annotated - select for diffs
Fri Jun 21 21:26:27 2002 UTC (22 years, 7 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.29.6.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.6.1: +226 -0 lines
Add support for scheduler activations on SuperH.  Boots multi-user
on Dreamcast (SH4) with stock userland.

Revision 1.29.6.1
Tue May 7 04:01:59 2002 UTC (22 years, 9 months ago) by thorpej
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.29: +0 -225 lines
file cpu.h was added on branch nathanw_sa on 2002-06-21 21:26:27 +0000

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue May 7 04:01:59 2002 UTC (22 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: 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
Branch point for: nathanw_sa
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Make CLKF_INTR() slightly less broken.  The previous definition always
tested true if the CPU was running in the kernel at the time of the clock
interrupt, therefore all such time (kernel and idle) was counted as interrupt
time.  The new definition simply punts on trying to count interrupt time,
which allows us to see kernel and idle time.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Apr 28 17:10:34 2002 UTC (22 years, 9 months ago) by uch
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +25 -25 lines
Use "#define<tab>", white space nits.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Apr 26 11:56:02 2002 UTC (22 years, 9 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +12 -1 lines
add SH4 Processor Version Register

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Mar 24 18:04:40 2002 UTC (22 years, 10 months ago) by uch
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +16 -18 lines
Rework interrupt code.
 + Fully utilize SH SR.I[0:3] interrupt level.
 + software interrupt is emulated by TMU1, 2 one shot interrupt.
 + implement generic soft interrupts.
 + implement clockframe correctly.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Mar 17 17:55:24 2002 UTC (22 years, 11 months ago) by uch
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +25 -29 lines
cosmetic changes, fix comments.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Mar 17 14:06:38 2002 UTC (22 years, 11 months ago) by uch
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +33 -9 lines
change to per-process AST.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:59:37 2002 UTC (22 years, 11 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +40 -75 lines
Catch up with -current.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Mar 8 13:12:10 2002 UTC (22 years, 11 months ago) by uch
Branches: MAIN
CVS tags: newlock-base, newlock
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
cpu_swapout() moved to cpu.h

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Mar 4 14:36:16 2002 UTC (22 years, 11 months ago) by uch
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +14 -1 lines
CTL_MACHDEP definitions are integrated into sh3/include/cpu.h again.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Mar 3 14:28:51 2002 UTC (22 years, 11 months ago) by uch
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -26 lines
machine dependent sysctl are moved to machine/cpu.h
	dreamcast, hpcsh ... CPU_CONSDEV
	mmeye, evbsh3	 ... CPU_CONSDEV, CPU_LOADANDRESET

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Feb 28 16:54:32 2002 UTC (22 years, 11 months ago) by uch
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
cpu_dumpconf, reserve_dumppages, dumpsys, cpu_reset are moved to sh3/sh3_machdep.c

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Feb 24 18:19:42 2002 UTC (22 years, 11 months ago) by uch
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -9 lines
Move common exception vector and scheduler code to
sh3/sh3/exception_vector.S and sh3/sh3/locore_subr.S. exception
vectors are installed by sh_cpu_init().  machine/locore.S contains
kernel entry, interrupt handler, and some MD code.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Feb 22 19:44:02 2002 UTC (22 years, 11 months ago) by uch
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -3 lines
New NetBSD/sh3 clock framework.
 + hardclock source is moved from TMU1 to TMU0.
 + SH3/SH4 common kernel support.
 + PCLOCK estimation.
 + remove duplicated code.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Feb 19 17:22:34 2002 UTC (22 years, 11 months ago) by uch
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -37 lines
Clean up function declaration.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Feb 17 20:55:52 2002 UTC (23 years ago) by uch
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -8 lines
Add new MMU API.  for detail, see sh3/mmu.h's comment.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Feb 12 15:26:47 2002 UTC (23 years ago) by uch
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +20 -24 lines
ANSIfy KNF.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Feb 11 18:04:24 2002 UTC (23 years ago) by uch
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +20 -1 lines
add useful macro for running P2, P1 area.

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 8 18:56:56 2001 UTC (23 years, 4 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +2 -6 lines
Pull up revision 1.13 (requested by msaitoh):
  Fix KERNELMODE macro (check MD bits too).

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jun 24 05:34:07 2001 UTC (23 years, 7 months ago) by msaitoh
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: kqueue
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -6 lines
fix KERNELMODE() macro (check MD bits, too)

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:34:00 2001 UTC (23 years, 7 months ago) by nathanw
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +2 -2 lines
Catch up to -current.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed May 30 12:28:50 2001 UTC (23 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
use _KERNEL_OPT

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:12:12 2001 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +4 -4 lines
Sync with HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Feb 2 18:25:04 2001 UTC (24 years ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
Add some comments about P/USEG

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:24:29 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +33 -11 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.10: download - view: text, markup, annotated - select for diffs
Fri Aug 25 01:04:10 2000 UTC (24 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Make need_resched() take a "struct cpu_info *" argument.  This
causes gives a primitive form of processor affinity.  Its use in
roundrobin() still needs some work.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:03:48 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +1 -5 lines
Sync w/ netbsd-1-5-base.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jun 7 11:23:17 2000 UTC (24 years, 8 months ago) by tsubai
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -5 lines
Remove child_return prototype; it is now in sys/proc.h.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri May 26 21:20:14 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +20 -1 lines
First sweep at scheduler state cleanup.  Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Feb 24 23:32:26 2000 UTC (24 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
SH4!

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jan 14 19:09:35 2000 UTC (25 years, 1 month ago) by msaitoh
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +10 -1 lines
add SH3_{PHYS,P1SEG,P2SEG}_TO_{PHYS,P1SEG,P2SEG} macros

Revision 1.2.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:33:44 1999 UTC (25 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +1 -25 lines
Pull up to last week's -current.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Dec 24 08:29:23 1999 UTC (25 years, 1 month ago) by msaitoh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +22 -0 lines
back to previous one (suggested by cgd)

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Dec 21 22:19:16 1999 UTC (25 years, 1 month ago) by msaitoh
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -23 lines
move sysctl definitions into ${MACHINE}/include/cpu.h

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Dec 21 18:21:53 1999 UTC (25 years, 1 month ago) by msaitoh
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -3 lines
G.C.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 14 10:22:35 1999 UTC (25 years, 5 months ago) by tsubai
Branches: MAIN
CVS tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Catch up with -current.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Sep 13 10:31:16 1999 UTC (25 years, 5 months ago) by itojun
Branches: MAIN
Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
	As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).

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>