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


Default branch: MAIN


Revision 1.61 / (download) - annotate - [select for diffs], Wed Feb 23 21:54:40 2022 UTC (11 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

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) - annotate - [select for diffs], Mon Aug 3 21:53:25 2020 UTC (2 years, 6 months ago) by uwe
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.59: +9 -3 lines
Diff to previous 1.59 (colored)

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) - annotate - [select for diffs], Wed Apr 8 14:07:52 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.56.30.1: +5 -6 lines
Diff to previous 1.56.30.1 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

Merge changes from current as of 20200406

Revision 1.59 / (download) - annotate - [select for diffs], Sun Dec 1 15:34:45 2019 UTC (3 years, 2 months ago) by ad
Branch: 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
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored)

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) - annotate - [select for diffs], Sat Nov 23 19:40:36 2019 UTC (3 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.57: +4 -6 lines
Diff to previous 1.57 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:06:45 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.56: +1 -2 lines
Diff to previous 1.56 (colored)

Sync with HEAD

Revision 1.56.28.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:41 2018 UTC (4 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.56: +1 -2 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

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

Revision 1.57 / (download) - annotate - [select for diffs], Wed Aug 22 01:05:23 2018 UTC (4 years, 5 months ago) by msaitoh
Branch: 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-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
Changes since 1.56: +1 -2 lines
Diff to previous 1.56 (colored)

- 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) - annotate - [select for diffs], Wed Aug 20 00:03:23 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.55.8.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:07 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head.

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

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

Revision 1.55.22.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:25 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Sat Oct 19 19:20:59 2013 UTC (9 years, 3 months ago) by christos
Branch: 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-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
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored)

make cpu_need_resched() macros consistent; __USE flags

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:57 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

sync with head

Revision 1.55 / (download) - annotate - [select for diffs], Wed Dec 22 03:22:43 2010 UTC (12 years, 1 month ago) by nisimura
Branch: 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
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

PROC_PC() should have been changed to LWP_PC().

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:55 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53: +2 -7 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:02 2009 UTC (13 years, 3 months ago) by rmind
Branch: 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
Changes since 1.53: +2 -7 lines
Diff to previous 1.53 (colored)

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) - annotate - [select for diffs], Thu Apr 3 12:42:24 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50: +57 -28 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.36.12.8 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:39 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.7: +3 -7 lines
Diff to previous 1.36.12.7 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:04 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.50: +55 -22 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

sync with head.

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:21 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.45.2.2: +55 -22 lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Sat Mar 22 03:23:27 2008 UTC (14 years, 10 months ago) by uwe
Branch: 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
Changes since 1.52: +3 -7 lines
Diff to previous 1.52 (colored)

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) - annotate - [select for diffs], Mon Mar 17 09:14:23 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.6: +55 -22 lines
Diff to previous 1.36.12.6 (colored) to branchpoint 1.36 (colored)

sync with head.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Mar 16 19:14:08 2008 UTC (14 years, 10 months ago) by uwe
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.51: +55 -16 lines
Diff to previous 1.51 (colored)

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) - annotate - [select for diffs], Wed Feb 27 18:26:16 2008 UTC (14 years, 11 months ago) by xtraeme
Branch: MAIN
Changes since 1.50: +1 -7 lines
Diff to previous 1.50 (colored)

Remove CTL_MACHDEP_NAMES, it's not used anywhere.

Ok by martin@.

Revision 1.47.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:00 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.47.2.2: +1 -2 lines
Diff to previous 1.47.2.2 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.36.12.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:39:15 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.5: +8 -3 lines
Diff to previous 1.36.12.5 (colored) to branchpoint 1.36 (colored)

sync with head

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:48:46 2008 UTC (15 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.45.2.1: +8 -2 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)

sync with HEAD

Revision 1.48.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:21 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.48.6.1: +0 -1 lines
Diff to previous 1.48.6.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jan 7 05:00:12 2008 UTC (15 years, 1 month ago) by uwe
Branch: 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
Changes since 1.49: +1 -2 lines
Diff to previous 1.49 (colored)

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) - annotate - [select for diffs], Wed Jan 2 21:50:17 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.48: +8 -2 lines
Diff to previous 1.48 (colored)

Sync with HEAD

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:43:20 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.47.2.1: +8 -2 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored)

