The NetBSD Project

CVS log for src/sys/arch/next68k/next68k/machdep.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.121 / (download) - annotate - [select for diffs], Wed Dec 20 00:40:44 2023 UTC (2 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.120: +2 -3 lines
Diff to previous 1.120 (colored)

Remove unnecessary <sys/malloc.h> include.

Revision 1.116.4.2 / (download) - annotate - [select for diffs], Sun Feb 12 11:48:56 2023 UTC (12 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.116.4.1: +15 -33 lines
Diff to previous 1.116.4.1 (colored) to branchpoint 1.116 (colored) next main 1.117 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #77):

	sys/arch/next68k/include/vmparam.h: revision 1.29
	sys/arch/next68k/next68k/machdep.c: revision 1.118
	sys/arch/next68k/include/param.h: revision 1.13
	sys/arch/next68k/next68k/pmap_bootstrap.c: revision 1.45
	sys/arch/next68k/next68k/locore.s: revision 1.70
	sys/arch/next68k/next68k/locore.s: revision 1.71

Use explicit CPU strings and remove hp300 derived stuff.

Remove #ifdef'ed out hp300 specific stuff.

Remove leftover "last kernel PT page" settings derived from hp300.

Whilehere, also remove VM definitions for obsolete COMPAT_HPUX stuff.

All hp300 machines has RAMs at a region from the highest address
i.e. 0xFFFFFFFF to smaller address (as HP claims "it's the MSB first"),
so kernels have to prepare PA==KVA mappings as the "last PT page" to
guarantee the running kernel works both before and after the MMU is
turned on.  For such a special mapping, we have to set up necessary
segment table and page table during early startup, in pmap_bootstrap()
invoked from locore.s.

On the other hand, NeXT machines have RAMs at a region from 0x40000000
to below (i.e. to larger address) so we still need a PA==KVA mapping.
However currently NetBSD/next68k just uses the transparent translation
registers to achieve the PA==KVA mapping, so unlike hp300 we don't have
to prepare special segment table and page table for it.

Note many other m68k ports (like luna68k, news68k, x68k etc.) have
RAMs at a region from 0x00000000 so usually we can assume PA==KVA
and don't have to bother to prepare such speicial mappings.

No user visible changes (except now freed wasted pages for the tables).

Tested on my NeXTstation slab.

Revision 1.112.4.2 / (download) - annotate - [select for diffs], Sun Feb 12 11:47:10 2023 UTC (12 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.112.4.1: +15 -33 lines
Diff to previous 1.112.4.1 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1590):

	sys/arch/next68k/include/vmparam.h: revision 1.29
	sys/arch/next68k/next68k/machdep.c: revision 1.118
	sys/arch/next68k/include/param.h: revision 1.13
	sys/arch/next68k/next68k/pmap_bootstrap.c: revision 1.45
	sys/arch/next68k/next68k/locore.s: revision 1.70
	sys/arch/next68k/next68k/locore.s: revision 1.71

Use explicit CPU strings and remove hp300 derived stuff.

Remove #ifdef'ed out hp300 specific stuff.

Remove leftover "last kernel PT page" settings derived from hp300.

Whilehere, also remove VM definitions for obsolete COMPAT_HPUX stuff.

All hp300 machines has RAMs at a region from the highest address
i.e. 0xFFFFFFFF to smaller address (as HP claims "it's the MSB first"),
so kernels have to prepare PA==KVA mappings as the "last PT page" to
guarantee the running kernel works both before and after the MMU is
turned on.  For such a special mapping, we have to set up necessary
segment table and page table during early startup, in pmap_bootstrap()
invoked from locore.s.

On the other hand, NeXT machines have RAMs at a region from 0x40000000
to below (i.e. to larger address) so we still need a PA==KVA mapping.
However currently NetBSD/next68k just uses the transparent translation
registers to achieve the PA==KVA mapping, so unlike hp300 we don't have
to prepare special segment table and page table for it.

Note many other m68k ports (like luna68k, news68k, x68k etc.) have
RAMs at a region from 0x00000000 so usually we can assume PA==KVA
and don't have to bother to prepare such speicial mappings.

No user visible changes (except now freed wasted pages for the tables).

Tested on my NeXTstation slab.

Revision 1.120 / (download) - annotate - [select for diffs], Sat Feb 4 14:38:09 2023 UTC (12 months, 3 weeks ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.119: +5 -5 lines
Diff to previous 1.119 (colored)

Remove trailing spaces and TABs.

Revision 1.119 / (download) - annotate - [select for diffs], Fri Feb 3 23:21:18 2023 UTC (12 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.118: +5 -5 lines
Diff to previous 1.118 (colored)

Use proper C99 int types.

Revision 1.118 / (download) - annotate - [select for diffs], Fri Feb 3 22:57:05 2023 UTC (12 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.117: +15 -33 lines
Diff to previous 1.117 (colored)

Use explicit CPU strings and remove hp300 derived stuff.

Revision 1.112.4.1 / (download) - annotate - [select for diffs], Wed Feb 1 18:56:44 2023 UTC (12 months, 3 weeks ago) by martin
Branch: netbsd-9
Changes since 1.112: +18 -7 lines
Diff to previous 1.112 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1581):

	sys/arch/next68k/next68k/machdep.c: revision 1.117
	sys/arch/next68k/dev/esp.c: revision 1.65
	sys/arch/next68k/include/cpu.h: revision 1.51
	sys/arch/next68k/include/bus_space.h: revision 1.20
	sys/arch/next68k/next68k/clock.c: revision 1.13

next68k: Fix delay_divisor value for proper delay(9) on 68040.

next68k: Specify proper constraints for bus_space_read region and multi ops.

These functions write the read data into memory at a specified pointer,
but without the "memory" constraint gcc could optimize out these ops
if the memory is allocated on local stack.

With this fix nextkbd(4) works again.
Should be pulled up to netbsd-10 and netbsd-9.

next68k: Fix silent stall of next68k esp(4) SCSI.

next68k esp(4) driver requires nextdma(4) interrupts at ipl 6
during ncr53c9x_intr() for esp(4) at ipl 3.  It worked on netbsd-5
and prior, but on netbsd-5 splbio() was changed from ipl 3 to 6
for SMP support and on netbsd-6 ncr53c9x driver was changed to
use mutex(9) instead of simple_lock(9), so nextdma interrupts
were no longer raised during ncr53c9x interrupt handler.

For now, just call mutex_exit(9) and mutex_enter(9) during
waiting nextdma(4) interrupts in MD esp_dma_intr() handler.

This could be wrong and the interrupt handler for nextdma should
be reorganized, but it just works.

Should be pulled up to netbsd-10 and netbsd-9.

Revision 1.116.4.1 / (download) - annotate - [select for diffs], Wed Feb 1 18:55:11 2023 UTC (12 months, 3 weeks ago) by martin
Branch: netbsd-10
Changes since 1.116: +18 -7 lines
Diff to previous 1.116 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #63):

	sys/arch/next68k/next68k/machdep.c: revision 1.117
	sys/arch/next68k/dev/esp.c: revision 1.65
	sys/arch/next68k/include/cpu.h: revision 1.51
	sys/arch/next68k/include/bus_space.h: revision 1.20
	sys/arch/next68k/next68k/clock.c: revision 1.13

next68k: Fix delay_divisor value for proper delay(9) on 68040.

next68k: Specify proper constraints for bus_space_read region and multi ops.

These functions write the read data into memory at a specified pointer,
but without the "memory" constraint gcc could optimize out these ops
if the memory is allocated on local stack.

With this fix nextkbd(4) works again.
Should be pulled up to netbsd-10 and netbsd-9.

next68k: Fix silent stall of next68k esp(4) SCSI.

next68k esp(4) driver requires nextdma(4) interrupts at ipl 6
during ncr53c9x_intr() for esp(4) at ipl 3.  It worked on netbsd-5
and prior, but on netbsd-5 splbio() was changed from ipl 3 to 6
for SMP support and on netbsd-6 ncr53c9x driver was changed to
use mutex(9) instead of simple_lock(9), so nextdma interrupts
were no longer raised during ncr53c9x interrupt handler.

For now, just call mutex_exit(9) and mutex_enter(9) during
waiting nextdma(4) interrupts in MD esp_dma_intr() handler.

This could be wrong and the interrupt handler for nextdma should
be reorganized, but it just works.

Should be pulled up to netbsd-10 and netbsd-9.

Revision 1.117 / (download) - annotate - [select for diffs], Fri Jan 27 15:21:52 2023 UTC (13 months ago) by tsutsui
Branch: MAIN
Changes since 1.116: +18 -7 lines
Diff to previous 1.116 (colored)

next68k: Fix delay_divisor value for proper delay(9) on 68040.

Revision 1.116 / (download) - annotate - [select for diffs], Sat Oct 9 20:00:42 2021 UTC (2 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.115: +4 -2 lines
Diff to previous 1.115 (colored)

Call cnpollc(9) before cngetc(9) as the cons(9) man page says.

Currently most ports do nothing in cnpollc(9), but this is required to
handle wskbd(9) .set_leds op in cngetc(9) properly, at least on luna68k.

Revision 1.115 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:44 2020 UTC (3 years, 8 months ago) by ad
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.114: +3 -3 lines
Diff to previous 1.114 (colored)

uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched.  It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.

Revision 1.111.30.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:48 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.111.30.1: +3 -3 lines
Diff to previous 1.111.30.1 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

Merge changes from current as of 20200406

Revision 1.114 / (download) - annotate - [select for diffs], Tue Dec 31 13:07:11 2019 UTC (4 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.113: +3 -3 lines
Diff to previous 1.113 (colored)

Rename uvm_free() -> uvm_availmem().

Revision 1.113 / (download) - annotate - [select for diffs], Sat Dec 21 13:00:22 2019 UTC (4 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored)

uvmexp.free -> uvm_free()

Revision 1.111.30.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:35 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.111: +2 -13 lines
Diff to previous 1.111 (colored)

Sync with HEAD

Revision 1.112 / (download) - annotate - [select for diffs], Thu Mar 14 16:59:10 2019 UTC (4 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.111: +2 -13 lines
Diff to previous 1.111 (colored)

G/C "MAPPECOPY".  It is the deadest of wood, and never actually worked in
NetBSD.

Revision 1.111.20.1 / (download) - annotate - [select for diffs], Thu Apr 27 05:36:33 2017 UTC (6 years, 10 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.111: +13 -4 lines
Diff to previous 1.111 (colored) next main 1.112 (colored)

Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.111.10.1 / (download) - annotate - [select for diffs], Wed Jul 20 23:50:55 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.111: +13 -4 lines
Diff to previous 1.111 (colored) next main 1.112 (colored)

Adapt the machine/arch dependent code to the new {b,c}devsw reference
counting.

XXX Most of these will require testing by someone other than myself, as
I have a limited selection of hardware!

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:17 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.109: +22 -27 lines
Diff to previous 1.109 (colored) next main 1.110 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.105.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:01 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.105.2.2: +22 -27 lines
Diff to previous 1.105.2.2 (colored) to branchpoint 1.105 (colored) next main 1.106 (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.109.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:20 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.109: +22 -27 lines
Diff to previous 1.109 (colored) next main 1.110 (colored)

sync with head

Revision 1.111 / (download) - annotate - [select for diffs], Mon Mar 24 20:01:03 2014 UTC (9 years, 11 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, 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-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, 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: prg-localcount2, phil-wifi, pgoyette-localcount
Changes since 1.110: +4 -13 lines
Diff to previous 1.110 (colored)

- use cpu_{g,s}etmodel
- fix unused

Revision 1.110 / (download) - annotate - [select for diffs], Mon Mar 24 19:58:04 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.109: +30 -26 lines
Diff to previous 1.109 (colored)

fix typo.

Revision 1.105.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:07 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.105.2.1: +4 -10 lines
Diff to previous 1.105.2.1 (colored) to branchpoint 1.105 (colored)

sync with head

Revision 1.109 / (download) - annotate - [select for diffs], Sat Aug 11 01:21:04 2012 UTC (11 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.108: +4 -3 lines
Diff to previous 1.108 (colored)

Sprinkle extern to appease gcc -fno-common.

Revision 1.108 / (download) - annotate - [select for diffs], Sat Jul 28 19:08:24 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.107: +2 -3 lines
Diff to previous 1.107 (colored)

Remove declartions of physmem

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jul 27 05:36:11 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.106: +2 -8 lines
Diff to previous 1.106 (colored)

Remove safepri and use IPL_SAFEPRI instead.  This may be defined in a MD
header file (if not, a value of 0 is assmued).

Revision 1.105.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:44 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.105: +3 -11 lines
Diff to previous 1.105 (colored)

sync with head

Revision 1.105.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:32:49 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.105: +3 -11 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

merge to -current.

Revision 1.106 / (download) - annotate - [select for diffs], Mon Dec 12 19:03:11 2011 UTC (12 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, 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, 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
Changes since 1.105: +3 -11 lines
Diff to previous 1.105 (colored)

implement bdev_size(9) wrapper around d_psize() routine, so we can take
the device lock in relevant places.  avoid doing so while actually dumping.

tested i386 crash dumps still work, and that all touched files compile.

fixes PR#45705.

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:25 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.104: +11 -2 lines
Diff to previous 1.104 (colored) next main 1.105 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.105 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:45 2011 UTC (12 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.104: +11 -2 lines
Diff to previous 1.104 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.99.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:20 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.99: +4 -79 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

Sync with HEAD.

Revision 1.98.2.5 / (download) - annotate - [select for diffs], Tue May 31 03:04:12 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.98.2.4: +0 -37 lines
Diff to previous 1.98.2.4 (colored) to branchpoint 1.98 (colored) next main 1.99 (colored)

sync with head

Revision 1.104 / (download) - annotate - [select for diffs], Mon May 16 13:22:55 2011 UTC (12 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.103: +2 -36 lines
Diff to previous 1.103 (colored)

- merge and move pasted m68k MD setreg() functions into m68k/m68k_machdep.c
- move m68881_save() and m68881_restore() declarations into <m68k/m68k.h>

Briefly tested and no obvious breakage on atari, sun3, and x68k.

Revision 1.103 / (download) - annotate - [select for diffs], Tue May 10 14:45:28 2011 UTC (12 years, 9 months ago) by tsutsui
Branch: MAIN
Changes since 1.102: +2 -5 lines
Diff to previous 1.102 (colored)

Move isrinit() call from early next68k_init() to cpu_configure(9)
since interrupt service routines would want evcnt(9).

Revision 1.98.2.4 / (download) - annotate - [select for diffs], Sun Mar 6 00:26:58 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.98.2.3: +1 -1 lines
Diff to previous 1.98.2.3 (colored) to branchpoint 1.98 (colored)

sync with head (and fix few botches with this)

Revision 1.98.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:27 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.98.2.2: +15 -42 lines
Diff to previous 1.98.2.2 (colored) to branchpoint 1.98 (colored)

sync with head

Revision 1.102 / (download) - annotate - [select for diffs], Sat Mar 5 19:04:58 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

p_psstr -> p_psstrp

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Thu Feb 17 11:59:53 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.100: +3 -42 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

Sync with HEAD

Revision 1.101 / (download) - annotate - [select for diffs], Tue Feb 8 20:20:21 2011 UTC (13 years ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.100: +3 -42 lines
Diff to previous 1.100 (colored)

Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Jan 17 14:53:43 2011 UTC (13 years, 1 month ago) by tsutsui
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.99: +3 -2 lines
Diff to previous 1.99 (colored)

Explicitly include <machine/pcb.h> for struct pcb.

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:28 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.97.2.1: +11 -0 lines
Diff to previous 1.97.2.1 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Sync with HEAD (-D20101022).

Revision 1.99 / (download) - annotate - [select for diffs], Sat Oct 16 17:10:44 2010 UTC (13 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.98: +13 -2 lines
Diff to previous 1.98 (colored)

Prepare empty module_init_md() for options MODULAR for all other m68k ports.

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:40 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.97: +2 -10 lines
Diff to previous 1.97 (colored)

Sync with HEAD.

Revision 1.98.2.2 / (download) - annotate - [select for diffs], Sun Apr 25 15:27:37 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.98.2.1: +3 -5 lines
Diff to previous 1.98.2.1 (colored) to branchpoint 1.98 (colored)

- Invent mm_md_getva() and mm_md_relva() routines, provided by MD and
  indicated with __HAVE_MM_MD_PREFER_VA.  It will be used to deal with
  cache aliasing issues and thus fix little MIPS, ARM and friends.

- Convert dev_mem_readwrite() to use unmanaged mappings.  Fix a missed
  offset addition in a case of direct map.  Sprinkle various comments in
  the memory device driver.

- Add missing direct map handling on hp700 and vax.  Make checks across
  m68k ports more consistent, reduce the diffs.  Fix kernacc check miss
  on news68k.  Minor off-by-one fix for alpha.  Add MEMC_PHYS_BASE for
  mmap() case check on acorn26.  Misc clean-up.

Revision 1.98.2.1 / (download) - annotate - [select for diffs], Thu Mar 18 04:36:51 2010 UTC (13 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.98: +13 -2 lines
Diff to previous 1.98 (colored)

Unify /dev/{mem,kmem,zero,null} implementations in MI code.  Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.

Revision 1.83.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:46 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.83.10.2: +10 -17 lines
Diff to previous 1.83.10.2 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

sync with head

Revision 1.98 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:30 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.97: +2 -10 lines
Diff to previous 1.97 (colored)

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.

Revision 1.97 / (download) - annotate - [select for diffs], Thu Dec 10 14:13:51 2009 UTC (14 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.96: +3 -3 lines
Diff to previous 1.96 (colored)

Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly
involves setregs and vmcmds).  Should result in no code differences.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Nov 23 00:11:45 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.95: +8 -7 lines
Diff to previous 1.95 (colored)

Use lwp_getpcb() on m68k ports, clean from struct user usage.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Oct 26 19:16:57 2009 UTC (14 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

kill extra whitespaces
reviewed by tsutsui@

Revision 1.83.10.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:37 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.83.10.1: +3 -2 lines
Diff to previous 1.83.10.1 (colored) to branchpoint 1.83 (colored)

sync with head.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Aug 15 23:44:59 2009 UTC (14 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.93: +3 -2 lines
Diff to previous 1.93 (colored)

Include <sys/exec_aout.h> explicitly instead of relying on <sys/exec.h> to
do it for us.

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:11 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.90: +5 -4 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.83.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:39 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.83: +11 -18 lines
Diff to previous 1.83 (colored)

sync with head.

Revision 1.85.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:31 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.85.2.2: +4 -4 lines
Diff to previous 1.85.2.2 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

Sync with HEAD.

Revision 1.93 / (download) - annotate - [select for diffs], Wed Mar 18 17:06:46 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored)

bcopy -> memcpy

Revision 1.92 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:13 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

bzero -> memset

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:05 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.85.2.1: +3 -2 lines
Diff to previous 1.85.2.1 (colored) to branchpoint 1.85 (colored)

Sync with HEAD.

Revision 1.91 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:02 2009 UTC (15 years ago) by apb
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.90: +3 -2 lines
Diff to previous 1.90 (colored)

Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Mon Feb 2 03:30:33 2009 UTC (15 years, 1 month ago) by snj
Branch: 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, 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-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Pull up following revision(s) (requested by ad in ticket #346):
	sys/arch/alpha/alpha/machdep.c: revision 1.311
	sys/arch/amiga/amiga/machdep.c: revision 1.211
	sys/arch/atari/atari/machdep.c: revision 1.153
	sys/arch/hp700/hp700/machdep.c: revision 1.53
	sys/arch/i386/i386/dumpsys.c: revision 1.5
	sys/arch/mips/mips/mips_machdep.c: revision 1.206
	sys/arch/mvme68k/mvme68k/machdep.c: revision 1.132
	sys/arch/news68k/news68k/machdep.c: revision 1.75
	sys/arch/next68k/next68k/machdep.c: revision 1.88
	sys/arch/sparc/sparc/machdep.c: revision 1.285
	sys/arch/sparc64/sparc64/machdep.c: revision 1.230
	sys/arch/sun2/sun2/machdep.c: revision 1.56
	sys/arch/sun3/sun3/machdep.c: revision 1.188
	sys/arch/sun3/sun3x/machdep.c: revision 1.114
	sys/arch/x68k/x68k/machdep.c: revision 1.153
dumpsys: don't spew numbers into the log.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:36 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.85: +8 -6 lines
Diff to previous 1.85 (colored)

Sync with HEAD.

Revision 1.83.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:23 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.83.6.2: +6 -4 lines
Diff to previous 1.83.6.2 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

Sync with HEAD.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Jan 12 07:57:55 2009 UTC (15 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

use PRIx64 format to printf type dev_t

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:19 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.84.2.1: +7 -5 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:35 2008 UTC (15 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored)

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.

Revision 1.88 / (download) - annotate - [select for diffs], Tue Nov 25 15:51:34 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

dumpsys: don't spew numbers into the log.

Revision 1.87 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:05 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:43 2008 UTC (15 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.85: +4 -2 lines
Diff to previous 1.85 (colored)

It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks().  Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown().  No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown().  I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that.  Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:54 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.84: +2 -5 lines
Diff to previous 1.84 (colored)

Sync with HEAD.

Revision 1.83.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:05 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.83.6.1: +0 -3 lines
Diff to previous 1.83.6.1 (colored) to branchpoint 1.83 (colored)

Sync with HEAD.

Revision 1.83.12.4 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:50 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.83.12.3: +2 -5 lines
Diff to previous 1.83.12.3 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.83.12.3 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:31 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.83.12.2: +2 -9 lines
Diff to previous 1.83.12.2 (colored) to branchpoint 1.83 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Sep 14 15:03:17 2008 UTC (15 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, netbsd-5-base, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.84: +2 -5 lines
Diff to previous 1.84 (colored)

Remove ancient workaround hacks for gcc 2.7.2.

Revision 1.83.14.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:54 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.83: +2 -9 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with head.

Revision 1.83.6.1 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:17 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.83: +2 -9 lines
Diff to previous 1.83 (colored)

Sync with HEAD.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:56 2008 UTC (15 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.83: +2 -9 lines
Diff to previous 1.83 (colored)

Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.83.12.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:00 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.83.12.1: +2 -3 lines
Diff to previous 1.83.12.1 (colored) to branchpoint 1.83 (colored)

Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.83.12.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:45 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.83: +3 -2 lines
Diff to previous 1.83 (colored)

Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:53 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.82: +2 -7 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Sync with HEAD.

Revision 1.72.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:37:59 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.72.2.4: +2 -7 lines
Diff to previous 1.72.2.4 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

sync with head

Revision 1.81.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:47:35 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.81.10.1: +2 -7 lines
Diff to previous 1.81.10.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

sync with HEAD

Revision 1.82.8.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:48:54 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.82: +2 -7 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Sync with HEAD

Revision 1.83 / (download) - annotate - [select for diffs], Mon Dec 31 13:38:52 2007 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Changes since 1.82: +2 -7 lines
Diff to previous 1.82 (colored)

Remove COMPAT_HPUX.

Revision 1.81.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:19:51 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

sync with HEAD

Revision 1.82 / (download) - annotate - [select for diffs], Wed Oct 17 19:56:04 2007 UTC (16 years, 4 months ago) by garbled
Branch: 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
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (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.72.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:28:30 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.72.2.3: +11 -12 lines
Diff to previous 1.72.2.3 (colored) to branchpoint 1.72 (colored)

sync with head.

Revision 1.80.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:01:08 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Sync with head.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:54 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Sync with head.

Revision 1.80.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:18 2007 UTC (16 years, 9 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Update to HEAD.

Revision 1.81 / (download) - annotate - [select for diffs], Mon May 21 15:06:19 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Adapt rest of m68k ports to yamt-idlelwp. Compile tested only.

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:49:44 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.77: +10 -11 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Sync with HEAD.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Mar 5 12:50:17 2007 UTC (17 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.79: +2 -3 lines
Diff to previous 1.79 (colored)

Allocate msgbufaddr in pmap_bootstrap.c where it's initilized,
and move its declaration into <m68k/pmap_motorola.h>.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:27 2007 UTC (17 years ago) by christos
Branch: MAIN
Changes since 1.78: +8 -8 lines
Diff to previous 1.78 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.78 / (download) - annotate - [select for diffs], Wed Feb 28 04:21:55 2007 UTC (17 years ago) by thorpej
Branch: MAIN
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored)

TRUE -> true, FALSE -> false

Revision 1.72.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:41 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.72.2.2: +2 -5 lines
Diff to previous 1.72.2.2 (colored) to branchpoint 1.72 (colored)

sync with head.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:07 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.76: +2 -3 lines
Diff to previous 1.76 (colored)

Merge newlock2 to head.

Revision 1.74.20.3 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:10 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.74.20.2: +2 -4 lines
Diff to previous 1.74.20.2 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

Sync with head.

Revision 1.74.20.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:36 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.74.20.1: +2 -3 lines
Diff to previous 1.74.20.1 (colored) to branchpoint 1.74 (colored)

Remove support for SA. Ok core@.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jan 24 13:08:14 2007 UTC (17 years, 1 month ago) by hubertf
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.75: +2 -4 lines
Diff to previous 1.75 (colored)

Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:40 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.72.2.1: +6 -4 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored)

sync with head.

Revision 1.74.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:27 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.74: +6 -4 lines
Diff to previous 1.74 (colored)

Sync with head.

Revision 1.74.22.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:53 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.74: +6 -4 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Sat Oct 21 05:54:32 2006 UTC (17 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.74: +6 -4 lines
Diff to previous 1.74 (colored)

in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
dumpdev.  this occurs when we try to set the dumpdev to a device
with no driver loaded.  this fixes PR#34872.

in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf().  (this also fixes PR#34872.)

XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.

XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:54:24 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.72: +10 -8 lines
Diff to previous 1.72 (colored)

sync with head.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:29 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, 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, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

merge ktrace-lwp.

Revision 1.61.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 13:57:58 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.61.2.6: +10 -8 lines
Diff to previous 1.61.2.6 (colored) next main 1.62 (colored)

Sync with HEAD. Here we go again...

Revision 1.72.4.1 / (download) - annotate - [select for diffs], Wed Nov 2 11:57:55 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-vop
Changes since 1.72: +9 -7 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

sync with head.

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Tue Nov 1 22:33:25 2005 UTC (18 years, 4 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.71: +9 -7 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Pull up following revision(s) (requested by chs in ticket #923):
	sys/arch/next68k/next68k/machdep.c: revision 1.73
	sys/arch/luna68k/luna68k/machdep.c: revision 1.42
	sys/arch/hp300/hp300/machdep.c: revision 1.184
	sys/arch/amiga/amiga/machdep.c: revision 1.193
	sys/arch/x68k/x68k/machdep.c: revision 1.129
	sys/arch/mac68k/mac68k/machdep.c: revision 1.306
	sys/arch/news68k/news68k/machdep.c: revision 1.61
	sys/arch/mvme68k/mvme68k/machdep.c: revision 1.113
	sys/arch/atari/atari/atari_init.c: revision 1.63
fix crash dumps on m68k platforms, cpu_kcore_hdr_t is larger than
512 bytes now so we need a bigger buffer.  PR 26958.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Oct 30 15:49:39 2005 UTC (18 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.72: +9 -7 lines
Diff to previous 1.72 (colored)

fix crash dumps on m68k platforms, cpu_kcore_hdr_t is larger than
512 bytes now so we need a bigger buffer.  PR 26958.

Revision 1.69.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:18 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.69: +44 -79 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

sync with -current

Revision 1.72 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:06 2005 UTC (18 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr, kent-audio2-base
Branch point for: yamt-vop, yamt-lazymbuf
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.

Revision 1.61.2.6 / (download) - annotate - [select for diffs], Tue Feb 15 21:32:50 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.61.2.5: +2 -23 lines
Diff to previous 1.61.2.5 (colored)

Sync with HEAD.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:38 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.70: +2 -23 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

sync with head.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Feb 11 15:03:56 2005 UTC (19 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.70: +2 -23 lines
Diff to previous 1.70 (colored)

remove uvm_map_protect from cpu_startup of several ports.
- they shouldn't be needed with the current fault handler.
- they causes assertion failure with the recent vm_map implementation.

discussed on tech-kern@.  reviewed by Chuck Silvers.
PR/29179 from Julio M. Merino Vidal.

Revision 1.61.2.5 / (download) - annotate - [select for diffs], Mon Jan 24 08:34:18 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.61.2.4: +43 -57 lines
Diff to previous 1.61.2.4 (colored)

Sync with HEAD.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Jan 19 01:58:21 2005 UTC (19 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km
Changes since 1.69: +43 -57 lines
Diff to previous 1.69 (colored)

de-__P, remove register, ansify.

Revision 1.61.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:19:43 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.61.2.3: +4 -4 lines
Diff to previous 1.61.2.3 (colored)

Fix the sync with head I botched.

Revision 1.61.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:38:17 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.61.2.2: +3 -3 lines
Diff to previous 1.61.2.2 (colored)

Sync with HEAD.

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:38:39 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.61.2.1: +55 -93 lines
Diff to previous 1.61.2.1 (colored)

Sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:51 2004 UTC (19 years, 11 months ago) by atatat
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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.68: +6 -4 lines
Diff to previous 1.68 (colored)

Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.68 / (download) - annotate - [select for diffs], Wed Mar 24 02:20:09 2004 UTC (19 years, 11 months ago) by dbj
Branch: MAIN
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

move my copyright statement up to new berkeley license

Revision 1.67 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:16 2004 UTC (20 years ago) by wiz
Branch: MAIN
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:18 2003 UTC (20 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.65: +3 -63 lines
Diff to previous 1.65 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:22 2003 UTC (20 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.64: +11 -29 lines
Diff to previous 1.64 (colored)

Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Sep 27 20:01:58 2003 UTC (20 years, 5 months ago) by cl
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63 (colored)

Cast through (void *) to appease gcc3.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Aug 7 16:28:56 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.62: +38 -3 lines
Diff to previous 1.62 (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.62 / (download) - annotate - [select for diffs], Tue Jul 15 02:59:33 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.61: +4 -1 lines
Diff to previous 1.61 (colored)

__KERNEL_RCSID()

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:27 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:43 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:02 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.59 / (download) - annotate - [select for diffs], Sat May 10 21:10:35 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.58: +21 -0 lines
Diff to previous 1.58 (colored)

Back out the following chagne:
    http://mail-index.netbsd.org/source-changes/2003/05/08/0068.html

There were some side-effects that I didn't anticipate, and fixing them
is proving to be more difficult than I thought, do just eject for now.
Maybe one day we can look at this again.

Fixes PR kern/21517.

Revision 1.58 / (download) - annotate - [select for diffs], Thu May 8 18:13:20 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +1 -22 lines
Diff to previous 1.57 (colored)

Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.

This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).

Revision 1.57 / (download) - annotate - [select for diffs], Sat Apr 26 11:05:17 2003 UTC (20 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.56: +7 -4 lines
Diff to previous 1.56 (colored)

Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.56 / (download) - annotate - [select for diffs], Wed Apr 2 02:34:13 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.55: +13 -13 lines
Diff to previous 1.55 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jan 18 06:09:55 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.54: +13 -9 lines
Diff to previous 1.54 (colored)

Merge the nathanw_sa branch.

Revision 1.45.4.12 / (download) - annotate - [select for diffs], Fri Oct 18 02:39:16 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.45.4.11: +1 -3 lines
Diff to previous 1.45.4.11 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Catch up to -current.

Revision 1.44.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:34:41 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.2.4: +16 -13 lines
Diff to previous 1.44.2.4 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.45.4.11 / (download) - annotate - [select for diffs], Sat Oct 5 06:41:11 2002 UTC (21 years, 5 months ago) by gmcgarry
Branch: nathanw_sa
Changes since 1.45.4.10: +2 -2 lines
Diff to previous 1.45.4.10 (colored) to branchpoint 1.45 (colored)

LWPify

Revision 1.54 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:16 2002 UTC (21 years, 5 months ago) by thorpej
Branch: 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
Changes since 1.53: +1 -2 lines
Diff to previous 1.53 (colored)

Don't include <sys/map.h>.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Sep 19 10:38:03 2002 UTC (21 years, 5 months ago) by ragge
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52 (colored)

Do not include <sys/clist.h>, it's not used in NetBSD at all.

Revision 1.45.4.10 / (download) - annotate - [select for diffs], Tue Sep 17 21:16:40 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.9: +16 -11 lines
Diff to previous 1.45.4.9 (colored) to branchpoint 1.45 (colored)

Catch up to -current.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Sep 11 01:46:34 2002 UTC (21 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.51: +6 -5 lines
Diff to previous 1.51 (colored)

Comprehensive patches from Christian Limpach:
* Fix problems with the DMA and SCSI drivers.
* Make turbo machines sort of work.
Additional fixes from me:
* Determine if we're a turbo at boot time, by looking at the ROM machine type.
* Set the display size correctly (1120 pixels wide, but padded to 1152 only on
  non-turbo machines).
Caveats:
* SCSI doesn't work on the turbo (or at least it blows chunks with no devices
  attached).
* Media selection doesn't work on the turbo (the BMAP stuff doesn't exist on
  turbo machines).
* The boot block is prone to timing out.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 5 months ago) by gehenna
Branch: MAIN
Changes since 1.50: +11 -7 lines
Diff to previous 1.50 (colored)

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.44.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:38:28 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.2.3: +3 -4 lines
Diff to previous 1.44.2.3 (colored) to branchpoint 1.44 (colored)

sync kqueue branch with HEAD

Revision 1.47.4.3 / (download) - annotate - [select for diffs], Sat Aug 31 13:45:33 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.47.4.2: +3 -4 lines
Diff to previous 1.47.4.2 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

catch up with -current.

Revision 1.45.4.9 / (download) - annotate - [select for diffs], Tue Aug 27 23:44:58 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.8: +3 -4 lines
Diff to previous 1.45.4.8 (colored) to branchpoint 1.45 (colored)

Catch up to -current.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Aug 25 20:21:40 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.49: +3 -4 lines
Diff to previous 1.49 (colored)

Make nbuf, nswbuf, and bufpages unsigned.  Make all operations on these
variables unsigned, and update places where their values are printed.

Revision 1.45.4.8 / (download) - annotate - [select for diffs], Fri Jul 12 01:39:41 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.7: +1 -2 lines
Diff to previous 1.45.4.7 (colored) to branchpoint 1.45 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.45.4.7 / (download) - annotate - [select for diffs], Mon Jun 24 22:06:41 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.6: +3 -3 lines
Diff to previous 1.45.4.6 (colored) to branchpoint 1.45 (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.44.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:39:00 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.2.2: +13 -3 lines
Diff to previous 1.44.2.2 (colored) to branchpoint 1.44 (colored)

catch up with -current on kqueue branch

Revision 1.45.4.6 / (download) - annotate - [select for diffs], Thu Jun 20 03:40:23 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.5: +12 -2 lines
Diff to previous 1.45.4.5 (colored) to branchpoint 1.45 (colored)

Catch up to -current.

Revision 1.47.4.2 / (download) - annotate - [select for diffs], Thu May 30 15:34:13 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.47.4.1: +12 -2 lines
Diff to previous 1.47.4.1 (colored) to branchpoint 1.47 (colored)

Catch up with -current.

Revision 1.45.4.5 / (download) - annotate - [select for diffs], Wed May 29 21:31:53 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.4: +2 -1 lines
Diff to previous 1.45.4.4 (colored) to branchpoint 1.45 (colored)

#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

Revision 1.49 / (download) - annotate - [select for diffs], Mon May 20 17:55:46 2002 UTC (21 years, 9 months ago) by jdolecek
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
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

Check for zsc properly, and fix typo in #include.
Pointed out, and patch provided by Christian Limpach in private e-mail.

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Fri May 17 13:49:58 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.47: +11 -7 lines
Diff to previous 1.47 (colored)

Replace the access to devsw table and the hard-coded major with devsw API.

Revision 1.48 / (download) - annotate - [select for diffs], Fri May 17 06:44:04 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.47: +12 -2 lines
Diff to previous 1.47 (colored)

make kgdb buildable again, g/c next68k/stub.c
Changes by Christian Limpach in kern/16794, with some minor adjustment
by me.

Revision 1.45.4.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:41:46 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.45.4.3: +3 -3 lines
Diff to previous 1.45.4.3 (colored) to branchpoint 1.45 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.47 / (download) - annotate - [select for diffs], Wed Mar 20 17:59:25 2002 UTC (21 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

kill remaining PS_STRINGS instances.

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:04 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.2.1: +2 -2 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored)

Catch up with -current.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Mar 6 13:10:23 2002 UTC (22 years ago) by tsutsui
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.

Revision 1.45.4.3 / (download) - annotate - [select for diffs], Sun Dec 2 12:30:34 2001 UTC (22 years, 3 months ago) by scw
Branch: nathanw_sa
Changes since 1.45.4.2: +4 -1 lines
Diff to previous 1.45.4.2 (colored) to branchpoint 1.45 (colored)

If an FPU is available, call m68k_make_fpu_idle_frame() to generate
a reference FPU idle frame.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Sun Nov 18 18:43:07 2001 UTC (22 years, 3 months ago) by scw
Branch: nathanw_sa
Changes since 1.45.4.1: +1011 -0 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored)

MD Scheduler Activation bits for Next68k.
Compile-tested only.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:41:16 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Catch up with -current.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:14:10 2001 UTC (22 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

Update the kqueue branch to HEAD.

Revision 1.45.4.1, Mon Sep 10 21:19:20 2001 UTC (22 years, 5 months ago) by scw
Branch: nathanw_sa
Changes since 1.45: +0 -1010 lines
FILE REMOVED

file machdep.c was added on branch nathanw_sa on 2001-11-18 18:43:07 +0000

Revision 1.45 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:20 2001 UTC (22 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf, ifpoll-base
Branch point for: nathanw_sa
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:30:37 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.39.2.1: +33 -33 lines
Diff to previous 1.39.2.1 (colored) next main 1.40 (colored)

Catch up to -current.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:17 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.43 / (download) - annotate - [select for diffs], Wed May 30 15:24:35 2001 UTC (22 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

add missing   #include "opt_kgdb.h"

Revision 1.42 / (download) - annotate - [select for diffs], Sat May 12 22:35:30 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.41: +26 -30 lines
Diff to previous 1.41 (colored)

switch next68k to ELF.  highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return pointer values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:05 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.40: +4 -1 lines
Diff to previous 1.40 (colored)

Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative.  It may be possible to
optimize these a little more.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:54:24 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

Catch up with -current.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:17 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.26.2.1: +4 -4 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:45 2001 UTC (22 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:18:18 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.26: +24 -54 lines
Diff to previous 1.26 (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.39 / (download) - annotate - [select for diffs], Sun Sep 24 12:32:37 2000 UTC (23 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.38: +4 -16 lines
Diff to previous 1.38 (colored)

add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Sep 13 15:00:21 2000 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jun 29 07:58:50 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.36: +1 -3 lines
Diff to previous 1.36 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jun 26 14:20:52 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.35: +1 -3 lines
Diff to previous 1.35 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:02:02 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.32: +6 -13 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.35 / (download) - annotate - [select for diffs], Tue May 30 15:35:00 2000 UTC (23 years, 9 months ago) by deberg
Branch: 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
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

oops, we need nofault.

Revision 1.34 / (download) - annotate - [select for diffs], Mon May 29 22:10:43 2000 UTC (23 years, 9 months ago) by deberg
Branch: MAIN
Changes since 1.33: +6 -2 lines
Diff to previous 1.33 (colored)

use rtc.h for poweroff() and #if 0 out badaddr, which isn't used
anywhere.  machdep.c compiles w/o any noise now.

Revision 1.33 / (download) - annotate - [select for diffs], Mon May 29 21:35:04 2000 UTC (23 years, 9 months ago) by deberg
Branch: MAIN
Changes since 1.32: +1 -12 lines
Diff to previous 1.32 (colored)

no need to include next{kbd,display}var.h

Revision 1.32 / (download) - annotate - [select for diffs], Fri May 26 21:20:04 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (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.31 / (download) - annotate - [select for diffs], Tue Mar 28 23:57:29 2000 UTC (23 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.30: +1 -2 lines
Diff to previous 1.30 (colored)

Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Mar 26 20:42:33 2000 UTC (23 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

Merge parts of chs-ubc2 into the trunk:
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
  make them type-generic, which is necessary i.e. to operate on file offsets
  without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
  integral type (paddr_t, vaddr_t).

Originally done by Chuck Silvers, updated by myself.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 19 20:05:45 2000 UTC (24 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.28: +1 -10 lines
Diff to previous 1.28 (colored)

Move callout initialization to a single location; no need to duplicate
that code all over the place.

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:33:14 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.26: +9 -9 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Pull up to last week's -current.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Dec 4 21:36:00 1999 UTC (24 years, 3 months ago) by ragge
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.27: +6 -6 lines
Diff to previous 1.27 (colored)

CL* discarding.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:38:51 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with -current

Revision 1.27 / (download) - annotate - [select for diffs], Sat Nov 13 00:30:40 1999 UTC (24 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

Update for pmap_enter() API change.  No functional difference.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Sep 17 20:04:45 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

Centralize the declaration and clearing of `cold'.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Sep 12 01:17:16 1999 UTC (24 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.24: +3 -8 lines
Diff to previous 1.24 (colored)

eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.

Revision 1.19.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:54:05 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.19.2.1: +15 -99 lines
Diff to previous 1.19.2.1 (colored) next main 1.20 (colored)

Sync w/ -current.

Revision 1.24 / (download) - annotate - [select for diffs], Wed May 26 19:16:33 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.23: +5 -4 lines
Diff to previous 1.23 (colored)

Change the vm_map's "entries_pageable" member to a r/o flags member, which
has PAGEABLE and INTRSAFE flags.  PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that.  INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now).  This will eventually
change now these maps are locked, as well.

Revision 1.23 / (download) - annotate - [select for diffs], Thu May 20 08:21:45 1999 UTC (24 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.22: +11 -93 lines
Diff to previous 1.22 (colored)

* convert to using MI allocsys(). most ports were using an MD allocsys(),
  although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes

Revision 1.22 / (download) - annotate - [select for diffs], Mon Apr 26 22:46:47 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Garbage-collect the VM_MBUF_SIZE constant.  Instead, use the size
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Apr 25 02:56:29 1999 UTC (24 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.20: +1 -4 lines
Diff to previous 1.20 (colored)

g/c REAL_CLISTS.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Fri Apr 16 16:21:11 1999 UTC (24 years, 10 months ago) by chs
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

pull up 1.19 -> 1.20:
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Apr 11 04:04:08 1999 UTC (24 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Apr 1 00:17:48 1999 UTC (24 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.18: +1 -6 lines
Diff to previous 1.18 (colored)

Don't call configure() from cpu_startup().

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 27 02:59:41 1999 UTC (24 years, 11 months ago) by dbj
Branch: MAIN
Changes since 1.17: +18 -7 lines
Diff to previous 1.17 (colored)

added kgdb support.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:32 1999 UTC (24 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +6 -4 lines
Diff to previous 1.16 (colored)

Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Mar 24 23:15:59 1999 UTC (24 years, 11 months ago) by dbj
Branch: MAIN
Changes since 1.15: +21 -1 lines
Diff to previous 1.15 (colored)

Applied patches from Matt Debergalis <deberg@mit.edu>.
These patches include:
  Added framebuffer mapping for color framebuffer to support color wscons
    which is coming soon.
  Renamed wskbdmap_mfii[ch] to wskbdmap_next[ch]
  Changed video to be white on black instead of black on white.
  Now handles and discards mouse interrupts.
  Video and keyboard is now working on mono machines.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:07 1999 UTC (24 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.14: +1 -81 lines
Diff to previous 1.14 (colored)

completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 27 06:39:37 1999 UTC (25 years ago) by scottr
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

defopt BUFCACHE and BUFPAGES.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 31 18:12:14 1999 UTC (25 years, 1 month ago) by dbj
Branch: MAIN
Changes since 1.12: +3 -10 lines
Diff to previous 1.12 (colored)

Made reboot and halt work.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 31 07:02:33 1999 UTC (25 years, 1 month ago) by dbj
Branch: MAIN
Changes since 1.11: +36 -23 lines
Diff to previous 1.11 (colored)

Added support for setting boothowto from boot loader flags.
print out string of `.' when powering down to work around ununderstood
behavior of rtc chip.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 9 22:10:19 1999 UTC (25 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Garbage-collect `mbutl'.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Nov 14 04:32:50 1998 UTC (25 years, 3 months ago) by dbj
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Finished changes to use UVM on next68k.
Turn on UVM by default in GENERIC kernel.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 10 22:45:45 1998 UTC (25 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.8: +181 -98 lines
Diff to previous 1.8 (colored)

Sync'ed more files and routines with mvme port in prepartion for UVM.
Now use generic m68k cachops everywhere rather than defining them in locore.s

Revision 1.8 / (download) - annotate - [select for diffs], Mon Oct 19 22:09:20 1998 UTC (25 years, 4 months ago) by tron
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Defopt SYSVMSG, SYSVSEM and SYSVSHM.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 28 23:05:54 1998 UTC (25 years, 6 months ago) by dbj
Branch: MAIN
Changes since 1.6: +61 -25 lines
Diff to previous 1.6 (colored)

Updated many of the pmap files to use current versions from the
mvme68k port.  The next68k port now uses MACHINE_NEW_NONCONTIG.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 19 21:41:17 1998 UTC (25 years, 7 months ago) by dbj
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.5: +14 -7 lines
Diff to previous 1.5 (colored)

Commented out some bus_dma code, until I can fix.
(bus_dma.c needs sync with alpha port!)
Continued progress on scsi driver.
A couple of other compiler warning level of tweaks.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:34 1998 UTC (25 years, 8 months ago) by jonathan
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

defopt DDB.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 1 22:23:40 1998 UTC (25 years, 8 months ago) by dbj
Branch: MAIN
Changes since 1.3: +1 -83 lines
Diff to previous 1.3 (colored)

Moved rom memory configuration reading code into nextrom.c from machdep.c

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 25 23:58:47 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

defopt COMPAT_HPUX

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 9 12:01:28 1998 UTC (25 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.1: +7 -2 lines
Diff to previous 1.1 (colored)

Add recent ddb_init() interface change.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Jun 9 07:53:06 1998 UTC (25 years, 8 months ago) by dbj
Branch: DBJ
CVS Tags: next68k-import-19980609
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of NetBSD/next68k.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 9 07:53:06 1998 UTC (25 years, 8 months ago) by dbj
Branch: MAIN

Initial revision

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>