The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.106.2.2: download - view: text, markup, annotated - select for diffs
Tue Dec 19 12:28:01 2023 UTC (11 months, 3 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2
Diff to: previous 1.106.2.1: preferred, colored; branchpoint 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106.2.1: +1 -6 lines
Pull up following revision(s) (requested by kalvisd in ticket #509):

	sys/arch/vax/include/cpu.h: revision 1.108

vax: PR port-vax/55415

    Remove VAX-specific workaround to force pre-emption, as it is now
    no longer needed.

    tested by oster@

Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Dec 19 00:29:48 2023 UTC (11 months, 3 weeks ago) by kalvisd
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +1 -6 lines
vax: PR port-vax/55415

    Remove VAX-specific workaround to force pre-emption, as it is now
    no longer needed.

    tested by oster@

Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 11 13:42:08 2023 UTC (15 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RC1
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +6 -1 lines
Pull up following revision(s) (requested by oster in ticket #365):

	sys/arch/vax/include/cpu.h: revision 1.107

With the overhaul of the scheduler code the semantics of
ci_want_resched have changed, and for some reason vax
still requires ci_want_resched set to 1 in order to do
preemption.  This commit contains a workaround for the
preemption issued discussed in PR#55415.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun Sep 10 00:15:52 2023 UTC (15 months ago) by oster
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +6 -1 lines


With the overhaul of the scheduler code the semantics of
ci_want_resched have changed, and for some reason vax
still requires ci_want_resched set to 1 in order to do
preemption.  This commit contains a workaround for the
preemption issued discussed in PR#55415.

XXX pullup-10

Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Dec 11 18:02:40 2022 UTC (2 years ago) by oster
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +19 -6 lines

Support save/restore of AST levels in the PCB for context switching.

Code written by ragge@ , tested by oster@.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sat Aug 14 17:51:19 2021 UTC (3 years, 4 months ago) by ryo
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +5 -1 lines
Improved the performance of kernel profiling on MULTIPROCESSOR, and possible to get profiling data for each CPU.

In the current implementation, locks are acquired at the entrance of the mcount
internal function, so the higher the number of cores, the more lock conflict
occurs, making profiling performance in a MULTIPROCESSOR environment unusable
and slow. Profiling buffers has been changed to be reserved for each CPU,
improving profiling performance in MP by several to several dozen times.

- Eliminated cpu_simple_lock in mcount internal function, using per-CPU buffers.
- Add ci_gmon member to struct cpu_info of each MP arch.
- Add kern.profiling.percpu node in sysctl tree.
- Add new -c <cpuid> option to kgmon(8) to specify the cpuid, like openbsd.
  For compatibility, if the -c option is not specified, the entire system can be
  operated as before, and the -p option will get the total profiling data for
  all CPUs.

Revision 1.101.6.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:56 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.101.6.1: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.6.1: +3 -3 lines
Merge changes from current as of 20200406

Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun Dec 1 15:34:46 2019 UTC (5 years ago) by ad
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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, 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.103: preferred, colored
Changes since revision 1.103: +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.103: download - view: text, markup, annotated - select for diffs
Sat Nov 23 19:40:37 2019 UTC (5 years ago) by ad
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -3 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.101.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:51 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +1 -2 lines
Sync with HEAD

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

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

Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Aug 22 01:05:23 2018 UTC (6 years, 3 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.101: preferred, colored
Changes since revision 1.101: +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.94.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:48 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.94.2.2: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.2.2: +0 -6 lines
update from HEAD

Revision 1.99.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:54 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99: +1 -7 lines
Sync with HEAD

Revision 1.101: download - view: text, markup, annotated - select for diffs
Fri Jun 16 18:17:42 2017 UTC (7 years, 5 months ago) by jdolecek
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, 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
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +1 -2 lines
dumpconf(void) long doesn't exist, remove the prototype

PR kern/39714 by Henning Petersen

Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon May 22 17:12:11 2017 UTC (7 years, 6 months ago) by ragge
Branches: MAIN
CVS tags: netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +1 -6 lines
Update copyright notice for Ludd (remove clause 3 & 4).

Revision 1.94.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:27 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.94.2.1: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.2.1: +5 -3 lines
Rebase to HEAD as of a few days ago.

Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:09 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +2 -1 lines
Rebase.

Revision 1.93.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:12 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.93.2.2: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.2: +4 -3 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.99: download - view: text, markup, annotated - select for diffs
Mon May 19 22:47:54 2014 UTC (10 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: nick-nhusb
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -1 lines
Implement MI IPI interface with cross-call support.

Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:28 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +4 -3 lines
sync with head

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Nov 10 00:50:13 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -4 lines
use __unused instead of __USE and void cast to mark iterator variable unused
where needed (from phone)

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sat Nov 9 20:32:59 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -2 lines
__USE cii

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Oct 19 19:21:00 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -1 lines
make cpu_need_resched() macros consistent; __USE flags

Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:48 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +1 -2 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.93.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:29 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.93.2.1: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.1: +1 -2 lines
sync with head

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:18:13 2012 UTC (12 years, 1 month ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +1 -2 lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.85.14.1: download - view: text, markup, annotated - select for diffs
Wed Aug 22 20:59:47 2012 UTC (12 years, 3 months ago) by bouyer
Branches: netbsd-5
CVS tags: 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
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +13 -2 lines
Pull up following revision(s) (requested by abs in ticket #1780):
	sys/arch/vax/include/cpu.h: revision 1.94 via patch
Change cpu_idle to be an inline which sets IPL to 1 and then back to 0
so simh can recognize the kernel is idle.

Revision 1.93.8.1: download - view: text, markup, annotated - select for diffs
Thu Jul 12 17:07:38 2012 UTC (12 years, 5 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +13 -2 lines
Pull up following revision(s) (requested by abs in ticket #407):
	sys/arch/vax/include/cpu.h: revision 1.94
Change cpu_idle to be an inline which sets IPL to 1 and then back to 0
so simh can recognize the kernel is idle.

Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:01 2012 UTC (12 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +13 -2 lines
sync with head

Revision 1.93.6.3: download - view: text, markup, annotated - select for diffs
Tue Mar 6 18:26:39 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.93.6.2: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.6.2: +13 -2 lines
sync to -current

Revision 1.93.6.2: download - view: text, markup, annotated - select for diffs
Tue Mar 6 09:56:11 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.93.6.1: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.6.1: +2 -13 lines
sync to -current

Revision 1.93.6.1: download - view: text, markup, annotated - select for diffs
Sun Mar 4 00:46:14 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +13 -2 lines
sync to latest -current.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Feb 27 15:50:48 2012 UTC (12 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base4, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +13 -2 lines
Change cpu_idle to be an inline which sets IPL to 1 and then back to 0
so simh can recognize the kernel is idle.

Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:46 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +2 -2 lines
Catchup with rmind-uvmplock merge.

Revision 1.87.4.4: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:10 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.87.4.3: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.4.3: +1 -1 lines
sync with head

Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:58 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +5 -2 lines
Sync with HEAD.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Jun 5 16:59:21 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base5, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +2 -2 lines
device_t, cfdata_t, etc.
CFATTACH_DECL -> CFATTACH_DECL_NEW for sizeof(struct device).

Revision 1.87.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:29 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.87.4.2: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.4.2: +3 -0 lines
sync with head

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Apr 14 08:17:27 2011 UTC (13 years, 8 months ago) by matt
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -1 lines
Support LWP_PC

Revision 1.87.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:16 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.87.4.1: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.4.1: +3 -2 lines
sync with head

Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Dec 14 23:27:37 2010 UTC (14 years ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2 lines
Switch to use <sys/device_if.h>

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Nov 13 02:23:27 2010 UTC (14 years, 1 month ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base6
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -1 lines
Implement CAS using a RAS for non-MP VAX systems.  This technique uses the
atomicity of indirect addressing for correctness.  It also uses the knowledge
of dereferencing an address outside the page table length will cause a PTELEN
trap.  [Tested on netbsd-5]

Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:24 2010 UTC (14 years, 4 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +2 -2 lines
Sync with HEAD.

Revision 1.85.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:51 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.85.4.1: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.4.1: +2 -2 lines
sync with head.

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

Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu Jul 1 19:50:12 2010 UTC (14 years, 5 months ago) by ragge
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +1 -2 lines
A big bunch of bugfixes from Johnny Billquist. Highlights:
- Makes the VAX8600 work as expected (500kg of hardware :-)
- Fix a hard-tracked bug causing VAXen to hang at splhigh.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Tue Jun 22 18:29:02 2010 UTC (14 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -1 lines
Implement high priority (XC_HIGHPRI) xcall(9) mechanism - a facility
to execute functions from software interrupt context, at SOFTINT_CLOCK.
Functions must be lightweight.  Will be used for passive serialization.

OK ad@.

Revision 1.85.4.1: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:05 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -7 lines
sync with head

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Dec 12 14:44:09 2009 UTC (15 years ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -5 lines
Remove `volatile' qualifier from argument types of
struct timeval passed to todr_gettime(9) and todr_settime(9).
We no longer have an ancient and volatile struct timeval `time'
global since we have switched to MI timercounter(9) on all port.

XXX1: some of these RTC drivers still assume 32bit time_t
XXX2: some of these should be rewritten to use todr_[gs]ettime_ymdhms()
XXX3: todr(9) man page doesn't mention todr_[gs]ettime_ymdhms()

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Oct 24 20:03:56 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +1 -3 lines
Provide cpu_lwp_free* stubs in vax and powerpc.
Reported by <he>.

Revision 1.82.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:27 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +34 -48 lines
Sync with HEAD.

Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:06 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +34 -48 lines
sync with head.

Revision 1.77.10.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:25 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.77.10.2: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.10.2: +45 -49 lines
sync with HEAD

Revision 1.70.12.9: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:29 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.70.12.8: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.12.8: +29 -44 lines
sync with head.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Mar 11 05:34:02 2008 UTC (16 years, 9 months ago) by matt
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-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, 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, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, 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, netbsd-5
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +29 -36 lines
Rototill the vax code.  Switch to devicet/PRIV_ALLOC.  Cleanup vax autoconf
code.  Move to prototype definitions.  staticfy, constify, avoid casting.
Use device_* accessors.

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

Ok by martin@.

Revision 1.70.12.8: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:26 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.70.12.7: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.12.7: +9 -5 lines
sync with head.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Feb 23 05:48:13 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
CVS tags: hpcarm-cleanup-base
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -5 lines
A number of performance changes:
Change internal register SSP to contain curlwp insread curcpu().  This
shrinks the GENERIC by 2KB.
Add rwlock stubs (rw_enter, rw_exit, rw_tryenter).
Simplify simple lock code for uniprocessors.
Do SPL raise/lower in cpu_handle_ipi instead of simple_locks.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Feb 20 16:37:52 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -1 lines
Make NetBSD/vax work again.  Add support for __HAVE_FAST_SOFTINTS.
Add a few small optimizations.

Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:15 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +9 -3 lines
Sync with HEAD.

Revision 1.70.12.7: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:22:40 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.70.12.6: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.12.6: +9 -2 lines
sync with head.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Feb 3 08:31:09 2008 UTC (16 years, 10 months ago) by matt
Branches: MAIN
CVS tags: mjf-devfs-base
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +9 -2 lines
Add cpu_intr_p (checks PSL_IS in PSL).
Change badaddr to take a volatile pointer

Revision 1.70.12.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:39:59 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.70.12.5: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.12.5: +1 -2 lines
sync with head

Revision 1.77.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:49:33 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.77.10.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.10.1: +1 -2 lines
sync with HEAD

Revision 1.79.8.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:10:32 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +1 -2 lines
Sync with HEAD

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Jan 5 00:19:46 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +1 -2 lines
Don't need sys/lock.h

Revision 1.77.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:23:10 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -4 lines
sync with HEAD

Revision 1.70.12.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:28:49 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.70.12.4: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.12.4: +3 -4 lines
sync with head.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:57:48 2007 UTC (17 years, 2 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +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.76.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:38:38 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.76.2.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.1: +3 -4 lines
Sync with head.

Revision 1.77.12.1: download - view: text, markup, annotated - select for diffs
Sun Oct 7 08:33:21 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +3 -4 lines
sync with head.

Revision 1.76.10.2: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:25:37 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.76.10.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.10.1: +3 -4 lines
Sync with HEAD

Revision 1.77.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:27:47 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +3 -4 lines
Sync with HEAD.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Oct 1 21:23:02 2007 UTC (17 years, 2 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.77: preferred, colored
Changes since revision 1.77: +3 -4 lines
ci_need_resched -> ci_want_resched

Revision 1.70.12.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:30:48 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.70.12.3: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.12.3: +8 -7 lines
sync with head.

Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:02:54 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +6 -5 lines
Sync with head.

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 14:26:55 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +6 -5 lines
Sync with head.

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

Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:33 2007 UTC (17 years, 7 months ago) by yamt
Branches: MAIN
CVS tags: yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +6 -5 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.75.2.3: download - view: text, markup, annotated - select for diffs
Sat Apr 7 17:24:34 2007 UTC (17 years, 8 months ago) by matt
Branches: yamt-idlelwp
Diff to: previous 1.75.2.2: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.2: +2 -2 lines
Remove ci_exit, remove idlepcb and exitstack.

Revision 1.75.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 4 06:49:06 2007 UTC (17 years, 8 months ago) by matt
Branches: yamt-idlelwp
Diff to: previous 1.75.2.1: preferred, colored; branchpoint 1.75: preferred, colored
Changes since revision 1.75.2.1: +5 -4 lines
Not quite functional idlelwp adaption for VAX.  lwp fork works but the
kernel never seems to return/stay in usermode.

Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:51:13 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3 lines
Sync with HEAD.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:00:56 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.70.12.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:08:39 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.70.12.2: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.12.2: +7 -4 lines
sync with head.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Feb 16 01:34:02 2007 UTC (17 years, 10 months ago) by matt
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +7 -4 lines
Partially adapt the VAX port to the newlock2 changes.  These are untested
but they do at least compile.

Revision 1.70.12.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:14 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.70.12.1: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.12.1: +6 -4 lines
sync with head.

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

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

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Sep 5 19:32:57 2006 UTC (18 years, 3 months ago) by matt
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, 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
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +6 -4 lines
Switch VAX over to generic TODR

Revision 1.70.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:57:33 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -2 lines
sync with head.

Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:06 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +2 -1 lines
Sync with head.

Revision 1.72.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:33:57 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +2 -1 lines
sync with head - hopefully this will work

Revision 1.72.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:33 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -1 lines
sync with head.

Revision 1.72.12.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:11 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +2 -1 lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Mar 28 17:25:11 2006 UTC (18 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -1 lines
Add a comment indicating that the cpuid (derived from the autoconfiguration
unit number of the CPU) should be cached in the cpu_info.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:19:34 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +1 -1 lines
merge ktrace-lwp.

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

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Jul 20 17:48:17 2005 UTC (19 years, 4 months ago) by he
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -2 lines
Fixes to make GENERIC.MP build again.  Several changes:
 o Rename global variable "tramp" to "vax_mp_tramp" to avoid warning
   with -Wshadow when compiling the signal code.
 o Rename a macro-local variable _s to __s in __cpu_simple_lock()
   to avoid -Wshadow warning when MALLOC() is used (also declares _s).
 o Follow up -Wcast-qual by making a number of function arguments const char*
   where string literals are used.

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

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Sep 22 11:32:03 2004 UTC (20 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -9 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.66.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:23:43 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.2: preferred, colored
Changes since revision 1.66.2.2: +1 -1 lines
Fix the sync with head I botched.

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

Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:42:23 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +20 -8 lines
Sync with HEAD

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Mar 19 20:17:51 2004 UTC (20 years, 9 months ago) by matt
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.68: preferred, colored
Changes since revision 1.68: +9 -1 lines
Add CPU_INFO_INTERATOR/FOREACH support.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Jan 22 01:24:10 2004 UTC (20 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +12 -7 lines
Add #define cpu_lwp_free do { } while (/*CONSTCOND*/0)
(VAX systems don't need to do anything in cpu_lwp_free)

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Jan 4 11:33:31 2004 UTC (20 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +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.66: download - view: text, markup, annotated - select for diffs
Sat Mar 1 21:51:59 2003 UTC (21 years, 9 months ago) by matt
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +17 -1 lines
Add machdep sysctl support.  Support booted_device, consdev, and
printfataltraps.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Feb 27 07:14:19 2003 UTC (21 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -1 lines
Need to forward declare struct buf and struct pte for function prototypes.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Jan 18 07:10:33 2003 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4 lines
Merge the nathanw_sa branch.

Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:37:16 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.1: +1 -2 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.61.8.5: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:18:27 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.61.8.4: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.8.4: +1 -2 lines
Catch up to -current.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +1 -2 lines
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.61.8.4: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:08:50 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.8.3: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.8.3: +3 -3 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.62.4.1: download - view: text, markup, annotated - select for diffs
Sun May 19 08:02:52 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +1 -2 lines
Remove unnecessary prototype.

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

Revision 1.61.8.2: download - view: text, markup, annotated - select for diffs
Fri Mar 29 23:31:42 2002 UTC (22 years, 8 months ago) by ragge
Branches: nathanw_sa
Diff to: previous 1.61.8.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.8.1: +215 -0 lines
Initial nathanw_sa kernel support for vax.

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:13 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -2 lines
Catch up with -current.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Mar 10 22:32:31 2002 UTC (22 years, 9 months ago) by ragge
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, gehenna-devsw-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -2 lines
Major update of the vax pmap:
	- Reinstall the "dynamic page table length" that was removed some
	  years ago.
	- Limit the user page table submap to max 5% of available memory.
	- Free the page table space when a process is swapped out.
	- If the UPT submap runs out of space, throw away pmap mappings
	  using the same algorithm as for swapping processes.

As a result of this, 4MB machines are useable again and it's even possible
to compile a kernel for 2MB machines (but it will be slow... :-)

Still to do:
	- Multiprocessor fixes.
	- More profiling.

Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:38:01 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +44 -8 lines
Catch up to -current.

Revision 1.61.8.1
Thu Jun 14 22:56:58 2001 UTC (23 years, 6 months ago) by ragge
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.61: +0 -215 lines
file cpu.h was added on branch nathanw_sa on 2002-03-29 23:31:42 +0000

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jun 14 22:56:58 2001 UTC (23 years, 6 months ago) by thorpej
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, newlock-base, newlock, ifpoll-base
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -2 lines
Don't need to prototype child_return() here, it's in <sys/proc.h>.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Jun 4 21:37:12 2001 UTC (23 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -1 lines
Add rudimentary multiprocessor support for DDB.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Jun 4 15:34:15 2001 UTC (23 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2 lines
Add IPI_TBIA to flush the translation buffer.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Jun 3 15:12:57 2001 UTC (23 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +39 -6 lines
Break out the MP-dependent calls. Add definitions for the IPI functions.

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

Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue May 29 21:29:32 2001 UTC (23 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -1 lines
Add ci_cpuid.
Change the CLKF_ macros because the idle loop is now running at IPL1.

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:30:51 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.40.2.1: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.1: +2 -1 lines
Sync with HEAD.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Dec 2 17:08:32 2000 UTC (24 years ago) by ragge
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -1 lines
Add prototype.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:32:49 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +87 -42 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.54: download - view: text, markup, annotated - select for diffs
Fri Aug 25 01:04:11 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +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.53: download - view: text, markup, annotated - select for diffs
Wed Jul 26 11:55:01 2000 UTC (24 years, 4 months ago) by ragge
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -3 lines
Add badaddr() field.

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

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Jun 11 07:50:13 2000 UTC (24 years, 6 months ago) by ragge
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
Allow printf's from slave CPUs by stealing the v_putc function.
Easier than expected because the printout lock is hold in the higher levels.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Jun 10 14:59:39 2000 UTC (24 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +46 -26 lines
Code to spin up other CPUs on a VAX 8200 system.
Haven't solved the printf() problem yet, though.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Jun 2 21:47:02 2000 UTC (24 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -4 lines
Move spl macros from <machine/param.h> to <machine/intr.h>
Fix botch on my part and make the IPL_* match reality on VAX.
Redefine spl macro using the symbolic IPL_ instead of being hardcoded.
Move schedsoftnet, schedsoftclock from <machine/cpu.h> to <machine/intr.h>
Add a _setsirr macro for schedsoft*.
Add softintr function and framework.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed May 31 23:55:52 2000 UTC (24 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -2 lines
Eliminate booted_from.  extern'ed booted_device (for raidframe).  nothing
outside autoconf.c in sys/arch/vax needs to deal with booted_device).

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon May 29 20:00:56 2000 UTC (24 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +7 -33 lines
Use the cpu_info struct to store cpu-specific data in the same way in
both uniprocessor and multiprocessor environments. Use the otherwise
unused internal CPU register SSP to store the cpu_info pointer.
The macros curcpu(), curproc, cpu_number() and need_resched() are now the
same in both uniprocessor and multiprocessor environments.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat May 27 16:33:04 2000 UTC (24 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2 lines
Rewrite cpu_fork(), it now looks like and works as other ports' cpu_fork()
(calling child_return() etc...). Have fun, Jason!

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat May 27 03:23:22 2000 UTC (24 years, 6 months ago) by matt
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1 lines
This need <sys/sched.h> to compile.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri May 26 21:20:26 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +15 -8 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.44: download - view: text, markup, annotated - select for diffs
Mon May 22 15:55:52 2000 UTC (24 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -1 lines
Add prototype for findcpu in _STANDALONE.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Apr 22 08:19:49 2000 UTC (24 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -1 lines
Ops, forgot to commit this.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Mar 19 14:56:53 2000 UTC (24 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +51 -12 lines
First cut of multiprocessor support for vax. Still much to do before
other CPUs than the master can spin up.

Revision 1.40.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:11 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -1 lines
Pull up to last week's -current.

Revision 1.40.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:39:49 1999 UTC (25 years, 1 month ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -1 lines
Sync with -current

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Oct 21 20:01:36 1999 UTC (25 years, 1 month ago) by ragge
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -1 lines
Protect against multiple includes.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Sep 17 20:07:19 1999 UTC (25 years, 3 months ago) by thorpej
Branches: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -2 lines
Centralize the declaration and clearing of `cold'.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Aug 10 21:08:09 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1 lines
Define cpu_number() as discussed on tech-smp.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Aug 7 10:36:46 1999 UTC (25 years, 4 months ago) by ragge
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
Clean up all bus handling stuff, it has become a mess the latest years.
Add a new bus; "ibus" that is the internal MicroVAX bus.

Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:03:42 1999 UTC (25 years, 6 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +3 -3 lines
Sync w/ -current.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun May 23 22:56:54 1999 UTC (25 years, 6 months ago) by ragge
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1 lines
Better and more understandable way to find out CPU type.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat May 1 16:13:43 1999 UTC (25 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -2 lines
Real-time clock is started on the same way on all CPUs, there is no
need for a special CPU-dependent hook for this.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Apr 17 00:01:18 1999 UTC (25 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Use "access_type" in pmap_enter() more intelligent.
Allocate device register space bigger than the logical page size
from the kernel map, thus decreasing the pre-allocated page table memory.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Feb 2 18:37:22 1999 UTC (25 years, 10 months ago) by ragge
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +10 -1 lines
Another giant change: Allocate register space dynamic instead of compiled-in.
This is done on a physical page size basis, instead of virtual (as the
(on vax yet non-existing) bus_* routines does). This is similar to the
way uba allocation is done.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Jan 19 21:04:48 1999 UTC (25 years, 11 months ago) by ragge
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -2 lines
Allocate (almost) all interrupt vectors dynamically. Simplifies much
work when adding support for new machines and devices.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Oct 27 21:18:53 1998 UTC (26 years, 1 month ago) by matt
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -1 lines
Latent support for revamped "local bus" support.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Oct 6 20:50:18 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -2 lines
configure() prototype is in <sys/device.h>

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Oct 5 22:12:40 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -2 lines
cpu_set_kpc() prototype is already in <sys/systm.h>.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Aug 10 14:33:33 1998 UTC (26 years, 4 months ago) by ragge
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1 lines
Basic support for VS4000/60.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jun 9 14:03:24 1998 UTC (26 years, 6 months ago) by ragge
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -1 lines
#ifdef _KERNEL whole this file.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri May 22 09:49:07 1998 UTC (26 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -5 lines
Remove unnecessary code for interrupt vector handling.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Apr 13 12:12:59 1998 UTC (26 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -1 lines
Wall cleaning.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Nov 2 14:07:07 1997 UTC (27 years, 1 month ago) by ragge
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
Fix clearing of redundant restart flag; CPU specific.
Also clean up a bit.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jul 26 10:12:40 1997 UTC (27 years, 4 months ago) by ragge
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -1 lines
Actually do 'halt' or 'reboot' on MicroVAX.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Mar 15 15:09:41 1997 UTC (27 years, 9 months ago) by ragge
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -1 lines
Add definitions for DEC HW device numbers.

Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 21:18:48 1997 UTC (27 years, 9 months ago) by is
Branches: is-newarp
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +13 -6 lines
Merge in changes from Trunk

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Feb 19 10:06:03 1997 UTC (27 years, 10 months ago) by ragge
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +13 -5 lines
Basic change to cpu-config code. This will make support of new
cpu types much easier.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Feb 12 17:58:57 1997 UTC (27 years, 10 months ago) by ragge
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -2 lines
Remove bogus prototypes.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Jan 31 02:11:51 1997 UTC (27 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -5 lines
Update prototypes to match new calling convention of functions that
find the boot device.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 14 21:26:31 1997 UTC (27 years, 11 months ago) by thorpej
Branches: thorpej-setroot
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +6 -5 lines
Snapshot of work-in-progress, committed to private branch.

These changes implement machine-independent root device and file system
selection.  Notable features:

	- All ports behave in a consistent manner regarding root
	  device selection.
	- No more "options GENERIC"; all kernels have the ability
	  to boot with RB_ASKNAME to select root device and file system
	  type.
	- Root file system type can be wildcarded; a machine-independent
	  function will try all possible file systems for the selected
	  root device until one succeeds.
	- If the root file system fails to mount, the operator will
	  be given the chance to select a new root device and file
	  system type, rather than having the machine simply panic.
	- nfs_mountroot() no longer panics if any part of the NFS
	  mount process fails; it now returns an error, giving the
	  operator a chance to recover.
	- New, more consistent, config(8) grammar.  The constructs:

		config netbsd swap generic
		config netbsd root on nfs

	  have been replaced with:

		config netbsd root on ? type ?
		config netbsd root on ? type nfs

	  Additionally, the operator may select or wildcard root file
	  system type in the kernel configuration file:

		config netbsd root on cd0a type cd9660

	  config(8) now requires that a "root" specification be
	  made.  "root" may be wired down or wildcarded.  "swap" and
	  "dump" specifications are optional, and follow previous
	  semantics.

	- config(8) has a new "file-system" keyword, used to configure
	  file systems into the kernel.  Eventually, this will be used
	  to generate the default vfssw[].

	- "options NFSCLIENT" is obsolete, and is replaced by
	  "file-system NFS".  "options NFSSERVER" still exists, since
	  NFS server support is independent of the NFS file system
	  client.

	- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and
	  will be removed; all information is now generated by config(8).

As of this commit, all ports except arm32 have been updated to use
the new setroot().  Only SPARC, i386, and Alpha ports have been
tested at this time.  Port masters should test these changes on their
ports, and report any problems back to me.

More changes are on their way, including RB_ASKNAME support in
nfs_mountroot() (to prompt for server address and path) and, potentially,
the ability to select rarp/bootparam or bootp in nfs_mountroot().

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Jul 20 17:58:12 1996 UTC (28 years, 5 months ago) by ragge
Branches: MAIN
Branch point for: thorpej-setroot
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -3 lines
Numerous changes to be able to put Bertram Barth's VAXstation support in.
(Some) Support for VAXstation 2000/MicroVAX 2000, VAXstation 3100/76.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jul 11 19:33:54 1996 UTC (28 years, 5 months ago) by ragge
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -4 lines
Automatic changing of root device after boot now works.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun May 19 16:43:16 1996 UTC (28 years, 7 months ago) by ragge
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -2 lines
Fixed all (proto)type errors. Fixes PR 2377.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Apr 8 18:35:46 1996 UTC (28 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +20 -6 lines
Added prototypes to everything. Made all files compile with -Wall.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Mar 2 14:27:52 1996 UTC (28 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -3 lines
Changes due to 11/780 support. Raise splimp() to BR7.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Feb 2 18:08:20 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
Fix #includes.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Dec 13 18:57:57 1995 UTC (29 years ago) by ragge
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -3 lines
MicroVAX III support added.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jun 5 17:17:57 1995 UTC (29 years, 6 months ago) by ragge
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -2 lines
New file pcb.h. USRTEXT changed to 0x400.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri May 5 14:13:01 1995 UTC (29 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -3 lines
BROKEN_SWAP removed, swapping verified OK.
pmap_collect(pmap) added as null define.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri May 5 10:53:53 1995 UTC (29 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -3 lines
Removed cpu_set_init_frame() use.
Increased default limits of memory use, ridiculously small before.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 5 03:42:15 1995 UTC (29 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1 lines
define BROKEN_SWAP and/or cpu_swapout as appropriate.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed May 3 19:53:42 1995 UTC (29 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -4 lines
mtpr support for 11/780 added. DELAY added. mcount() corrected.
trapframe fixed to support all registers.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Mar 30 20:42:55 1995 UTC (29 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -4 lines
Some bug fixes & update of pcb.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Feb 23 17:51:41 1995 UTC (29 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -2 lines
Def's for uVAXII added.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Feb 13 00:43:20 1995 UTC (29 years, 10 months ago) by ragge
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +19 -27 lines
Lots of fixes...

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Nov 25 19:08:50 1994 UTC (30 years ago) by ragge
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -20 lines
Lots of updates & fixes.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Oct 26 08:02:02 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -3 lines
new RCS ID format.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Oct 8 15:43:54 1994 UTC (30 years, 2 months ago) by ragge
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -2 lines
Changes to make files more 4.4/1.0B working.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 2 20:20:14 1994 UTC (30 years, 4 months ago) by ragge
Branches: netbsd-1-0
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +105 -0 lines
Initial VAX port merging.

Revision 1.1.2.1
Tue Aug 2 20:20:13 1994 UTC (30 years, 4 months ago) by ragge
Branches: netbsd-1-0
FILE REMOVED
Changes since revision 1.1: +0 -105 lines
file cpu.h was added on branch netbsd-1-0 on 1994-08-02 20:20:14 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Aug 2 20:20:13 1994 UTC (30 years, 4 months ago) by ragge
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Branch point for: netbsd-1-0
Initial VAX port merging.

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>