Sync with HEAD.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:43 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.48: +8 -2 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with head.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Dec 14 00:58:37 2007 UTC (15 years, 1 month ago) by uwe
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.48: +8 -2 lines
Diff to previous 1.48 (colored)

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) - annotate - [select for diffs], Sun Dec 9 19:36:11 2007 UTC (15 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.44.8.2: +2 -1 lines
Diff to previous 1.44.8.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:49 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.47: +2 -1 lines
Diff to previous 1.47 (colored)

Sync with HEAD.

Revision 1.36.12.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:26:08 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.4: +2 -1 lines
Diff to previous 1.36.12.4 (colored) to branchpoint 1.36 (colored)

sync with head

Revision 1.43.6.4 / (download) - annotate - [select for diffs], Mon Dec 3 18:38:54 2007 UTC (15 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.43.6.3: +2 -1 lines
Diff to previous 1.43.6.3 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:18 2007 UTC (15 years, 2 months ago) by ad
Branch: 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
Changes since 1.47: +2 -1 lines
Diff to previous 1.47 (colored)

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) - annotate - [select for diffs], Tue Nov 6 23:22:00 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.45: +3 -13 lines
Diff to previous 1.45 (colored)

sync with HEAD

Revision 1.36.12.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:30 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.3: +3 -13 lines
Diff to previous 1.36.12.3 (colored) to branchpoint 1.36 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:07 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.46: +1 -1 lines
Diff to previous 1.46 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.43.6.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:24 2007 UTC (15 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.43.6.2: +3 -13 lines
Diff to previous 1.43.6.2 (colored) to branchpoint 1.43 (colored)

Sync with head.

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

sync with head.

Revision 1.43.14.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:24:58 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.43.14.1: +4 -13 lines
Diff to previous 1.43.14.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Sync with HEAD

Revision 1.44.8.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:37 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.44.8.1: +3 -13 lines
Diff to previous 1.44.8.1 (colored) to branchpoint 1.44 (colored)

Sync with HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Oct 1 21:26:03 2007 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.45: +3 -13 lines
Diff to previous 1.45 (colored)

Make want_resched a member of cpu_info.

Revision 1.36.12.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:29:25 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.2: +13 -3 lines
Diff to previous 1.36.12.2 (colored) to branchpoint 1.36 (colored)

sync with head.

Revision 1.43.6.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:47 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.43.6.1: +2 -1 lines
Diff to previous 1.43.6.1 (colored) to branchpoint 1.43 (colored)

Sync with HEAD.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:38 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:05:40 2007 UTC (15 years, 6 months ago) by matt
Branch: matt-mips64
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.44.8.1 / (download) - annotate - [select for diffs], Sat Aug 4 12:33:07 2007 UTC (15 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

Sync with HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Aug 4 09:49:53 2007 UTC (15 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base
Branch point for: yamt-x86pmap, matt-armv6
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

Add ci_cpuid where it's missing.

Revision 1.43.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:01:51 2007 UTC (15 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.43: +12 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with head.

Revision 1.43.6.1 / (download) - annotate - [select for diffs], Sun May 27 12:28:08 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.43: +12 -3 lines
Diff to previous 1.43 (colored)

Sync with head.

Revision 1.43.14.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:25 2007 UTC (15 years, 8 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.43: +12 -3 lines
Diff to previous 1.43 (colored)

Update to HEAD.

Revision 1.44 / (download) - annotate - [select for diffs], Thu May 17 14:51:28 2007 UTC (15 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-mips64, jmcneill-pm
Changes since 1.43: +12 -3 lines
Diff to previous 1.43 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Thu Apr 5 20:33:15 2007 UTC (15 years, 10 months ago) by uwe
Branch: yamt-idlelwp
Changes since 1.43.2.1: +10 -1 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Provide cpu_did_resched() that MI code calls with proper locking.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sun Mar 25 01:59:02 2007 UTC (15 years, 10 months ago) by uwe
Branch: yamt-idlelwp
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

Adapt sh3 to yamt-idlelwp.

Revision 1.36.12.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:05 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.1: +11 -10 lines
Diff to previous 1.36.12.1 (colored) to branchpoint 1.36 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Feb 16 02:53:51 2007 UTC (15 years, 11 months ago) by ad
Branch: 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
Changes since 1.42: +1 -2 lines
Diff to previous 1.42 (colored)

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) - annotate - [select for diffs], Fri Feb 9 21:55:12 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.41: +11 -9 lines
Diff to previous 1.41 (colored)

Merge newlock2 to head.

Revision 1.41.18.1 / (download) - annotate - [select for diffs], Thu Feb 1 06:21:07 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.41: +11 -9 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Get sh3 compiling.

Revision 1.36.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:55:31 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36: +35 -30 lines
Diff to previous 1.36 (colored)

sync with head.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:31 2006 UTC (17 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.38: +35 -30 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jan 21 04:24:12 2006 UTC (17 years ago) by uwe
Branch: 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
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Declare cpu_reset as __attribute__((__noreturn__)).

Revision 1.40 / (download) - annotate - [select for diffs], Sat Jan 21 03:52:42 2006 UTC (17 years ago) by uwe
Branch: MAIN
Changes since 1.39: +24 -18 lines
Diff to previous 1.39 (colored)

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) - annotate - [select for diffs], Sat Jan 21 03:42:29 2006 UTC (17 years ago) by uwe
Branch: MAIN
Changes since 1.38: +16 -17 lines
Diff to previous 1.38 (colored)

Use uint32_t.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Dec 24 23:24:02 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile

Revision 1.37 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:58 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36 (colored)

merge ktrace-lwp.

Revision 1.31.2.5 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:42 2004 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.4: +2 -2 lines
Diff to previous 1.31.2.4 (colored) next main 1.32 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Sat Sep 25 22:08:48 2004 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, 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
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

include sys/cpu_data.h only if defined(_KERNEL)

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:17 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.3: +3 -7 lines
Diff to previous 1.31.2.3 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Sep 22 11:32:03 2004 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.34: +3 -7 lines
Diff to previous 1.34 (colored)

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) - annotate - [select for diffs], Tue Sep 21 13:21:25 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.2: +1 -1 lines
Diff to previous 1.31.2.2 (colored)

Fix the sync with head I botched.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:39:54 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31.2.1: +0 -0 lines
Diff to previous 1.31.2.1 (colored)

Sync with HEAD.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:40:15 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.31: +2 -7 lines
Diff to previous 1.31 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Wed Mar 24 15:38:41 2004 UTC (18 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.33: +2 -38 lines
Diff to previous 1.33 (colored)

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) - annotate - [select for diffs], Sun Jan 4 11:33:31 2004 UTC (19 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.32: +1 -2 lines
Diff to previous 1.32 (colored)

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) - annotate - [select for diffs], Thu Aug 7 16:29:28 2003 UTC (19 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.31: +34 -2 lines
Diff to previous 1.31 (colored)

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) - annotate - [select for diffs], Sat Jan 18 06:33:41 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

Merge the nathanw_sa branch.

Revision 1.29.6.4 / (download) - annotate - [select for diffs], Wed Dec 11 06:11:54 2002 UTC (20 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.29.6.3: +8 -1 lines
Diff to previous 1.29.6.3 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Nov 13 14:00:27 2002 UTC (20 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.29: +8 -1 lines
Diff to previous 1.29 (colored)

add some definitions for P[VR]R register

Revision 1.29.6.3 / (download) - annotate - [select for diffs], Mon Jun 24 22:07:18 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.29.6.2: +2 -2 lines
Diff to previous 1.29.6.2 (colored) to branchpoint 1.29 (colored)

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) - annotate - [select for diffs], Sun Jun 23 17:40:38 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.13.2.1: +96 -67 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

catch up with -current on kqueue branch

Revision 1.29.6.2 / (download) - annotate - [select for diffs], Fri Jun 21 21:26:27 2002 UTC (20 years, 7 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.29.6.1: +226 -0 lines
Diff to previous 1.29.6.1 (colored) to branchpoint 1.29 (colored)

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 (20 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.29: +0 -225 lines
FILE REMOVED

file cpu.h was added on branch nathanw_sa on 2002-06-21 21:26:27 +0000

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 7 04:01:59 2002 UTC (20 years, 9 months ago) by thorpej
Branch: 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
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

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) - annotate - [select for diffs], Sun Apr 28 17:10:34 2002 UTC (20 years, 9 months ago) by uch
Branch: MAIN
Changes since 1.27: +25 -25 lines
Diff to previous 1.27 (colored)

Use "#define<tab>", white space nits.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 26 11:56:02 2002 UTC (20 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.26: +12 -1 lines
Diff to previous 1.26 (colored)

add SH4 Processor Version Register

Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 24 18:04:40 2002 UTC (20 years, 10 months ago) by uch
Branch: MAIN
Changes since 1.25: +16 -18 lines
Diff to previous 1.25 (colored)

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) - annotate - [select for diffs], Sun Mar 17 17:55:24 2002 UTC (20 years, 10 months ago) by uch
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.24: +25 -29 lines
Diff to previous 1.24 (colored)

cosmetic changes, fix comments.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Mar 17 14:06:38 2002 UTC (20 years, 10 months ago) by uch
Branch: MAIN
Changes since 1.23: +33 -9 lines
Diff to previous 1.23 (colored)

change to per-process AST.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:37 2002 UTC (20 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.13: +40 -75 lines
Diff to previous 1.13 (colored)

Catch up with -current.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Mar 8 13:12:10 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

cpu_swapout() moved to cpu.h

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 4 14:36:16 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.21: +14 -1 lines
Diff to previous 1.21 (colored)

CTL_MACHDEP definitions are integrated into sh3/include/cpu.h again.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 3 14:28:51 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.20: +5 -26 lines
Diff to previous 1.20 (colored)

machine dependent sysctl are moved to machine/cpu.h
	dreamcast, hpcsh ... CPU_CONSDEV
	mmeye, evbsh3	 ... CPU_CONSDEV, CPU_LOADANDRESET

Revision 1.20 / (download) - annotate - [select for diffs], Thu Feb 28 16:54:32 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

cpu_dumpconf, reserve_dumppages, dumpsys, cpu_reset are moved to sh3/sh3_machdep.c

Revision 1.19 / (download) - annotate - [select for diffs], Sun Feb 24 18:19:42 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.18: +6 -9 lines
Diff to previous 1.18 (colored)

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) - annotate - [select for diffs], Fri Feb 22 19:44:02 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.17: +1 -3 lines
Diff to previous 1.17 (colored)

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) - annotate - [select for diffs], Tue Feb 19 17:22:34 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.16: +4 -37 lines
Diff to previous 1.16 (colored)

Clean up function declaration.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Feb 17 20:55:52 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.15: +2 -8 lines
Diff to previous 1.15 (colored)

Add new MMU API.  for detail, see sh3/mmu.h's comment.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 12 15:26:47 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.14: +20 -24 lines
Diff to previous 1.14 (colored)

ANSIfy KNF.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Feb 11 18:04:24 2002 UTC (20 years, 11 months ago) by uch
Branch: MAIN
Changes since 1.13: +20 -1 lines
Diff to previous 1.13 (colored)

add useful macro for running P2, P1 area.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Oct 8 18:56:56 2001 UTC (21 years, 4 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.9: +2 -6 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull up revision 1.13 (requested by msaitoh):
  Fix KERNELMODE macro (check MD bits too).

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 24 05:34:07 2001 UTC (21 years, 7 months ago) by msaitoh
Branch: 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
Changes since 1.12: +2 -6 lines
Diff to previous 1.12 (colored)

fix KERNELMODE() macro (check MD bits, too)

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:34:00 2001 UTC (21 years, 7 months ago) by nathanw
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Catch up to -current.

Revision 1.12 / (download) - annotate - [select for diffs], Wed May 30 12:28:50 2001 UTC (21 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

use _KERNEL_OPT

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Feb 11 19:12:12 2001 UTC (21 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.2.1: +4 -4 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Feb 2 18:25:04 2001 UTC (22 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Add some comments about P/USEG

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:24:29 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2: +33 -11 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Fri Aug 25 01:04:10 2000 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Thu Jun 22 17:03:48 2000 UTC (22 years, 7 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.8: +1 -5 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 7 11:23:17 2000 UTC (22 years, 8 months ago) by tsubai
Branch: 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
Changes since 1.8: +1 -5 lines
Diff to previous 1.8 (colored)

Remove child_return prototype; it is now in sys/proc.h.

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 26 21:20:14 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.7: +20 -1 lines
Diff to previous 1.7 (colored)

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) - annotate - [select for diffs], Thu Feb 24 23:32:26 2000 UTC (22 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

SH4!

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 14 19:09:35 2000 UTC (23 years ago) by msaitoh
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.5: +10 -1 lines
Diff to previous 1.5 (colored)

add SH3_{PHYS,P1SEG,P2SEG}_TO_{PHYS,P1SEG,P2SEG} macros

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:33:44 1999 UTC (23 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.2: +1 -25 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up to last week's -current.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 24 08:29:23 1999 UTC (23 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.4: +22 -0 lines
Diff to previous 1.4 (colored)

back to previous one (suggested by cgd)

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 21 22:19:16 1999 UTC (23 years, 1 month ago) by msaitoh
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.3: +1 -23 lines
Diff to previous 1.3 (colored)

move sysctl definitions into ${MACHINE}/include/cpu.h

Revision 1.3 / (download) - annotate - [select for diffs], Tue Dec 21 18:21:53 1999 UTC (23 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored)

G.C.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 14 10:22:35 1999 UTC (23 years, 4 months ago) by tsubai
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Catch up with -current.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 13 10:31:16 1999 UTC (23 years, 4 months ago) by itojun
Branch: 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).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>