The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.307 / (download) - annotate - [select for diffs], Wed Oct 4 20:28:05 2023 UTC (5 months ago) by ad
Branch: MAIN
CVS Tags: triaxx-drm, thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.306: +6 -8 lines
Diff to previous 1.306 (colored)

Eliminate l->l_ncsw and l->l_nivcsw.  From memory think they were added
before we had per-LWP struct rusage; the same is now tracked there.

Revision 1.306 / (download) - annotate - [select for diffs], Wed Oct 26 23:38:08 2022 UTC (16 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.305: +5 -8 lines
Diff to previous 1.305 (colored)

ddb/db_active.h: New home for extern db_active.

This can be included unconditionally, and db_active can then be
queried unconditionally; if DDB is not in the kernel, then db_active
is a constant zero.  Reduces need for #include opt_ddb.h, #ifdef DDB.

Revision 1.305 / (download) - annotate - [select for diffs], Tue Jul 26 20:08:56 2022 UTC (19 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.304: +3 -3 lines
Diff to previous 1.304 (colored)

s/functin/function/ in copy pasted comment.

Revision 1.304 / (download) - annotate - [select for diffs], Sun Dec 26 21:33:48 2021 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.303: +11 -4 lines
Diff to previous 1.303 (colored)

sys: Skip suspendsched on cpu_reboot if we're in ddb.

If we're in ddb, the scheduler and all other CPUs are quiesced
anyway.  But suspendsched will try to take an adaptive lock, which
causes it to crash and re-enter ddb, which isn't very useful for
rebooting.

Revision 1.303 / (download) - annotate - [select for diffs], Sat Sep 11 10:09:55 2021 UTC (2 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.302: +10 -4 lines
Diff to previous 1.302 (colored)

ksyms: Use pserialize(9) for kernel access to ksyms.

This makes it available in interrupt context, e.g. for printing
messages with kernel symbol names for return addresses as drm wants
to do.

Revision 1.302 / (download) - annotate - [select for diffs], Tue Sep 7 16:56:13 2021 UTC (2 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.301: +4 -10 lines
Diff to previous 1.301 (colored)

Revert "ksyms: Use pserialize(9) for kernel access to ksyms."

Revision 1.301 / (download) - annotate - [select for diffs], Tue Sep 7 11:00:02 2021 UTC (2 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.300: +10 -4 lines
Diff to previous 1.300 (colored)

ksyms: Use pserialize(9) for kernel access to ksyms.

This makes it available in interrupt context, e.g. for printing
messages with kernel symbol names for return addresses as drm wants
to do.

Revision 1.300 / (download) - annotate - [select for diffs], Mon Aug 9 21:08:06 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
Changes since 1.299: +3 -3 lines
Diff to previous 1.299 (colored)

s/aligment/alignment/ + one more typo fix in comments.

Revision 1.298.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:39 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.298: +21 -17 lines
Diff to previous 1.298 (colored) next main 1.299 (colored)

Sync with HEAD.

Revision 1.299 / (download) - annotate - [select for diffs], Mon Jan 4 14:48:52 2021 UTC (3 years, 1 month ago) by thorpej
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-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.298: +21 -17 lines
Diff to previous 1.298 (colored)

malloc(9) -> kmem(9) -- just the simple, straightforward conversions for now.

Revision 1.298 / (download) - annotate - [select for diffs], Thu Jun 11 19:20:45 2020 UTC (3 years, 8 months ago) by ad
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.297: +3 -3 lines
Diff to previous 1.297 (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.287.16.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:08 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.287.16.2: +1 -3 lines
Diff to previous 1.287.16.2 (colored) to branchpoint 1.287 (colored) next main 1.288 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.287.16.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:54 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.287.16.1: +22 -13 lines
Diff to previous 1.287.16.1 (colored) to branchpoint 1.287 (colored)

Merge changes from current as of 20200406

Revision 1.297 / (download) - annotate - [select for diffs], Tue Dec 31 13:07:12 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.296: +3 -3 lines
Diff to previous 1.296 (colored)

Rename uvm_free() -> uvm_availmem().

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

uvmexp.free -> uvm_free()

Revision 1.295 / (download) - annotate - [select for diffs], Tue Dec 3 15:20:59 2019 UTC (4 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.294: +4 -2 lines
Diff to previous 1.294 (colored)

Use __insn_barrier to enforce ordering in l_ncsw loops.

(Only need ordering observable by interruption, not by other CPUs.)

Revision 1.294 / (download) - annotate - [select for diffs], Sun Dec 1 14:52:14 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.293: +12 -3 lines
Diff to previous 1.293 (colored)

Make cpu_intr_p() safe to use anywhere, i.e. outside assertions:

Don't call kpreempt_disable() / kpreempt_enable() to make sure we're not
preempted while using the value of curcpu().  Instead, observe the value of
l_ncsw before and after the check to see if we have been preempted.  If
we have been preempted, then we need to retry the read.

Revision 1.293 / (download) - annotate - [select for diffs], Sat Nov 23 19:40:37 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.292: +9 -11 lines
Diff to previous 1.292 (colored)

cpu_need_resched():

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

Revision 1.292 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:33 2019 UTC (4 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.291: +3 -5 lines
Diff to previous 1.291 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

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

Sync with HEAD

Revision 1.278.2.3.2.1 / (download) - annotate - [select for diffs], Wed Jan 30 13:32:57 2019 UTC (5 years, 1 month ago) by martin
Branch: netbsd-7-0
Changes since 1.278.2.3: +3 -3 lines
Diff to previous 1.278.2.3 (colored) next main 1.278.2.4 (colored)

Pull up following revision(s) (requested by maxv in ticket #1677):

	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.278.2.3.6.1 / (download) - annotate - [select for diffs], Wed Jan 30 13:29:52 2019 UTC (5 years, 1 month ago) by martin
Branch: netbsd-7-1
Changes since 1.278.2.3: +3 -3 lines
Diff to previous 1.278.2.3 (colored) next main 1.278.2.4 (colored)

Pull up following revision(s) (requested by maxv in ticket #1677):

	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.278.2.4 / (download) - annotate - [select for diffs], Wed Jan 30 13:27:27 2019 UTC (5 years, 1 month ago) by martin
Branch: netbsd-7
Changes since 1.278.2.3: +3 -3 lines
Diff to previous 1.278.2.3 (colored) to branchpoint 1.278 (colored) next main 1.279 (colored)

Pull up following revision(s) (requested by maxv in ticket #1677):

	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.287.8.1 / (download) - annotate - [select for diffs], Sun Jan 27 18:43:08 2019 UTC (5 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.287: +3 -3 lines
Diff to previous 1.287 (colored) next main 1.288 (colored)

Pull up following revision(s) (requested by maxv in ticket #1173):
	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/riscv/riscv/sig_machdep.c: revision 1.2
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.287.14.3 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:24 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.287.14.2: +7 -4 lines
Diff to previous 1.287.14.2 (colored) to branchpoint 1.287 (colored) next main 1.288 (colored)

Synch with HEAD

Revision 1.291 / (download) - annotate - [select for diffs], Mon Jan 7 13:10:44 2019 UTC (5 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.290: +7 -4 lines
Diff to previous 1.290 (colored)

When writing a kernel core dump, display the countdown w/o timestamps.

Revision 1.287.14.2 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:43 2018 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.287.14.1: +4 -5 lines
Diff to previous 1.287.14.1 (colored) to branchpoint 1.287 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.290 / (download) - annotate - [select for diffs], Wed Dec 19 13:57:50 2018 UTC (5 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1226
Changes since 1.289: +3 -4 lines
Diff to previous 1.289 (colored)

Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.

Revision 1.289 / (download) - annotate - [select for diffs], Tue Nov 27 14:09:54 2018 UTC (5 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.288: +3 -3 lines
Diff to previous 1.288 (colored)

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.287.14.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:42 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.287: +5 -5 lines
Diff to previous 1.287 (colored)

Sync with HEAD

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

Revision 1.288 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:28 2018 UTC (5 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.287: +5 -5 lines
Diff to previous 1.287 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.269.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:45 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.269.2.3: +52 -92 lines
Diff to previous 1.269.2.3 (colored) next main 1.270 (colored)

update from HEAD

Revision 1.287.6.1 / (download) - annotate - [select for diffs], Thu Apr 27 05:36:34 2017 UTC (6 years, 10 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.287: +12 -4 lines
Diff to previous 1.287 (colored) next main 1.288 (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.285.2.3 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:26 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.285.2.2: +5 -2 lines
Diff to previous 1.285.2.2 (colored) to branchpoint 1.285 (colored) next main 1.286 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.280.2.5 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:58 2016 UTC (7 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.280.2.4: +12 -3 lines
Diff to previous 1.280.2.4 (colored) to branchpoint 1.280 (colored) next main 1.281 (colored)

Sync with HEAD

Revision 1.287 / (download) - annotate - [select for diffs], Fri Nov 4 18:09:14 2016 UTC (7 years, 4 months ago) by macallan
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2, phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.286: +5 -2 lines
Diff to previous 1.286 (colored)

allow BUS_SPACE_MAP_PREFETCHABLE with bus_space_map() as well

Revision 1.285.2.2 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:05 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.285.2.1: +9 -3 lines
Diff to previous 1.285.2.1 (colored) to branchpoint 1.285 (colored)

Sync with HEAD

Revision 1.286 / (download) - annotate - [select for diffs], Fri Nov 4 05:41:01 2016 UTC (7 years, 4 months ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.285: +9 -3 lines
Diff to previous 1.285 (colored)

add plumbing to support bus_space_mmap() with:
- write combining allowed via BUS_SPACE_MAP_PREFETCHABLE
- byte order translation via BUS_SPACE_MAP_LITTLE

Revision 1.285.2.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.285: +12 -4 lines
Diff to previous 1.285 (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.285 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:38 2016 UTC (7 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.284: +4 -4 lines
Diff to previous 1.284 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.280.2.4 / (download) - annotate - [select for diffs], Sun May 29 08:44:19 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.280.2.3: +3 -7 lines
Diff to previous 1.280.2.3 (colored) to branchpoint 1.280 (colored)

Sync with HEAD

Revision 1.284 / (download) - annotate - [select for diffs], Fri May 13 21:22:47 2016 UTC (7 years, 9 months ago) by nakayama
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529
Changes since 1.283: +3 -7 lines
Diff to previous 1.283 (colored)

Use newly introduced intrhand_alloc().

Revision 1.280.2.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:44 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.280.2.2: +7 -4 lines
Diff to previous 1.280.2.2 (colored) to branchpoint 1.280 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.283 / (download) - annotate - [select for diffs], Sun Nov 22 09:32:34 2015 UTC (8 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.282: +7 -4 lines
Diff to previous 1.282 (colored)

remove all MD uses of suword(), replace by copyout()

Revision 1.280.2.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:52 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.280.2.1: +38 -36 lines
Diff to previous 1.280.2.1 (colored) to branchpoint 1.280 (colored)

Sync with HEAD

Revision 1.282 / (download) - annotate - [select for diffs], Thu Jun 11 21:00:05 2015 UTC (8 years, 8 months ago) by palle
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.281: +13 -11 lines
Diff to previous 1.281 (colored)

sun4v: Avoid using ASI_PHYS_NON_CACHED/ASI_PHYS_NON_CACHED_LITTLE in sparc_bus_map() since they are deprecated according to the UA2005 docs. Using the ASI_PRIMARY/ASI_PRIMARY_LITTLE seems to work. ok martin@

Revision 1.280.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:03 2015 UTC (8 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.280: +15 -71 lines
Diff to previous 1.280 (colored)

Sync with HEAD

Revision 1.278.2.3 / (download) - annotate - [select for diffs], Sat Mar 21 17:32:13 2015 UTC (8 years, 11 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-1, netbsd-7-0
Changes since 1.278.2.2: +15 -71 lines
Diff to previous 1.278.2.2 (colored) to branchpoint 1.278 (colored)

Pull up following revision(s) (requested by nakayama in ticket #628):
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.202
	sys/arch/sparc64/sparc64/machdep.c: revision 1.281
Reuse results of "bootpath" and "bootargs" from openfirmware
instead of calling openfirmware in each sysctl CPU_BOOT*.
This change reduces openfirmware calls from userland since sysctl
CPU_BOOTED_KERNEL is used in system commands such as pstat and
netstat.

Revision 1.281 / (download) - annotate - [select for diffs], Sun Mar 15 10:38:58 2015 UTC (8 years, 11 months ago) by nakayama
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.280: +15 -71 lines
Diff to previous 1.280 (colored)

Reuse results of "bootpath" and "bootargs" from openfirmware
instead of calling openfirmware in each sysctl CPU_BOOT*.

This change reduces openfirmware calls from userland since sysctl
CPU_BOOTED_KERNEL is used in system commands such as pstat and
netstat.

Revision 1.278.2.2 / (download) - annotate - [select for diffs], Mon Nov 10 17:59:57 2014 UTC (9 years, 3 months ago) by snj
Branch: netbsd-7
Changes since 1.278.2.1: +5 -3 lines
Diff to previous 1.278.2.1 (colored) to branchpoint 1.278 (colored)

Pull up following revision(s) (requested by maxv in ticket #195):
	sys/arch/arm/iomd/iomd_irqhandler.c: revision 1.21
	sys/arch/arm/ofw/ofw_irqhandler.c: revision 1.21
	sys/arch/atari/atari/intr.c: revision 1.24-1.25
	sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.14
	sys/arch/hpcmips/tx/tx39icu.c: revision 1.34
	sys/arch/shark/isa/isa_irqhandler.c: revision 1.27
	sys/arch/sparc/sparc/machdep.c: revision 1.327
	sys/arch/sparc64/dev/psycho.c: revision 1.119
	sys/arch/sparc64/dev/schizo.c: revision 1.32
	sys/arch/sparc64/sparc64/machdep.c: revision 1.279
	sys/arch/sun68k/sun68k/bus.c: revision 1.22
	sys/arch/x86/x86/ipmi.c: revision 1.58
	sys/arch/xen/xen/privcmd.c: revision 1.46-1.49
Fix several memory leaks.

Revision 1.265.2.1.4.1 / (download) - annotate - [select for diffs], Sun Nov 9 06:55:34 2014 UTC (9 years, 3 months ago) by msaitoh
Branch: netbsd-6-0
Changes since 1.265.2.1: +9 -10 lines
Diff to previous 1.265.2.1 (colored) next main 1.265.2.2 (colored)

Pull up following revision(s) (requested by nakayama in ticket #1176):
	sys/arch/sparc64/sparc64/machdep.c: revision 1.280
	sys/arch/sparc64/sparc64/machdep.c: revision 1.274
Remove duplicate/unused declarations.
Sync cpu_reboot with i386:
- avoid sync and unmount after panic.
- remove vfs_shutdown, we call vfs_sync_all and vfs_unmount* instead.
- resurrect doshutdownhooks since some drivers still use it (eg. sab(4)).

Revision 1.265.2.1.6.1 / (download) - annotate - [select for diffs], Sun Nov 9 06:55:14 2014 UTC (9 years, 3 months ago) by msaitoh
Branch: netbsd-6-1
Changes since 1.265.2.1: +9 -10 lines
Diff to previous 1.265.2.1 (colored) next main 1.265.2.2 (colored)

Pull up following revision(s) (requested by nakayama in ticket #1176):
	sys/arch/sparc64/sparc64/machdep.c: revision 1.280
	sys/arch/sparc64/sparc64/machdep.c: revision 1.274
Remove duplicate/unused declarations.
Sync cpu_reboot with i386:
- avoid sync and unmount after panic.
- remove vfs_shutdown, we call vfs_sync_all and vfs_unmount* instead.
- resurrect doshutdownhooks since some drivers still use it (eg. sab(4)).

Revision 1.265.2.2 / (download) - annotate - [select for diffs], Sun Nov 9 06:53:32 2014 UTC (9 years, 3 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.265.2.1: +9 -10 lines
Diff to previous 1.265.2.1 (colored) to branchpoint 1.265 (colored) next main 1.266 (colored)

Pull up following revision(s) (requested by nakayama in ticket #1176):
	sys/arch/sparc64/sparc64/machdep.c: revision 1.280
	sys/arch/sparc64/sparc64/machdep.c: revision 1.274
Remove duplicate/unused declarations.
Sync cpu_reboot with i386:
- avoid sync and unmount after panic.
- remove vfs_shutdown, we call vfs_sync_all and vfs_unmount* instead.
- resurrect doshutdownhooks since some drivers still use it (eg. sab(4)).

Revision 1.278.2.1 / (download) - annotate - [select for diffs], Thu Oct 30 12:33:17 2014 UTC (9 years, 4 months ago) by martin
Branch: netbsd-7
Changes since 1.278: +9 -5 lines
Diff to previous 1.278 (colored)

Pull up following revision(s) (requested by nakayama in ticket #168):
	sys/arch/sparc64/sparc64/machdep.c: revision 1.280
Sync cpu_reboot with i386:
- avoid sync and unmount after panic.
- remove vfs_shutdown, we call vfs_sync_all and vfs_unmount* instead.
- resurrect doshutdownhooks since some drivers still use it (eg. sab(4)).

Revision 1.280 / (download) - annotate - [select for diffs], Tue Oct 28 13:04:51 2014 UTC (9 years, 4 months ago) by nakayama
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.279: +9 -5 lines
Diff to previous 1.279 (colored)

Sync cpu_reboot with i386:
- avoid sync and unmount after panic.
- remove vfs_shutdown, we call vfs_sync_all and vfs_unmount* instead.
- resurrect doshutdownhooks since some drivers still use it (eg. sab(4)).

Revision 1.279 / (download) - annotate - [select for diffs], Sun Sep 21 16:37:34 2014 UTC (9 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.278: +5 -3 lines
Diff to previous 1.278 (colored)

fix leak

Revision 1.269.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:25 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.269.2.2: +50 -44 lines
Diff to previous 1.269.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.275.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:09 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.275: +29 -39 lines
Diff to previous 1.275 (colored) next main 1.276 (colored)

Rebase.

Revision 1.278 / (download) - annotate - [select for diffs], Mon Jul 14 12:40:38 2014 UTC (9 years, 7 months ago) by nakayama
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.277: +2 -23 lines
Diff to previous 1.277 (colored)

Make bus_space_barrier inline to avoid unnecessary argument handling.

Revision 1.262.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:40:10 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.262.2.4: +54 -7 lines
Diff to previous 1.262.2.4 (colored) to branchpoint 1.262 (colored) next main 1.263 (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.272.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:26 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.272: +50 -23 lines
Diff to previous 1.272 (colored) next main 1.273 (colored)

sync with head

Revision 1.277 / (download) - annotate - [select for diffs], Tue May 13 19:39:40 2014 UTC (9 years, 9 months ago) by palle
Branch: MAIN
CVS Tags: rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.276: +3 -3 lines
Diff to previous 1.276 (colored)

Use proper SYSCTL_DESCR() macro

Revision 1.276 / (download) - annotate - [select for diffs], Tue May 13 19:14:05 2014 UTC (9 years, 9 months ago) by palle
Branch: MAIN
Changes since 1.275: +29 -18 lines
Diff to previous 1.275 (colored)

get_vis() now handles sun4v (VIS 1 and VIS 2)

Revision 1.275 / (download) - annotate - [select for diffs], Sat Jan 25 19:42:25 2014 UTC (10 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.274: +3 -3 lines
Diff to previous 1.274 (colored)

__USING_TOPDOWN_VM is gone.

Revision 1.274 / (download) - annotate - [select for diffs], Sat Dec 14 05:28:47 2013 UTC (10 years, 2 months ago) by nakayama
Branch: MAIN
Changes since 1.273: +2 -7 lines
Diff to previous 1.273 (colored)

Remove duplicate/unused declarations.

Revision 1.273 / (download) - annotate - [select for diffs], Thu Nov 14 12:11:13 2013 UTC (10 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.272: +23 -2 lines
Diff to previous 1.272 (colored)

Allow TOPDOWN-VM only for binaries compiled with appropriate code model.
No change yet, as __HAVE_TOPDOWN is not yet defined.

Revision 1.269.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:00 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.269.2.1: +33 -3 lines
Diff to previous 1.269.2.1 (colored)

resync with head

Revision 1.272 / (download) - annotate - [select for diffs], Mon Feb 4 22:19:43 2013 UTC (11 years, 1 month ago) by macallan
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.271: +33 -2 lines
Diff to previous 1.271 (colored)

add a sysctl.vis node that indicated which version of the VIS instruction set
is supported. Currently this will be 1 for UltraSPARC I and II, 2 for
UltraSPARC-III and up

Revision 1.262.2.4 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:07 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.262.2.3: +2 -3 lines
Diff to previous 1.262.2.3 (colored) to branchpoint 1.262 (colored)

sync with (a bit old) head

Revision 1.271 / (download) - annotate - [select for diffs], Sat Dec 8 11:43:27 2012 UTC (11 years, 2 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7
Changes since 1.270: +2 -3 lines
Diff to previous 1.270 (colored)

Not FALLTHROUGH.

Revision 1.269.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:46 2012 UTC (11 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.269: +8 -4 lines
Diff to previous 1.269 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.262.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:25 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.262.2.2: +8 -12 lines
Diff to previous 1.262.2.2 (colored) to branchpoint 1.262 (colored)

sync with head

Revision 1.270 / (download) - annotate - [select for diffs], Thu Sep 13 11:53:45 2012 UTC (11 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.269: +8 -4 lines
Diff to previous 1.269 (colored)

Adapt for _UC_TLSBASE

Revision 1.269 / (download) - annotate - [select for diffs], Sat Jul 28 19:08:25 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.268: +2 -4 lines
Diff to previous 1.268 (colored)

Remove declartions of physmem

Revision 1.268 / (download) - annotate - [select for diffs], Fri Jul 27 05:36:12 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.267: +2 -8 lines
Diff to previous 1.267 (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.262.6.3 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:09 2012 UTC (11 years, 9 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.262.6.2: +22 -9 lines
Diff to previous 1.262.6.2 (colored) to branchpoint 1.262 (colored) next main 1.263 (colored)

sync to latest -current.

Revision 1.262.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:49 2012 UTC (11 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.262.2.1: +24 -11 lines
Diff to previous 1.262.2.1 (colored) to branchpoint 1.262 (colored)

sync with head.

Revision 1.265.2.1 / (download) - annotate - [select for diffs], Mon May 21 15:25:56 2012 UTC (11 years, 9 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: netbsd-6-1, netbsd-6-0
Changes since 1.265: +24 -11 lines
Diff to previous 1.265 (colored)

Pull up following revision(s) (requested by martin in ticket #274):
	sys/arch/amd64/amd64/process_machdep.c: revision 1.20
	sys/kern/sys_lwp.c: revision 1.54
	sys/arch/sparc64/sparc64/machdep.c: revision 1.267
	sys/arch/mips/mips/cpu_subr.c: revision 1.16
	sys/arch/vax/vax/machdep.c: revision 1.188
	sys/sys/lwp.h: revision 1.161
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.98
	sys/arch/alpha/alpha/machdep.c: revision 1.339
	sys/compat/sys/ucontext.h: revision 1.6
	sys/arch/hppa/hppa/hppa_machdep.c: revision 1.28
	distrib/sets/lists/tests/mi: revision 1.469
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.42
	tests/lib/libc/sys/t_lwp_create.c: revision 1.1
	tests/lib/libc/sys/Makefile: revision 1.23
	sys/arch/arm/arm/sig_machdep.c: revision 1.42
	sys/arch/amd64/include/mcontext.h: revision 1.15
	sys/arch/amd64/amd64/machdep.c: revision 1.183
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.99
	sys/arch/i386/i386/machdep.c: revision 1.727
	sys/compat/netbsd32/netbsd32_lwp.c: revision 1.13
	sys/arch/sparc/sparc/machdep.c: revision 1.319
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.76
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.49
	sys/sys/ucontext.h: revision 1.16
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.9
	lib/libc/sys/_lwp_create.2: revision 1.5
Calling _lwp_create() with a bogus ucontext could trigger a kernel
assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently
discovered by YAMAMOTO Takashi and Joel Sing.
To avoid this, introduce a cpu_mcontext_validate() function and move all
sanity checks from cpu_setmcontext() there. Also untangle the netbsd32
compat mess slightly and add a cpu_mcontext32_validate() cousin there.
Add an exhaustive atf test case, based partly on code from Joel Sing.
Should finally fix the remaining open part of PR kern/43903.

Revision 1.267 / (download) - annotate - [select for diffs], Mon May 21 14:15:18 2012 UTC (11 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.266: +24 -11 lines
Diff to previous 1.266 (colored)

Calling _lwp_create() with a bogus ucontext could trigger a kernel
assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently
discovered by YAMAMOTO Takashi and Joel Sing.

To avoid this, introduce a cpu_mcontext_validate() function and move all
sanity checks from cpu_setmcontext() there. Also untangle the netbsd32
compat mess slightly and add a cpu_mcontext32_validate() cousin there.

Add an exhaustive atf test case, based partly on code from Joel Sing.

Should finally fix the remaining open part of PR kern/43903.

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

sync with head

Revision 1.262.6.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:35 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.262.6.1: +3 -44 lines
Diff to previous 1.262.6.1 (colored) to branchpoint 1.262 (colored)

sync to -current.

Revision 1.266 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:31 2012 UTC (12 years ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Changes since 1.265: +3 -44 lines
Diff to previous 1.265 (colored)

Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.262.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:17 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.262: +17 -11 lines
Diff to previous 1.262 (colored)

merge to -current.

Revision 1.265 / (download) - annotate - [select for diffs], Mon Feb 6 10:40:26 2012 UTC (12 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.264: +14 -2 lines
Diff to previous 1.264 (colored)

Provide a module_map (16 MB for now) to load modules close to kernel text
and data.

Fixes PR port-sparc64/45895. Ok: releng

Revision 1.264 / (download) - annotate - [select for diffs], Fri Jan 27 18:53:03 2012 UTC (12 years, 1 month ago) by para
Branch: MAIN
Changes since 1.263: +3 -3 lines
Diff to previous 1.263 (colored)

converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged

Revision 1.263 / (download) - annotate - [select for diffs], Mon Dec 12 19:03:11 2011 UTC (12 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.262: +4 -10 lines
Diff to previous 1.262 (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.262 / (download) - annotate - [select for diffs], Sat Oct 8 08:49:07 2011 UTC (12 years, 4 months ago) by nakayama
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.261: +3 -3 lines
Diff to previous 1.261 (colored)

Fix namespace confilicts membar_ops(3) vs. macros for SPARC V9
membar instructions.

Revision 1.261 / (download) - annotate - [select for diffs], Sun Jul 17 23:29:10 2011 UTC (12 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.260: +631 -3 lines
Diff to previous 1.260 (colored)

Switch sparc and sparc64 to new-style <sys/bus.h>.

Revision 1.260 / (download) - annotate - [select for diffs], Sat Jul 2 13:11:48 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.259: +6 -8 lines
Diff to previous 1.259 (colored)

redo previous correctly:
don't try to print fr_arg[6] since it doesn't exist.

Revision 1.259 / (download) - annotate - [select for diffs], Fri Jul 1 08:37:28 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.258: +6 -6 lines
Diff to previous 1.258 (colored)

use the right variables for the fp and pc, and avoid array bounds
violations.

Revision 1.256.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:43 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.256: +77 -8 lines
Diff to previous 1.256 (colored) next main 1.257 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.258 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:47 2011 UTC (12 years, 8 months ago) by rmind
Branch: MAIN
Changes since 1.257: +32 -2 lines
Diff to previous 1.257 (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.252.2.7 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:08 2011 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.252.2.6: +45 -6 lines
Diff to previous 1.252.2.6 (colored) to branchpoint 1.252 (colored) next main 1.253 (colored)

sync with head

Revision 1.255.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:53 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.255: +49 -10 lines
Diff to previous 1.255 (colored) next main 1.256 (colored)

Sync with HEAD.

Revision 1.257 / (download) - annotate - [select for diffs], Wed Jun 1 23:41:04 2011 UTC (12 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.256: +47 -8 lines
Diff to previous 1.256 (colored)

convert stackdump() to look up symbols rather than dumping raw %pc values.

Revision 1.252.2.6 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:08 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.252.2.5: +5 -4 lines
Diff to previous 1.252.2.5 (colored) to branchpoint 1.252 (colored)

sync with head

Revision 1.255.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:06 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.255: +4 -4 lines
Diff to previous 1.255 (colored) next main 1.256 (colored)

Sync with HEAD

Revision 1.256 / (download) - annotate - [select for diffs], Fri Mar 4 22:25:29 2011 UTC (13 years ago) by joerg
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, bouyer-quota2-nbase
Branch point for: cherry-xenmp
Changes since 1.255: +4 -4 lines
Diff to previous 1.255 (colored)

Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

Revision 1.255 / (download) - annotate - [select for diffs], Fri Jan 14 02:06:32 2011 UTC (13 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.254: +3 -2 lines
Diff to previous 1.254 (colored)

Retire struct user, remove sys/user.h inclusions.  Note sys/user.h header
as obsolete.  Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.

Revision 1.250.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:20 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.250.2.1: +1 -5 lines
Diff to previous 1.250.2.1 (colored) to branchpoint 1.250 (colored) next main 1.251 (colored)

Sync with HEAD.

Revision 1.220.2.8 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:48 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.220.2.7: +3 -7 lines
Diff to previous 1.220.2.7 (colored) to branchpoint 1.220 (colored) next main 1.221 (colored)

sync with head.

Revision 1.252.2.5 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:27 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.252.2.4: +3 -4 lines
Diff to previous 1.252.2.4 (colored) to branchpoint 1.252 (colored)

sync with head

Revision 1.254 / (download) - annotate - [select for diffs], Sat Jun 26 08:40:01 2010 UTC (13 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231
Changes since 1.253: +3 -4 lines
Diff to previous 1.253 (colored)

Remove unused cbit.

Revision 1.252.2.4 / (download) - annotate - [select for diffs], Sun May 30 05:17:09 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.252.2.3: +2 -5 lines
Diff to previous 1.252.2.3 (colored) to branchpoint 1.252 (colored)

sync with head

Revision 1.253 / (download) - annotate - [select for diffs], Sat May 8 07:34:02 2010 UTC (13 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.252: +2 -5 lines
Diff to previous 1.252 (colored)

remove pmap_update() calls on the kernel_pmap -- they do nothign.

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

Sync with HEAD.

Revision 1.252.2.3 / (download) - annotate - [select for diffs], Sun Apr 25 19:39:00 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.252.2.2: +10 -3 lines
Diff to previous 1.252.2.2 (colored) to branchpoint 1.252 (colored)

A round of compile and other fixes to previous.

Revision 1.252.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.252.2.1: +8 -18 lines
Diff to previous 1.252.2.1 (colored) to branchpoint 1.252 (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.227.4.1.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:49 2010 UTC (13 years, 10 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.227.4.1: +3 -3 lines
Diff to previous 1.227.4.1 (colored) next main 1.227.4.2 (colored)

sync to netbsd-5

Revision 1.252.2.1 / (download) - annotate - [select for diffs], Thu Mar 18 04:36:52 2010 UTC (13 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.252: +35 -2 lines
Diff to previous 1.252 (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.227.4.2 / (download) - annotate - [select for diffs], Wed Mar 17 03:10:39 2010 UTC (13 years, 11 months 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.227.4.1: +3 -3 lines
Diff to previous 1.227.4.1 (colored) to branchpoint 1.227 (colored) next main 1.228 (colored)

Apply patch (requested by mrg in ticket #1343):
- flush the dcache around pmap_{zero,copy}_page()
- convert all blast_dcache() / dcache_flush_page() calls to
  properly handle flushes in all cpus as necessary

Revision 1.220.2.7 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:01 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.220.2.6: +34 -32 lines
Diff to previous 1.220.2.6 (colored) to branchpoint 1.220 (colored)

sync with head

Revision 1.252 / (download) - annotate - [select for diffs], Thu Mar 4 08:01:35 2010 UTC (14 years ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.251: +3 -3 lines
Diff to previous 1.251 (colored)

- in _bus_dmamap_unload(), pmap_page_protect() and pmap_clear_reference()
  switch the dcache_flush_page() into a dcache_flush_page_all()
- in both pmap_kremove()/pmap_remove(), remove the blast_dcache() call
  and replace it with dcache_flush_page_all()
- in pmap_get_page() [used to allocate PTP's], always call pmap_zero_page(pa)
- flush the dcache of the dst page in pmap_{copy,zero}_page() by redirecting
  throught a C function that calls the (renamed) asm.  the old asm code had a
  comment about needing to do this...
- add a couple of membar #Sync's that the USIII manual recommends


based on discussions with chuq@, skrll@ and martin@.


these help my SB2000 / SB2500 with both disk / nfs builds and other tasks,
sometimes lasting for several hours before failing or asserting.

Revision 1.251 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:32 2010 UTC (14 years ago) by joerg
Branch: MAIN
Changes since 1.250: +2 -12 lines
Diff to previous 1.250 (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.250 / (download) - annotate - [select for diffs], Mon Dec 7 11:28:37 2009 UTC (14 years, 3 months ago) by nakayama
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.249: +27 -11 lines
Diff to previous 1.249 (colored)

- fix corner case bugs around the segment offsets.
- make sure that on error condition we return "no valid mappings".

Revision 1.249 / (download) - annotate - [select for diffs], Wed Dec 2 10:18:42 2009 UTC (14 years, 3 months ago) by nakayama
Branch: MAIN
Changes since 1.248: +4 -5 lines
Diff to previous 1.248 (colored)

In calculating initial tstate, cast to 64-bit first to avoid sign extension.

Revision 1.248 / (download) - annotate - [select for diffs], Sat Nov 21 04:16:52 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.247: +2 -3 lines
Diff to previous 1.247 (colored)

Use lwp_getpcb() on sparc{64} and sun2/3 MD code, clean from struct user usage.

Revision 1.247 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:47 2009 UTC (14 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.246: +4 -4 lines
Diff to previous 1.246 (colored)

Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.

Revision 1.246 / (download) - annotate - [select for diffs], Sat Oct 24 14:52:20 2009 UTC (14 years, 4 months ago) by nakayama
Branch: MAIN
Changes since 1.245: +4 -4 lines
Diff to previous 1.245 (colored)

Use trunc_page or round_page where appropriate.
No functional changes intended, and generate same binaries.

Revision 1.245 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:03 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.244: +2 -4 lines
Diff to previous 1.244 (colored)

Remove uarea swap-out functionality:

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

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

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

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

sync with head.

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

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

Revision 1.220.2.5 / (download) - annotate - [select for diffs], Sat Jul 18 14:52:55 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.220.2.4: +52 -22 lines
Diff to previous 1.220.2.4 (colored) to branchpoint 1.220 (colored)

sync with head.

Revision 1.243 / (download) - annotate - [select for diffs], Fri Jun 26 23:40:27 2009 UTC (14 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.242: +52 -22 lines
Diff to previous 1.242 (colored)

During a normal shutdown, gracefully tear down arbitrary stacks of
filesystems and (pseudo-)devices, according to the algorithm at A3
and A4, below.

Proposed and discussed at
<http://mail-index.netbsd.org/tech-kern/2009/04/20/msg004864.html>.  No
objections.

During an emergency shutdown (e.g., shutdown -n, or after a panic),
shutdown is simple as always: filesystems are not sync'd or unmounted,
and devices are not detached.

It was necessary to change the order of operations during shutdown,
but the new order is more sensible: if a core dump is desired, then
cpu_reboot(9) dumps it first.  cpu_reboot(9) does not call legacy
shutdown hooks any longer: they can interfere with device detachment
and PMF shutdown, and very few legacy hooks remain.

Here is the old order of operations:

B1 sync filesystems and TOD clock
B2 unmount filesystems
B3 dump core
B4 detach devices
B5 run legacy shutdown hooks
B6 run PMF shutdown hooks
B7 suspend interrupts
B8 MD reboot/shutdown/powerdown

And here is the new order:

A1 dump core
A2 sync filesystems and TOD clock
A3 unmount one or more filesystems OR
   detach one or more devices OR
   forcefully unmount one filesystem OR
   skip to 5
A4 repeat at 3
A5 run PMF shutdown hooks
A6 suspend interrupts
A7 MD reboot/shutdown/powerdown

Tested on Dell Dimension 3000, Dell PowerEdge 1950, Sun Fire V120,
Soekris net4521 and net4801.

VS: ----------------------------------------------------------------------

Revision 1.220.2.4 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:12 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.220.2.3: +21 -13 lines
Diff to previous 1.220.2.3 (colored) to branchpoint 1.220 (colored)

sync with head

Revision 1.242 / (download) - annotate - [select for diffs], Thu May 21 08:13:43 2009 UTC (14 years, 9 months ago) by jnemeth
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5
Changes since 1.241: +3 -2 lines
Diff to previous 1.241 (colored)

pull in <sys/module.h>

Revision 1.241 / (download) - annotate - [select for diffs], Thu May 21 08:07:18 2009 UTC (14 years, 9 months ago) by jnemeth
Branch: MAIN
Changes since 1.240: +9 -2 lines
Diff to previous 1.240 (colored)

add a dummy module_init_md()

XXX if we ever teach the boot loader to load module, we'll have to
make this actually do something

Revision 1.240 / (download) - annotate - [select for diffs], Tue May 19 22:03:16 2009 UTC (14 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.239: +5 -5 lines
Diff to previous 1.239 (colored)

Rename waittime to syncdone, make it bool, make it private to
cpu_reboot().

Revision 1.239 / (download) - annotate - [select for diffs], Mon May 18 20:22:16 2009 UTC (14 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.238: +3 -3 lines
Diff to previous 1.238 (colored)

Make waittime static so that I know nothing else is using it.

Revision 1.238 / (download) - annotate - [select for diffs], Mon May 18 20:20:42 2009 UTC (14 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.237: +10 -10 lines
Diff to previous 1.237 (colored)

Remove 'register' qualifier from several variables.  The object
file did not change.

Revision 1.220.2.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:16 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.220.2.2: +3 -3 lines
Diff to previous 1.220.2.2 (colored) to branchpoint 1.220 (colored)

sync with head

Revision 1.237 / (download) - annotate - [select for diffs], Sat May 16 03:23:23 2009 UTC (14 years, 9 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4
Changes since 1.236: +3 -3 lines
Diff to previous 1.236 (colored)

Use membar_sync() instead of inline asm.

Revision 1.235.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:38 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.235: +6 -6 lines
Diff to previous 1.235 (colored) next main 1.236 (colored)

Sync with HEAD.

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

Revision 1.220.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:58 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.220.2.1: +79 -59 lines
Diff to previous 1.220.2.1 (colored) to branchpoint 1.220 (colored)

sync with head.

Revision 1.227.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:47 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.227.2.2: +6 -6 lines
Diff to previous 1.227.2.2 (colored) to branchpoint 1.227 (colored) next main 1.228 (colored)

Sync with HEAD.

Revision 1.236 / (download) - annotate - [select for diffs], Wed Mar 18 10:22:37 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.235: +6 -6 lines
Diff to previous 1.235 (colored)

Ansify function definitions w/o arguments. Generated with sed.

Revision 1.227.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:26 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.227.2.1: +4 -4 lines
Diff to previous 1.227.2.1 (colored) to branchpoint 1.227 (colored)

Sync with HEAD.

Revision 1.227.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-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-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.227: +3 -3 lines
Diff to previous 1.227 (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.235 / (download) - annotate - [select for diffs], Wed Jan 21 09:18:32 2009 UTC (15 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.234: +4 -4 lines
Diff to previous 1.234 (colored)

Adapt to major()/minor() return value type changes.

Revision 1.227.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:51 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.227: +24 -43 lines
Diff to previous 1.227 (colored)

Sync with HEAD.

Revision 1.215.6.6 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:32 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.215.6.5: +62 -40 lines
Diff to previous 1.215.6.5 (colored) to branchpoint 1.215 (colored) next main 1.216 (colored)

Sync with HEAD.

Revision 1.234 / (download) - annotate - [select for diffs], Sun Jan 11 10:43:17 2009 UTC (15 years, 1 month ago) by nakayama
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.233: +6 -7 lines
Diff to previous 1.233 (colored)

Make this compile.

Revision 1.233 / (download) - annotate - [select for diffs], Mon Dec 15 06:30:00 2008 UTC (15 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.232: +10 -8 lines
Diff to previous 1.232 (colored)

some minor KNF and also DPRINTF pm_flags in sparc_bus_map().

Revision 1.232 / (download) - annotate - [select for diffs], Sat Dec 13 04:53:09 2008 UTC (15 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.231: +5 -5 lines
Diff to previous 1.231 (colored)

DPRINTF() the new protection in sparc_bus_map()

Revision 1.225.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:29 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.225.2.1: +12 -32 lines
Diff to previous 1.225.2.1 (colored) next main 1.226 (colored)

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

Revision 1.231 / (download) - annotate - [select for diffs], Wed Dec 10 03:36:22 2008 UTC (15 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.230: +8 -7 lines
Diff to previous 1.230 (colored)

clean up and use __func__ in sparc_bus_map() debug messages.

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

dumpsys: don't spew numbers into the log.

Revision 1.229 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:01 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.228: +3 -26 lines
Diff to previous 1.228 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.228 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:44 2008 UTC (15 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.227: +4 -2 lines
Diff to previous 1.227 (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.225.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:01 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.225: +46 -5 lines
Diff to previous 1.225 (colored)

Sync with HEAD.

Revision 1.227 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:19 2008 UTC (15 years, 4 months ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.226: +44 -3 lines
Diff to previous 1.226 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.215.6.5 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:09 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.215.6.4: +2 -2 lines
Diff to previous 1.215.6.4 (colored) to branchpoint 1.215 (colored)

Sync with HEAD.

Revision 1.221.2.6 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:34 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.221.2.5: +4 -11 lines
Diff to previous 1.221.2.5 (colored) to branchpoint 1.221 (colored) next main 1.222 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.193.2.3 / (download) - annotate - [select for diffs], Tue Sep 16 18:49:34 2008 UTC (15 years, 5 months ago) by bouyer
Branch: netbsd-4
Changes since 1.193.2.2: +6 -4 lines
Diff to previous 1.193.2.2 (colored) to branchpoint 1.193 (colored) next main 1.194 (colored)

Sync with the following revisions (requested by skrll in ticket #1196):
	gnu/dist/gdb						removed
	gnu/usr.bin/gdb53					removed
	distrib/cats/instkernel/Makefile			1.14.6.1
	gnu/dist/gdb6/bfd/config.bfd				1.3.6.1
	gnu/dist/gdb6/bfd/elfxx-sparc.c				1.1.1.2.6.1
	gnu/dist/gdb6/bfd/elfxx-sparc.h				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/Makefile.in				1.2.2.1.2.2
	gnu/dist/gdb6/gdb/alpha-tdep.c				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/alpha-tdep.h				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/alphabsd-nat.c			1.1.1.2.6.2
	gnu/dist/gdb6/gdb/alphabsd-nat.h			1.1.2.1
	gnu/dist/gdb6/gdb/alphabsd-tdep.c			1.1.1.2.6.1
	gnu/dist/gdb6/gdb/alphabsd-tdep.h			1.1.1.2.6.1
	gnu/dist/gdb6/gdb/alphanbsd-nat.c			1.1.2.1
	gnu/dist/gdb6/gdb/alphanbsd-tdep.c			1.1.1.2.6.1
	gnu/dist/gdb6/gdb/amd64-nat.c				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/amd64bsd-nat.c			1.1.1.2.6.1
	gnu/dist/gdb6/gdb/amd64nbsd-nat.c			1.1.1.2.6.3
	gnu/dist/gdb6/gdb/amd64nbsd-tdep.c			1.1.1.2.6.1
	gnu/dist/gdb6/gdb/arm-tdep.h				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/armbsd-tdep.c				1.1.2.1
	gnu/dist/gdb6/gdb/armnbsd-nat.c				1.1.1.2.6.2
	gnu/dist/gdb6/gdb/armnbsd-tdep.c			1.1.1.2.6.1
	gnu/dist/gdb6/gdb/configure				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/configure.ac				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/i386bsd-nat.c				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/i386nbsd-tdep.c			1.1.1.2.6.1
	gnu/dist/gdb6/gdb/m68kbsd-nat.c				1.1.1.2.6.2
	gnu/dist/gdb6/gdb/mipsnbsd-nat.c			1.1.1.2.6.2
	gnu/dist/gdb6/gdb/nbsd-thread.c				1.1.2.3
	gnu/dist/gdb6/gdb/ppcnbsd-nat.c				1.1.1.2.6.2
	gnu/dist/gdb6/gdb/ppcnbsd-tdep.c			1.3.6.1
	gnu/dist/gdb6/gdb/sh-tdep.c				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/shnbsd-nat.c				1.1.1.2.6.3
	gnu/dist/gdb6/gdb/shnbsd-tdep.c				1.1.1.2.6.4
	gnu/dist/gdb6/gdb/shnbsd-tdep.h				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/sparc-nat.c				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/sparc64nbsd-nat.c			1.1.1.2.6.2
	gnu/dist/gdb6/gdb/sparcnbsd-nat.c			1.1.1.2.6.2
	gnu/dist/gdb6/gdb/tramp-frame.h				1.1.1.2.6.1
	gnu/dist/gdb6/gdb/vaxbsd-nat.c				1.1.1.2.6.2
	gnu/dist/gdb6/gdb/config/alpha/nbsd.mh			1.1.1.2.6.1
	gnu/dist/gdb6/gdb/config/arm/nbsd.mt			1.1.1.1.6.1
	gnu/dist/gdb6/gdb/config/arm/nbsdelf.mh			1.1.1.1.6.1
	gnu/dist/gdb6/gdb/config/i386/nbsd64.mh			1.1.1.1.6.1
	gnu/dist/gdb6/gdb/config/m68k/nbsdelf.mh		1.1.1.1.6.1
	gnu/dist/gdb6/gdb/config/mips/nbsd.mh			1.1.1.1.6.1
	gnu/dist/gdb6/gdb/config/powerpc/nbsd.mh		1.1.1.2.6.1
	gnu/dist/gdb6/gdb/config/sh/nbsd.mh			1.1.1.1.6.2
	gnu/dist/gdb6/gdb/config/sh/tm-nbsd.h			1.1.1.1.6.1
	gnu/dist/gdb6/gdb/config/sparc/nbsd64.mh		1.1.1.1.6.1
	gnu/dist/gdb6/gdb/config/sparc/nbsdelf.mh		1.1.1.1.6.1
	gnu/dist/gdb6/gdb/config/vax/nbsdelf.mh			1.1.1.1.6.1
	gnu/dist/gdb6/opcodes/configure				1.1.1.2.6.1
	gnu/dist/gdb6/opcodes/configure.in			1.1.1.2.6.1
	gnu/usr.bin/Makefile					1.126.4.1
	gnu/usr.bin/gdb6/arch/alpha/config.h			1.3.4.1
	gnu/usr.bin/gdb6/arch/alpha/defs.mk			1.2.6.1
	gnu/usr.bin/gdb6/arch/alpha/init.c			1.2.6.1
	gnu/usr.bin/gdb6/arch/alpha/nm.h			1.2.6.1
	gnu/usr.bin/gdb6/arch/arm/defs.mk			1.2.6.2
	gnu/usr.bin/gdb6/arch/arm/init.c			1.1.6.1
	gnu/usr.bin/gdb6/arch/armeb/config.h			1.1.6.2
	gnu/usr.bin/gdb6/arch/armeb/defs.mk			1.1.6.3
	gnu/usr.bin/gdb6/arch/armeb/init.c			1.1.6.2
	gnu/usr.bin/gdb6/arch/armeb/tm.h			1.1.6.2
	gnu/usr.bin/gdb6/arch/armeb/version.c			1.1.6.2
	gnu/usr.bin/gdb6/arch/i386/defs.mk			1.4.4.1
	gnu/usr.bin/gdb6/arch/i386/init.c			1.3.6.1
	gnu/usr.bin/gdb6/arch/m68000/config.h			1.1.6.2
	gnu/usr.bin/gdb6/arch/m68000/defs.mk			1.1.6.2
	gnu/usr.bin/gdb6/arch/m68000/init.c			1.1.6.2
	gnu/usr.bin/gdb6/arch/m68000/tm.h			1.1.6.2
	gnu/usr.bin/gdb6/arch/m68000/version.c			1.1.6.2
	gnu/usr.bin/gdb6/arch/m68k/defs.mk			1.1.4.1
	gnu/usr.bin/gdb6/arch/m68k/init.c			1.1.4.1
	gnu/usr.bin/gdb6/arch/mipseb/config.h			1.3.4.1
	gnu/usr.bin/gdb6/arch/mipseb/defs.mk			1.2.6.2
	gnu/usr.bin/gdb6/arch/mipseb/init.c			1.2.6.2
	gnu/usr.bin/gdb6/arch/mipsel/config.h			1.2.6.3
	gnu/usr.bin/gdb6/arch/mipsel/defs.mk			1.2.6.3
	gnu/usr.bin/gdb6/arch/mipsel/init.c			1.2.6.3
	gnu/usr.bin/gdb6/arch/mipsel/tm.h			1.2.6.2
	gnu/usr.bin/gdb6/arch/mipsel/version.c			1.2.6.2
	gnu/usr.bin/gdb6/arch/powerpc/defs.mk			1.3.6.1
	gnu/usr.bin/gdb6/arch/powerpc/init.c			1.3.6.1
	gnu/usr.bin/gdb6/arch/sh3eb/config.h			1.2.2.2
	gnu/usr.bin/gdb6/arch/sh3eb/defs.mk			1.2.8.3
	gnu/usr.bin/gdb6/arch/sh3eb/init.c			1.1.8.3
	gnu/usr.bin/gdb6/arch/sh3eb/nm.h			1.1.8.2
	gnu/usr.bin/gdb6/arch/sh3eb/tm.h			1.1.8.2
	gnu/usr.bin/gdb6/arch/sh3eb/version.c			1.1.8.2
	gnu/usr.bin/gdb6/arch/sh3el/config.h			1.2.2.2
	gnu/usr.bin/gdb6/arch/sh3el/defs.mk			1.2.8.3
	gnu/usr.bin/gdb6/arch/sh3el/init.c			1.1.8.3
	gnu/usr.bin/gdb6/arch/sh3el/nm.h			1.1.8.2
	gnu/usr.bin/gdb6/arch/sh3el/tm.h			1.1.8.2
	gnu/usr.bin/gdb6/arch/sh3el/version.c			1.1.8.2
	gnu/usr.bin/gdb6/arch/sparc/defs.mk			1.2.6.1
	gnu/usr.bin/gdb6/arch/sparc/init.c			1.1.6.1
	gnu/usr.bin/gdb6/arch/sparc64/defs.mk			1.2.6.1
	gnu/usr.bin/gdb6/arch/sparc64/init.c			1.1.6.1
	gnu/usr.bin/gdb6/arch/vax/config.h			1.1.6.2
	gnu/usr.bin/gdb6/arch/vax/defs.mk			1.1.6.2
	gnu/usr.bin/gdb6/arch/vax/init.c			1.1.6.2
	gnu/usr.bin/gdb6/arch/vax/tm.h				1.1.6.2
	gnu/usr.bin/gdb6/arch/vax/version.c			1.1.6.2
	gnu/usr.bin/gdb6/arch/x86_64/defs.mk			1.2.6.1
	gnu/usr.bin/gdb6/arch/x86_64/init.c			1.1.6.1
	gnu/usr.bin/gdb6/bfd/arch/armeb/bfd.h			1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/armeb/bfdver.h		1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/armeb/config.h		1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/armeb/defs.mk			1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/m68000/bfd.h			1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/m68000/bfdver.h		1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/m68000/config.h		1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/m68000/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/mipsel/bfd.h			1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/mipsel/bfdver.h		1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/mipsel/config.h		1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/mipsel/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/sh3eb/bfd.h			1.1.8.3
	gnu/usr.bin/gdb6/bfd/arch/sh3eb/bfdver.h		1.1.8.2
	gnu/usr.bin/gdb6/bfd/arch/sh3eb/config.h		1.1.8.2
	gnu/usr.bin/gdb6/bfd/arch/sh3eb/defs.mk			1.1.8.3
	gnu/usr.bin/gdb6/bfd/arch/sh3el/bfd.h			1.1.8.3
	gnu/usr.bin/gdb6/bfd/arch/sh3el/bfdver.h		1.1.8.2
	gnu/usr.bin/gdb6/bfd/arch/sh3el/config.h		1.1.8.2
	gnu/usr.bin/gdb6/bfd/arch/sh3el/defs.mk			1.1.8.3
	gnu/usr.bin/gdb6/bfd/arch/vax/bfd.h			1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/vax/bfdver.h			1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/vax/config.h			1.1.6.2
	gnu/usr.bin/gdb6/bfd/arch/vax/defs.mk			1.1.6.2
	gnu/usr.bin/gdb6/gdb/Makefile				1.5.2.1.2.2
	gnu/usr.bin/gdb6/gdbtui/Makefile			1.2.6.1
	gnu/usr.bin/gdb6/libiberty/arch/armeb/config.h		1.1.6.2
	gnu/usr.bin/gdb6/libiberty/arch/armeb/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/libiberty/arch/m68000/config.h		1.1.6.2
	gnu/usr.bin/gdb6/libiberty/arch/m68000/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/libiberty/arch/mipsel/config.h		1.1.6.2
	gnu/usr.bin/gdb6/libiberty/arch/mipsel/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/libiberty/arch/sh3eb/config.h		1.1.8.2
	gnu/usr.bin/gdb6/libiberty/arch/sh3eb/defs.mk		1.1.8.2
	gnu/usr.bin/gdb6/libiberty/arch/sh3el/config.h		1.1.8.2
	gnu/usr.bin/gdb6/libiberty/arch/sh3el/defs.mk		1.1.8.2
	gnu/usr.bin/gdb6/libiberty/arch/vax/config.h		1.1.6.2
	gnu/usr.bin/gdb6/libiberty/arch/vax/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/opcodes/arch/armeb/config.h		1.1.6.2
	gnu/usr.bin/gdb6/opcodes/arch/armeb/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/opcodes/arch/m68000/config.h		1.1.6.2
	gnu/usr.bin/gdb6/opcodes/arch/m68000/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/opcodes/arch/mipsel/config.h		1.1.6.2
	gnu/usr.bin/gdb6/opcodes/arch/mipsel/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/opcodes/arch/sh3eb/config.h		1.1.8.2
	gnu/usr.bin/gdb6/opcodes/arch/sh3eb/defs.mk		1.1.8.3
	gnu/usr.bin/gdb6/opcodes/arch/sh3el/config.h		1.1.8.2
	gnu/usr.bin/gdb6/opcodes/arch/sh3el/defs.mk		1.1.8.3
	gnu/usr.bin/gdb6/opcodes/arch/vax/config.h		1.1.6.2
	gnu/usr.bin/gdb6/opcodes/arch/vax/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/readline/arch/armeb/config.h		1.1.6.2
	gnu/usr.bin/gdb6/readline/arch/armeb/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/readline/arch/m68000/config.h		1.1.6.2
	gnu/usr.bin/gdb6/readline/arch/m68000/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/readline/arch/mipsel/config.h		1.1.6.2
	gnu/usr.bin/gdb6/readline/arch/mipsel/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/readline/arch/sh3eb/config.h		1.1.8.2
	gnu/usr.bin/gdb6/readline/arch/sh3eb/defs.mk		1.1.8.2
	gnu/usr.bin/gdb6/readline/arch/sh3el/config.h		1.1.8.2
	gnu/usr.bin/gdb6/readline/arch/sh3el/defs.mk		1.1.8.2
	gnu/usr.bin/gdb6/readline/arch/vax/config.h		1.1.6.2
	gnu/usr.bin/gdb6/readline/arch/vax/defs.mk		1.1.6.2
	gnu/usr.bin/gdb6/sim/arch/mipseb/cconfig.h		1.1.2.1
	gnu/usr.bin/gdb6/sim/arch/mipseb/config.h		1.1.2.1
	gnu/usr.bin/gdb6/sim/arch/mipseb/defs.mk		1.1.2.1
	gnu/usr.bin/gdb6/sim/arch/mipsel/cconfig.h		1.1.2.1
	gnu/usr.bin/gdb6/sim/arch/mipsel/config.h		1.1.2.1
	gnu/usr.bin/gdb6/sim/arch/mipsel/defs.mk		1.1.2.1
	lib/libkvm/kvm_sparc64.c				1.10.18.2
	lib/libpthread/pthread.c				1.48.6.4
	lib/libpthread/pthread_barrier.c			1.6.18.1
	lib/libpthread/pthread_cond.c				1.18.12.2
	lib/libpthread/pthread_debug.h				1.8.18.1
	lib/libpthread/pthread_int.h				1.34.4.5
	lib/libpthread/pthread_lock.c				1.14.6.1
	lib/libpthread/pthread_mutex.c				1.22.4.2
	lib/libpthread/pthread_run.c				1.18.12.4
	lib/libpthread/pthread_rwlock.c				1.13.6.2
	lib/libpthread/pthread_sa.c				1.37.6.5
	lib/libpthread/pthread_sig.c				1.47.4.8
	lib/libpthread/pthread_sleep.c				1.7.6.2
	lib/libpthread/sem.c					1.9.6.2
	lib/libpthread/arch/sh3/pthread_md.h			1.3.6.1
	regress/lib/libpthread/resolv/Makefile			1.1.12.1
	regress/lib/libpthread/sigrunning/Makefile		1.1.2.1
	regress/lib/libpthread/sigrunning/sigrunning.c		1.1.2.1
	share/mk/bsd.own.mk					1.489.4.3
	sys/arch/amd64/amd64/locore.S				1.18.14.1
	sys/arch/amd64/amd64/machdep.c				1.44.2.3.2.1
	sys/arch/amd64/conf/kern.ldscript			1.1.70.1
	sys/arch/cats/conf/Makefile.cats.inc			1.17.30.1
	sys/arch/shark/conf/Makefile.shark.inc			1.6.30.1
	sys/arch/sparc64/conf/kern.ldscript			1.7.26.2
	sys/arch/sparc64/conf/kern32.ldscript			1.6.26.2
	sys/arch/sparc64/include/kcore.h			1.4.92.2
	sys/arch/sparc64/sparc64/locore.s			1.232.4.4
	sys/arch/sparc64/sparc64/machdep.c			1.193.4.3
	sys/arch/sparc64/sparc64/pmap.c				1.184.2.1.2.4
	sys/conf/newvers.sh					1.42.26.2
	sys/kern/kern_sa.c					1.87.4.11
	sys/kern/kern_synch.c					1.173.4.2
	sys/sys/savar.h						1.20.10.2
	tools/gdb/Makefile					1.9.4.1
	tools/gdb/mknative-gdb					1.1.6.1

pullup the wrstuden-fixsa CVS branch to netbsd-4:
toolchain/35540 - GDB 6 support for pthreads.
port-sparc64/37534 - ktrace firefox gives
    kernel trap 30: data access expection
GDB changes:
- delete gdb53
- enable gdb6 on all architectures
- add support for amd64 crash dumps
- add support for sparc64 crash dumps
- add support for /proc pid to executable filename for all archs
- enable thread support for all architectures
- add a note section to kernels to all platforms
- support detection/unwinding of signals for most architectures.
- Fix PTHREAD_UCONTEXT_TO_REG / PTHREAD_REG_TO_UCONTEXT on sh3.
- Apply fix from binutils-current so that sparc gdb can be cross built
  on a 64bit host.
SA/pthread changes:
Pre-allocate memory needed for event delivery. Eliminates dropped
interrupts under load.
Deliver intra-process signals to running threads
Eliminate some deadlock scenarios
Fix intra-process signal delivery when delivering to a thread waiting
for signals. Makes afs work again!

Revision 1.224.2.2 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:30 2008 UTC (15 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.224.2.1: +4 -4 lines
Diff to previous 1.224.2.1 (colored) to branchpoint 1.224 (colored) next main 1.225 (colored)

Sync with head.

Revision 1.226 / (download) - annotate - [select for diffs], Thu Jul 10 15:04:41 2008 UTC (15 years, 7 months ago) by nakayama
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.225: +4 -4 lines
Diff to previous 1.225 (colored)

Switch fpstate buffer allocation from malloc to pool_cache.

Ok by martin@.

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

Sync with head.

Revision 1.215.6.4 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:18 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.215.6.3: +0 -7 lines
Diff to previous 1.215.6.3 (colored) to branchpoint 1.215 (colored)

Sync with HEAD.

Revision 1.225 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:56 2008 UTC (15 years, 8 months ago) by ad
Branch: MAIN
Branch point for: haad-dm
Changes since 1.224: +2 -9 lines
Diff to previous 1.224 (colored)

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

Revision 1.221.2.5 / (download) - annotate - [select for diffs], Fri Jun 27 01:53:46 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.221.2.4: +3 -3 lines
Diff to previous 1.221.2.4 (colored) to branchpoint 1.221 (colored)

LP_SA_SWITCHING -> LW_SA_SWITCHING. Since we set the flag on threads
that may not be us, we need to use l_flag and lock, not l_pflag.

Revision 1.221.2.4 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:46 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.221.2.3: +11 -6 lines
Diff to previous 1.221.2.3 (colored) to branchpoint 1.221 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.221.2.3 / (download) - annotate - [select for diffs], Sun Jun 22 18:12:03 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.221.2.2: +42 -3 lines
Diff to previous 1.221.2.2 (colored) to branchpoint 1.221 (colored)

Re-add cpu_upcall() and page fault code. i386 kernels now compile.
They don't boot, but that seems to be a consequence of current from the
day this branch was started.

Revision 1.219.2.3 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:13 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.219.2.2: +5 -5 lines
Diff to previous 1.219.2.2 (colored) to branchpoint 1.219 (colored) next main 1.220 (colored)

sync with head.

Revision 1.215.6.3 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:34 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.215.6.2: +3 -3 lines
Diff to previous 1.215.6.2 (colored) to branchpoint 1.215 (colored)

Sync with HEAD.

Also fix build.

Revision 1.224 / (download) - annotate - [select for diffs], Wed Jun 4 12:41:41 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.223: +5 -5 lines
Diff to previous 1.223 (colored)

vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both.

Revision 1.219.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:57 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.219.2.1: +8 -3 lines
Diff to previous 1.219.2.1 (colored) to branchpoint 1.219 (colored)

sync with head

Revision 1.215.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:44 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.215.6.1: +12 -16 lines
Diff to previous 1.215.6.1 (colored) to branchpoint 1.215 (colored)

Sync with HEAD.

Revision 1.223 / (download) - annotate - [select for diffs], Tue May 20 11:44:14 2008 UTC (15 years, 9 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-pf42-base3, hpcarm-cleanup-nbase
Changes since 1.222: +7 -2 lines
Diff to previous 1.222 (colored)

Put "powered down" message in case of RB_POWERDOWN for consistency.
Useful for a serial console.

Revision 1.222 / (download) - annotate - [select for diffs], Sun May 18 22:40:14 2008 UTC (15 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.221: +3 -3 lines
Diff to previous 1.221 (colored)

Explicitly pass a "mpsafe" arg down to intr_establish, as at that point
we do not have the original ipl passed in around to check for mpsafeness.
Fixes PR port-sparc64/38673. Thanks to Andrew for pointing at the problem.

Revision 1.219.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:51 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.219: +8 -15 lines
Diff to previous 1.219 (colored)

sync with head.

Revision 1.220.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:16 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.220: +2 -9 lines
Diff to previous 1.220 (colored)

sync with head.

Revision 1.221.2.2 / (download) - annotate - [select for diffs], Wed May 14 19:54:11 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.221.2.1: +8 -8 lines
Diff to previous 1.221.2.1 (colored) to branchpoint 1.221 (colored)

Per discussion with ad at n dot o, revert signal mask handling
changes.

The l_sigstk changes are most likely totally un-needed as SA will
never use a signal stack - we send an upcall (or will as other
diffs are brought in).

The l_sigmask changes were too controvertial. In all honesty, I
think it's probably best to revert them. The main reason they were
there is the fact that in an SA process, we don't mask signals per
kernel thread, we mask them per user thread. In the kernel, we want
them all to get turned into upcalls. Thus the normal state of
l_sigmask in an SA process is for it to always be empty.

While we are in the process of delivering a signal, we want to
temporarily mask a signal (so we don't recursively exhaust our
upcall stacks). However signal delivery is rare (important, but
rare), and delivering back-to-back signals is even rarer. So rather
than cause every user of a signal mask to be prepared for this very
rare case, we will just add a second check later in the signal
delivery code. Said change is not in this diff.

This also un-compensates all of our compatability code for dealing
with SA. SA is a NetBSD-specific thing, so there's no need for
Irix, Linux, Solaris, SVR4 and so on to cope with it.

As previously, everything other than kern_sa.c compiles in i386
GENERIC as of this checkin. I will switch to ALL soon for compile
testing.

Revision 1.221.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:46 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.221: +10 -8 lines
Diff to previous 1.221 (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.221 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:37 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Changes since 1.220: +2 -9 lines
Diff to previous 1.220 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.220 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:21 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.219: +8 -8 lines
Diff to previous 1.219 (colored)

Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.

Revision 1.219 / (download) - annotate - [select for diffs], Wed Apr 9 15:21:02 2008 UTC (15 years, 10 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.218: +2 -4 lines
Diff to previous 1.218 (colored)

Remove kernel locks around malloc introduced when I added SMP support.

Revision 1.215.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:26 2008 UTC (15 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.215: +45 -25 lines
Diff to previous 1.215 (colored)

Sync with HEAD.

Revision 1.218 / (download) - annotate - [select for diffs], Thu Apr 3 10:34:46 2008 UTC (15 years, 11 months ago) by nakayama
Branch: MAIN
Changes since 1.217: +22 -4 lines
Diff to previous 1.217 (colored)

Revise cpu_need_resched and cpu_signotify, then make them like x86's ones.
This can avoid sending IPI to myself.

Revision 1.215.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:05 2008 UTC (15 years, 11 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.215: +25 -23 lines
Diff to previous 1.215 (colored) next main 1.216 (colored)

sync with head.

Revision 1.200.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:23 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.200.10.2: +49 -27 lines
Diff to previous 1.200.10.2 (colored) to branchpoint 1.200 (colored) next main 1.201 (colored)

sync with HEAD

Revision 1.181.2.8 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:28 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.181.2.7: +25 -23 lines
Diff to previous 1.181.2.7 (colored) to branchpoint 1.181 (colored) next main 1.182 (colored)

sync with head.

Revision 1.217 / (download) - annotate - [select for diffs], Fri Mar 14 15:39:18 2008 UTC (15 years, 11 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.216: +25 -23 lines
Diff to previous 1.216 (colored)

Improve FPU state save/clear like x86, idea from OpenBSD.

Revision 1.181.2.7 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:25 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.181.2.6: +3 -3 lines
Diff to previous 1.181.2.6 (colored) to branchpoint 1.181 (colored)

sync with head.

Revision 1.216 / (download) - annotate - [select for diffs], Fri Feb 22 10:55:00 2008 UTC (16 years ago) by martin
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.215: +3 -3 lines
Diff to previous 1.215 (colored)

Get rid of the IPI simple_lock.

Revision 1.209.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:07 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.209: +26 -5 lines
Diff to previous 1.209 (colored) next main 1.210 (colored)

Sync with HEAD.

Revision 1.181.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:39:34 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.181.2.5: +34 -5 lines
Diff to previous 1.181.2.5 (colored) to branchpoint 1.181 (colored)

sync with head

Revision 1.211.2.1 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:46 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.211: +26 -6 lines
Diff to previous 1.211 (colored) next main 1.212 (colored)

Sync with HEAD

Revision 1.215 / (download) - annotate - [select for diffs], Wed Jan 16 08:00:29 2008 UTC (16 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.214: +5 -5 lines
Diff to previous 1.214 (colored)

Zero dumppcb before doing a snapshot directly into dumppcb.

OK'd by martin.

Revision 1.193.4.3 / (download) - annotate - [select for diffs], Tue Jan 15 18:11:44 2008 UTC (16 years, 1 month ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.193.4.2: +6 -4 lines
Diff to previous 1.193.4.2 (colored) to branchpoint 1.193 (colored) next main 1.194 (colored)

Create a dumppcb in dumpsys for gdb.

Revision 1.214 / (download) - annotate - [select for diffs], Mon Jan 14 00:43:54 2008 UTC (16 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.213: +23 -3 lines
Diff to previous 1.213 (colored)

implement bus_dmamem_mmap() for sparc64.  this is copied from the x86
code and then a single line adjusted to make it look identical to the
openbsd sparc64 version, who provided inspiration for this.

NOTE: not really tested yet with a real device, but, it can't really
be worse than panic() in a device mmap()...

Revision 1.200.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:08 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.200.10.1: +11 -2 lines
Diff to previous 1.200.10.1 (colored) to branchpoint 1.200 (colored)

sync with HEAD

Revision 1.213 / (download) - annotate - [select for diffs], Sun Jan 6 18:35:24 2008 UTC (16 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.212: +2 -0 lines
Diff to previous 1.212 (colored)

argh, I did not intend to remove all declarations of physmem.

Revision 1.212 / (download) - annotate - [select for diffs], Sun Jan 6 18:24:06 2008 UTC (16 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.211: +2 -4 lines
Diff to previous 1.211 (colored)

Remove superflouse extern decls.

Revision 1.209.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:49 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.209: +11 -2 lines
Diff to previous 1.209 (colored) next main 1.210 (colored)

Sync with head.

Revision 1.209.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:20:47 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-kmem
Changes since 1.209: +11 -2 lines
Diff to previous 1.209 (colored) next main 1.210 (colored)

sync with head.

Revision 1.211 / (download) - annotate - [select for diffs], Sun Dec 9 22:04:32 2007 UTC (16 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf, bouyer-xeni386-merge1
Branch point for: bouyer-xeni386
Changes since 1.210: +4 -2 lines
Diff to previous 1.210 (colored)

Add support for "dumppcb" - Nick says it makes ddb a lot more happy.

Revision 1.210 / (download) - annotate - [select for diffs], Sun Dec 9 20:12:54 2007 UTC (16 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.209: +9 -2 lines
Diff to previous 1.209 (colored)

Provide cpu_intr_p(), at least for non-MULTIPROCESSOR kernels.
Based on suggestions by Andrew Doran.

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

sync with HEAD

Revision 1.193.4.2 / (download) - annotate - [select for diffs], Mon Oct 29 00:45:10 2007 UTC (16 years, 4 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.193.4.1: +3 -3 lines
Diff to previous 1.193.4.1 (colored) to branchpoint 1.193 (colored)

Catch up with 4.0 RC3

Revision 1.181.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:42 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.181.2.4: +23 -32 lines
Diff to previous 1.181.2.4 (colored) to branchpoint 1.181 (colored)

sync with head.

Revision 1.200.8.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:43:38 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.200.8.1: +11 -10 lines
Diff to previous 1.200.8.1 (colored) to branchpoint 1.200 (colored) next main 1.201 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.209 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:31 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2, mjf-devfs
Changes since 1.208: +2 -2 lines
Diff to previous 1.208 (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.197.10.3 / (download) - annotate - [select for diffs], Tue Oct 16 18:23:52 2007 UTC (16 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.197.10.2: +11 -10 lines
Diff to previous 1.197.10.2 (colored) to branchpoint 1.197 (colored) next main 1.198 (colored)

Sync with HEAD

Revision 1.202.2.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:47:46 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.202.2.1: +11 -10 lines
Diff to previous 1.202.2.1 (colored) to branchpoint 1.202 (colored) next main 1.203 (colored)

sync with head.

Revision 1.197.2.4 / (download) - annotate - [select for diffs], Fri Oct 12 17:03:03 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.197.2.3: +11 -10 lines
Diff to previous 1.197.2.3 (colored) to branchpoint 1.197 (colored) next main 1.198 (colored)

Sync with head.

Revision 1.208 / (download) - annotate - [select for diffs], Tue Oct 9 23:35:18 2007 UTC (16 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.207: +11 -10 lines
Diff to previous 1.207 (colored)

Waste a bit of kernel VA space (who cares?) and speed up crash dumps
significantly by writing larger chunks with one (polled) command.
Based on work and testing done by Chris Ross.

Revision 1.197.2.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:35 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.197.2.2: +18 -28 lines
Diff to previous 1.197.2.2 (colored) to branchpoint 1.197 (colored)

Sync with head.

Revision 1.202.2.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:34:30 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.202: +16 -23 lines
Diff to previous 1.202 (colored)

sync with head.

Revision 1.193.2.2 / (download) - annotate - [select for diffs], Thu Oct 4 20:32:15 2007 UTC (16 years, 5 months ago) by pavel
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.193.2.1: +3 -3 lines
Diff to previous 1.193.2.1 (colored) to branchpoint 1.193 (colored)

Pull up following revision (requested by martin in ticket #913):
	sys/arch/sparc64/sparc64/machdep.c: revision 1.206 (via patch)
Fix printf format.

Revision 1.197.10.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:27 2007 UTC (16 years, 5 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.197.10.1: +21 -31 lines
Diff to previous 1.197.10.1 (colored) to branchpoint 1.197 (colored)

Sync with HEAD

Revision 1.200.8.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:45 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.200: +18 -28 lines
Diff to previous 1.200 (colored)

Sync with HEAD.

Revision 1.193.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 16:51:51 2007 UTC (16 years, 5 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.193: +9 -6 lines
Diff to previous 1.193 (colored)

Catch up with netbsd-4-9-RC2

Revision 1.207 / (download) - annotate - [select for diffs], Mon Oct 1 09:15:46 2007 UTC (16 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.206: +3 -3 lines
Diff to previous 1.206 (colored)

No need to cast the size argument of the dump function to "int" - make
it size_t instead. Pointed out by Chris Ross.

Revision 1.206 / (download) - annotate - [select for diffs], Mon Oct 1 09:13:51 2007 UTC (16 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.205: +3 -3 lines
Diff to previous 1.205 (colored)

Fix printf format.

Revision 1.205 / (download) - annotate - [select for diffs], Sun Sep 30 23:24:56 2007 UTC (16 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.204: +3 -3 lines
Diff to previous 1.204 (colored)

Fix printf format string for 32bit builds - pointed out by Kurt S.
on current-users.

Revision 1.193.2.1 / (download) - annotate - [select for diffs], Sun Sep 30 19:47:27 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: netbsd-4
CVS Tags: netbsd-4-0-RC2
Changes since 1.193: +9 -6 lines
Diff to previous 1.193 (colored)

Pull up following revision(s) (requested by martin in ticket #911):
	sys/arch/sparc64/sparc64/machdep.c: revision 1.203 (via patch)

When calculating memory sizes and related values for kernel dumps,
consistently use uint64_t. Fixes crash dumps on machines with > 2GB
memory. Found by Chris Ross.
While there, remove a #if 0'd part of code that prevented the first
physical memory page to be dumped - I'll solve that differently.

Revision 1.204 / (download) - annotate - [select for diffs], Sun Sep 30 13:56:02 2007 UTC (16 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.203: +13 -11 lines
Diff to previous 1.203 (colored)

Cosmetics - improve the countdown while doing a crashdump.
XXX - need to add an ascii version of the game of life here someday.

Revision 1.203 / (download) - annotate - [select for diffs], Sun Sep 30 12:06:14 2007 UTC (16 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.202: +4 -13 lines
Diff to previous 1.202 (colored)

When calculating memory sizes and related values for kernel dumps,
consistently use uint64_t. Fixes crash dumps on machines with > 2GB
memory. Found by Chris Ross.
While there, remove a #if 0'd part of code that prevented the first
physical memory page to be dumped - I'll solve that differently.

Revision 1.202 / (download) - annotate - [select for diffs], Tue Sep 11 16:00:06 2007 UTC (16 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base
Branch point for: yamt-x86pmap
Changes since 1.201: +4 -4 lines
Diff to previous 1.201 (colored)

Cleanup cpu_info: get rid of ci_number and ci_upaid, use ci_index
and ci_cpuid instead.

Revision 1.200.4.1 / (download) - annotate - [select for diffs], Mon Sep 10 10:54:40 2007 UTC (16 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.200: +2 -5 lines
Diff to previous 1.200 (colored) next main 1.201 (colored)

Sync with HEAD.

Revision 1.201 / (download) - annotate - [select for diffs], Thu Sep 6 20:22:52 2007 UTC (16 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: nick-csl-alignment-base5
Changes since 1.200: +2 -5 lines
Diff to previous 1.200 (colored)

Remove the (now unused) second 64k page mapped per CPU.
From matthew green, with small changes by me. All bugs are mine.

Revision 1.181.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:23 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.181.2.3: +34 -19 lines
Diff to previous 1.181.2.3 (colored) to branchpoint 1.181 (colored)

sync with head.

Revision 1.197.2.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:17:05 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.197.2.1: +5 -5 lines
Diff to previous 1.197.2.1 (colored) to branchpoint 1.197 (colored)

Sync with head.

Revision 1.197.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:02:41 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.197: +23 -8 lines
Diff to previous 1.197 (colored) next main 1.198 (colored)

Sync with head.

Revision 1.200 / (download) - annotate - [select for diffs], Mon Jul 9 20:52:32 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.199: +4 -4 lines
Diff to previous 1.199 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.199 / (download) - annotate - [select for diffs], Sun Jul 8 10:19:23 2007 UTC (16 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.198: +3 -3 lines
Diff to previous 1.198 (colored)

Initialize the link context in a signal frame to the receiving lwp's
link context instead of NULL.  Otherwise, if we got a signal while the
lwp had a link context set, the link context would be set to NULL upon
return from signal delivery.

christos@tech-kern: "I think you are right."

Revision 1.197.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:28:27 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.197: +20 -5 lines
Diff to previous 1.197 (colored)

Sync with head.

Revision 1.197.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:35 2007 UTC (16 years, 9 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.197: +20 -5 lines
Diff to previous 1.197 (colored)

Update to HEAD.

Revision 1.198 / (download) - annotate - [select for diffs], Thu May 17 14:51:32 2007 UTC (16 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.197: +20 -5 lines
Diff to previous 1.197 (colored)

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

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

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

Revision 1.194.2.3 / (download) - annotate - [select for diffs], Sat Apr 28 03:57:15 2007 UTC (16 years, 10 months ago) by mrg
Branch: yamt-idlelwp
Changes since 1.194.2.2: +20 -5 lines
Diff to previous 1.194.2.2 (colored) to branchpoint 1.194 (colored) next main 1.195 (colored)

port yamt-idlelwp to sparc64.  this does not work yet, but others
have asked that i commit this work-in-progress.

currently it gets a double fault during a window save operation
and crashes to the prom.  (it seems very much like the problem
that i see on SMP sparc64, but there is no real evidence it is
the same root cause.)

Revision 1.194.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:50:49 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.194.2.1: +13 -13 lines
Diff to previous 1.194.2.1 (colored) to branchpoint 1.194 (colored)

Sync with HEAD.

Revision 1.197 / (download) - annotate - [select for diffs], Sun Mar 4 07:54:07 2007 UTC (17 years ago) by christos
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.196: +4 -4 lines
Diff to previous 1.196 (colored)

fix fallout from caddr_t changes.

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

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

Revision 1.194.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:15 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.194: +3 -3 lines
Diff to previous 1.194 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.181.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:27 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.181.2.2: +27 -57 lines
Diff to previous 1.181.2.2 (colored) to branchpoint 1.181 (colored)

sync with head.

Revision 1.195 / (download) - annotate - [select for diffs], Sat Feb 17 22:31:38 2007 UTC (17 years ago) by pavel
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.194: +3 -3 lines
Diff to previous 1.194 (colored)

Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

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

Reviewed by Andrew Doran.

Revision 1.194 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:13 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.193: +26 -56 lines
Diff to previous 1.193 (colored)

Merge newlock2 to head.

Revision 1.189.2.4 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:38 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.189.2.3: +9 -50 lines
Diff to previous 1.189.2.3 (colored) to branchpoint 1.189 (colored) next main 1.190 (colored)

Remove support for SA. Ok core@.

Revision 1.189.2.3 / (download) - annotate - [select for diffs], Fri Jan 12 01:01:00 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.189.2.2: +3 -3 lines
Diff to previous 1.189.2.2 (colored) to branchpoint 1.189 (colored)

Sync with head.

Revision 1.189.2.2 / (download) - annotate - [select for diffs], Thu Jan 11 22:22:58 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.189.2.1: +26 -15 lines
Diff to previous 1.189.2.1 (colored) to branchpoint 1.189 (colored)

Checkpoint work in progress.

Revision 1.181.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:05 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.181.2.1: +13 -16 lines
Diff to previous 1.181.2.1 (colored) to branchpoint 1.181 (colored)

sync with head.

Revision 1.190.2.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:38 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.190.2.1: +4 -4 lines
Diff to previous 1.190.2.1 (colored) to branchpoint 1.190 (colored) next main 1.191 (colored)

sync with head.

Revision 1.193 / (download) - annotate - [select for diffs], Fri Nov 24 19:46:59 2006 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RC1
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.192: +3 -3 lines
Diff to previous 1.192 (colored)

fix spelling of accommodate; from Zapher.

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

Sync with head.

Revision 1.192 / (download) - annotate - [select for diffs], Sun Oct 22 13:59:14 2006 UTC (17 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.191: +3 -3 lines
Diff to previous 1.191 (colored)

constify in cpu_setmcontext()

Revision 1.190.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:12 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.190: +4 -4 lines
Diff to previous 1.190 (colored)

sync with head

Revision 1.191 / (download) - annotate - [select for diffs], Thu Oct 5 14:48:32 2006 UTC (17 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.190: +4 -4 lines
Diff to previous 1.190 (colored)

add support for O_DIRECT (I/O directly to application memory,
bypassing any kernel caching for file data).

Revision 1.186.2.3 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:18 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.186.2.2: +6 -9 lines
Diff to previous 1.186.2.2 (colored) to branchpoint 1.186 (colored) next main 1.187 (colored)

sync with head.

Revision 1.190 / (download) - annotate - [select for diffs], Wed Sep 13 11:35:53 2006 UTC (17 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.189: +3 -3 lines
Diff to previous 1.189 (colored)

SMP cleanup.  provide support for multiple CPUs in DDB.  (SMP itself
is still not working.)

cpu.h:
- add a pointer for DDB regs in SMP environment to struct cpu_info
- remove the #defines for mp_pause_cpus() and mp_resume_cpus()
cpuset.h:
- remove CPUSET_ALL() and rename CPUSET_ALL_BUT() to CPUSET_EXCEPT()
  from petrov.
db_machdep.h:
- rename the members of db_regs_t to be the same as sparc
- change "db_regs_t ddb_regs" to "db_regs_t *ddb_regp" and change
  all references to suit
- redo DDB_REGS to no longer be a pointer to a fixed data structure
  but to one allocated per-cpu when ddb is entered
- move a bunch of prototypes in here
intr.h:
- remove SPARC64_IPI_* macros, no longer used
db_interface.c:
- change "db_regs_t ddb_regs" to "db_regs_t *ddb_regp" and change
  all references to suit
- make "nil" a 64 bit entity
- change the ddb register access methods to work in multiprocessor
  environment, it is now very much like sparc does it
- in kdb_trap() avoid accessing ddb_regp when it is NULL
- update several messages to include the cpu number
- unpause other cpus much later when resuming from ddb
- rename db_lock() to db_lock_cmd(), as the sparc-like code has
  db_lock as a simple lock
- remove "mach cpus" command, and replace it with "mach cpu" (which
  does the same) and also implement "mach cpu N" to switch to
  another cpus saved trapframe
db_trace.c:
- update for the ddb_regs -> ddb_regp change
genassym.cf:
- add TF_KSTACK as offsetof(struct trapframe64, tf_kstack)
ipifuncs.c:
- overhaul extensively
- remove all normal interrupt handlers as IPI's, we now handle
  them all specially in locore.s:interrupt_vector
- add a simplelock around all ipi functions - it's not safe for
  multiple cpus to be sending IPI's to each other right now
- rename sparc64_ipi_pause() to sparc64_ipi_pause_thiscpu() and,
  if DDB is configured, enable it to save the passed-in trapframe
  to a db_regs_t for this cpu's saved DDB registers.
- remove the "ipimask" system (SPARC64_IPI_* macros) and instead
  pass functions directly
- in sparc64_send_ipi() always set the interrupt arguments to 0,
  the address and argument of the to be called function.  (the
  argument right now is the address of ipi_tlb_args variable, and
  part of the reason why only one CPU can send IPI's at a time.)
  don't wait forever for an IPI to complete.  some of this is
  from petrov.
- rename sparc64_ipi_{halt,pause,resume}_cpus() to
  mp_{halt,pause,resume}_cpus()
- new function mp_cpu_is_paused() used to avoid access missing
  saved DDB registers
- actually broadcast the flush in smp_tlb_flush_pte(),
  smp_tlb_flush_ctx() and smp_tlb_flush_all().  the other end may
  not do anything yet in the pte/ctx cases yet...
kgdb_machdep.c:
- rework for changed member names in db_regs_t.
locore.s:
- shave an instruction from syscall_setup() (set + ld -> sethi + ld)
- remove some old dead debug code
- add new sparc64_ipi_halt IPI entry point, it just calls the C
  vector to shutdown.
- add new sparc64_ipi_pause IPI entry point, which just traps into
  the debugger using the normal breakpoint trap.  these cpus usually
  lose the race in db_interface.c:db_suspend_others() and end up
  calling the C vector sparc64_ipi_pause_thiscpu().
- add #if 0'ed code to sparc64_ipi_flush_{pte,ctx}() IPI entry
  points to call the sp_ version of these functions.
- in rft_kernel (return from trap, kernel), check to see if the
  %tpc is at the sparc64_ipi_pause_trap_point and if so, call
  "done" not "retry"
- rework cpu_switch slightly:  save the passed-in lwp instead of
  using the one in curlwp
- in cpu_loadproc(), save the new lwp not the old lwp, to curlwp
- in cpu_initialize(), set %tl to zero as well.  from petrov.
- in cpu_exit(), fix a load register confusion.  from petrov.
- change some "set" in delay branch to "mov".
machdep.c:
- deal with function renames
pmap.c:
- remove a spurious space
trap.c:
- remove unused "trapstats" variable
- add cpu number to a couple of messages

Revision 1.184.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:43:47 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.184: +91 -196 lines
Diff to previous 1.184 (colored) next main 1.185 (colored)

sync with head

Revision 1.189 / (download) - annotate - [select for diffs], Sun Sep 3 22:27:45 2006 UTC (17 years, 6 months ago) by gdamore
Branch: MAIN
CVS Tags: rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.188: +5 -8 lines
Diff to previous 1.188 (colored)

Convert both sparc and sparc64 to MI todr.

Revision 1.186.2.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:32 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.186.2.1: +5 -5 lines
Diff to previous 1.186.2.1 (colored) to branchpoint 1.186 (colored)

sync with head.

Revision 1.187.4.1 / (download) - annotate - [select for diffs], Sun Sep 3 00:13:40 2006 UTC (17 years, 6 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.187: +5 -5 lines
Diff to previous 1.187 (colored) next main 1.188 (colored)

Pull up following revision(s) (requested by mrg in ticket #109):
	sys/arch/sparc64/sparc64/machdep.c: revision 1.188
	sys/arch/sparc64/dev/iommu.c: revision 1.80
s/E2BIG/EFBIG/ for bus_dma(9) errors.  this is what every other
bus_dma does and several drivers depend on it.  in particular,
both re(4) and ath(4) would both spew "can't map mbuf" messages
as rapidly as possible (spamming the 9600 bps console) and
effectively locking up the interface until ifconfig "down up"
cycle was run.  with this fix, i get a much, much slower spew
of messages, and the interface (re(4)) continues to operate.

Revision 1.188 / (download) - annotate - [select for diffs], Fri Sep 1 09:21:18 2006 UTC (17 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8
Changes since 1.187: +5 -5 lines
Diff to previous 1.187 (colored)

s/E2BIG/EFBIG/ for bus_dma(9) errors.  this is what every other
bus_dma does and several drivers depend on it.  in particular,
both re(4) and ath(4) would both spew "can't map mbuf" messages
as rapidly as possible (spamming the 9600 bps console) and
effectively locking up the interface until ifconfig "down up"
cycle was run.  with this fix, i get a much, much slower spew
of messages, and the interface (re(4)) continues to operate.

Revision 1.186.2.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:45:29 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.186: +3 -2 lines
Diff to previous 1.186 (colored)

sync with head.

Revision 1.181.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:56:48 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.181: +92 -194 lines
Diff to previous 1.181 (colored)

sync with head.

Revision 1.186.8.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:45:14 2006 UTC (17 years, 8 months ago) by chap
Branch: chap-midi
Changes since 1.186: +3 -2 lines
Diff to previous 1.186 (colored) next main 1.187 (colored)

Sync with head.

Revision 1.187 / (download) - annotate - [select for diffs], Sat Jun 10 06:38:07 2006 UTC (17 years, 8 months ago) by rjs
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.186: +3 -2 lines
Diff to previous 1.186 (colored)

Add opt_multiprocessor.h.

Revision 1.184.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:02 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.184: +84 -187 lines
Diff to previous 1.184 (colored) next main 1.185 (colored)

Sync with head.

Revision 1.183.2.3 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:06 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.183.2.2: +35 -101 lines
Diff to previous 1.183.2.2 (colored) next main 1.184 (colored)

sync with head.

Revision 1.186 / (download) - annotate - [select for diffs], Mon Feb 20 19:00:27 2006 UTC (18 years ago) by cdi
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, chap-midi
Changes since 1.185: +35 -101 lines
Diff to previous 1.185 (colored)

Use ANSI-style function definitions and declarations.

Revision 1.183.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:50 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.183.2.1: +51 -88 lines
Diff to previous 1.183.2.1 (colored)

sync with head.

Revision 1.185 / (download) - annotate - [select for diffs], Sat Feb 11 17:57:32 2006 UTC (18 years ago) by cdi
Branch: MAIN
Changes since 1.184: +51 -88 lines
Diff to previous 1.184 (colored)

ANSIfication: u_intN_t -> uintN_t, use ANSI function declarations/definitions
instead of K&R ones.

Revision 1.183.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:37 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.183: +7 -7 lines
Diff to previous 1.183 (colored)

sync with head.

Revision 1.184 / (download) - annotate - [select for diffs], Fri Jan 27 18:37:49 2006 UTC (18 years, 1 month ago) by cdi
Branch: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.183: +7 -7 lines
Diff to previous 1.183 (colored)

Alter sparc64 bootstrap, catch up to ofwboot v1.9:

 - Accept bootinfo structure passed down from ofwboot v1.9
 - Drop kernel re-mapping code
 - Use permanent 4MB mappings provided by the loader instead
 - Change kernel entry address to point directly at the code instead of pointing
   at the trap table's first slot. This allows the bootloader to detect
   those kernels which are aware of the new boot scheme
 - Due to the changes in kernel mapping code, alter secondary CPU bootstrap
   code to use trampoline just like FreeBSD does (some FreeBSD code is used
   here as well)

Revision 1.183 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:15 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.182: +5 -5 lines
Diff to previous 1.182 (colored)

merge ktrace-lwp.

Revision 1.145.2.12 / (download) - annotate - [select for diffs], Thu Nov 10 13:59:33 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.145.2.11: +10 -9 lines
Diff to previous 1.145.2.11 (colored) next main 1.146 (colored)

Sync with HEAD. Here we go again...

Revision 1.181.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.181: +3 -3 lines
Diff to previous 1.181 (colored) next main 1.182 (colored)

sync with head.

Revision 1.182 / (download) - annotate - [select for diffs], Thu Oct 27 20:43:30 2005 UTC (18 years, 4 months ago) by martin
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.181: +3 -3 lines
Diff to previous 1.181 (colored)

Follow the lead of the sparc port:
 - move md_flags back to mdproc, because we only have per-proc flags
   currently
 - implement cpu_proc_fork() to init p_md.md_flags on fork

Revision 1.181 / (download) - annotate - [select for diffs], Tue May 31 00:53:02 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop, yamt-lazymbuf
Changes since 1.180: +8 -7 lines
Diff to previous 1.180 (colored)

- sprinkle const
- avoid shadowed variables

Revision 1.175.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:24 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.175: +26 -20 lines
Diff to previous 1.175 (colored) next main 1.176 (colored)

sync with -current

Revision 1.180 / (download) - annotate - [select for diffs], Mon Apr 25 15:02:07 2005 UTC (18 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.179: +3 -3 lines
Diff to previous 1.179 (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.145.2.11 / (download) - annotate - [select for diffs], Fri Apr 1 14:28:41 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.145.2.10: +13 -6 lines
Diff to previous 1.145.2.10 (colored)

Sync with HEAD.

Revision 1.165.4.1 / (download) - annotate - [select for diffs], Sun Mar 20 11:58:43 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-2
CVS Tags: 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
Changes since 1.165: +3 -3 lines
Diff to previous 1.165 (colored) next main 1.166 (colored)

Pull up revision 1.177 (requested by chs in ticket #1160):
define a new LWP flag which indicates that we're in the process of
doing a context switch.  use this on sparc and sparc64 to avoid trying
to access user memory (writing the register windows back to the stack)
in this case (since it's both unnecessary and wrong).

Revision 1.165.2.1 / (download) - annotate - [select for diffs], Sun Mar 20 11:58:39 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE
Changes since 1.165: +3 -3 lines
Diff to previous 1.165 (colored) next main 1.166 (colored)

Pull up revision 1.177 (requested by chs in ticket #1160):
define a new LWP flag which indicates that we're in the process of
doing a context switch.  use this on sparc and sparc64 to avoid trying
to access user memory (writing the register windows back to the stack)
in this case (since it's both unnecessary and wrong).

Revision 1.176.2.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:14 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.176.2.1: +13 -9 lines
Diff to previous 1.176.2.1 (colored) to branchpoint 1.176 (colored) next main 1.177 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.179 / (download) - annotate - [select for diffs], Wed Mar 9 19:04:45 2005 UTC (19 years ago) by matt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.178: +13 -6 lines
Diff to previous 1.178 (colored)

Add a dm_maxsegsz public member to bus_dmamap_t.  This allows a user of the API
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create).  dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.

Revision 1.145.2.10 / (download) - annotate - [select for diffs], Tue Mar 8 13:53:10 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.145.2.9: +2 -5 lines
Diff to previous 1.145.2.9 (colored)

Sync with HEAD.

Revision 1.178 / (download) - annotate - [select for diffs], Fri Mar 4 22:04:51 2005 UTC (19 years ago) by scw
Branch: MAIN
Changes since 1.177: +2 -5 lines
Diff to previous 1.177 (colored)

Undo revision 1.175 (hi jason!) to prevent a buzz-loop in
bus_dmamap_load_mbuf(). This implementation already dealt
with zero length mbufs.

Addresses port-sparc64/29473

Revision 1.176.2.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:40 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.176: +3 -3 lines
Diff to previous 1.176 (colored)

sync with head.

Revision 1.145.2.9 / (download) - annotate - [select for diffs], Fri Feb 4 11:44:57 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.145.2.8: +3 -3 lines
Diff to previous 1.145.2.8 (colored)

Sync with HEAD.

Revision 1.177 / (download) - annotate - [select for diffs], Sun Jan 30 16:56:26 2005 UTC (19 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.176: +3 -3 lines
Diff to previous 1.176 (colored)

define a new LWP flag which indicates that we're in the process of
doing a context switch.  use this on sparc and sparc64 to avoid trying
to access user memory (writing the register windows back to the stack)
in this case (since it's both unnecessary and wrong).

Revision 1.145.2.8 / (download) - annotate - [select for diffs], Mon Jan 17 19:30:27 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.145.2.7: +13 -11 lines
Diff to previous 1.145.2.7 (colored)

Sync with HEAD.

Revision 1.176 / (download) - annotate - [select for diffs], Mon Jan 17 07:55:18 2005 UTC (19 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km
Changes since 1.175: +13 -11 lines
Diff to previous 1.175 (colored)

In bus_dmamap_load_mbuf some diagnostic tests (#ifdef DEBUG) are only valid
if we are going to return success.

Revision 1.145.2.7 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:35 2004 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.145.2.6: +5 -2 lines
Diff to previous 1.145.2.6 (colored)

Sync with HEAD.

Revision 1.175 / (download) - annotate - [select for diffs], Sun Nov 28 17:34:46 2004 UTC (19 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.174: +5 -2 lines
Diff to previous 1.174 (colored)

bus_dmamap_load_mbuf(): Skip zero-length mbufs.
kern/24811

Revision 1.145.2.6 / (download) - annotate - [select for diffs], Sun Nov 14 08:15:32 2004 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.145.2.5: +4 -4 lines
Diff to previous 1.145.2.5 (colored)

Sync with HEAD.

Revision 1.174 / (download) - annotate - [select for diffs], Sat Nov 13 08:12:50 2004 UTC (19 years, 3 months ago) by grant
Branch: MAIN
Changes since 1.173: +3 -3 lines
Diff to previous 1.173 (colored)

tweak an error message.

Revision 1.173 / (download) - annotate - [select for diffs], Mon Nov 8 16:11:02 2004 UTC (19 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.172: +3 -3 lines
Diff to previous 1.172 (colored)

In cpu_getmcontext(), initialize the mcontext_t storage with 0 (not '0').
Reported by Arto Huusko.

Revision 1.145.2.5 / (download) - annotate - [select for diffs], Tue Nov 2 07:50:56 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.145.2.4: +12 -6 lines
Diff to previous 1.145.2.4 (colored)

Sync with HEAD.

Revision 1.172 / (download) - annotate - [select for diffs], Sun Oct 31 21:59:51 2004 UTC (19 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.171: +12 -6 lines
Diff to previous 1.171 (colored)

When doing a crashdump, counting already dumped MB per mem_region
is ... slightly confusing. Instead calculate the total size of the dump
beforehand and show the number of MB we still need to dump instead - just
like 386 does it.

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.145.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:41:36 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.145.2.1: +244 -427 lines
Diff to previous 1.145.2.1 (colored)

Sync with HEAD

Revision 1.171 / (download) - annotate - [select for diffs], Fri Jul 2 07:39:07 2004 UTC (19 years, 8 months ago) by petrov
Branch: MAIN
Changes since 1.170: +12 -3 lines
Diff to previous 1.170 (colored)

_bus_dmamap_load_mbuf: check and process pmap_extract failure.

Revision 1.170 / (download) - annotate - [select for diffs], Wed Jun 30 21:16:39 2004 UTC (19 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.169: +29 -2 lines
Diff to previous 1.169 (colored)

Introduce bus_space_tag_alloc() for the common parts of bus tag allocation.

Revision 1.169 / (download) - annotate - [select for diffs], Mon Jun 28 10:17:01 2004 UTC (19 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.168: +26 -2 lines
Diff to previous 1.168 (colored)

Provide bus_space_translate_address_generic(), a helper function to
translate a local bus address to an address on the parent bus.

Revision 1.168 / (download) - annotate - [select for diffs], Mon Jun 28 09:32:14 2004 UTC (19 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.167: +4 -2 lines
Diff to previous 1.167 (colored)

Add openprom range property to the bus space tag.

Revision 1.167 / (download) - annotate - [select for diffs], Thu May 20 11:36:43 2004 UTC (19 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.166: +12 -2 lines
Diff to previous 1.166 (colored)

We need sigdebug and sigpid not only for COMPAT_16, but also SVR4 and
SunOS, so move it to a more generic place and fix the ifdefs.
Fixes PR port-sparc64/25650.

Revision 1.166 / (download) - annotate - [select for diffs], Thu May 20 00:52:58 2004 UTC (19 years, 9 months ago) by petrov
Branch: MAIN
Changes since 1.165: +4 -2 lines
Diff to previous 1.165 (colored)

ifdef protection for sparc64_ipi_ function calls.

Revision 1.165 / (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-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-1-RELEASE
Branch point for: netbsd-2-0, netbsd-2
Changes since 1.164: +12 -7 lines
Diff to previous 1.164 (colored)

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

Revision 1.164 / (download) - annotate - [select for diffs], Sun Mar 14 18:18:55 2004 UTC (19 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.163: +5 -2 lines
Diff to previous 1.163 (colored)

checkpoint of MP work from dennis and myself.  includes cross-processor
interrupt framework, a sledgehammer TLB invalidation and misc MP fixes.
doesn't work at all yet.

Revision 1.163 / (download) - annotate - [select for diffs], Mon Jan 19 08:42:20 2004 UTC (20 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.162: +5 -5 lines
Diff to previous 1.162 (colored)

Add missing paranthesis. Fixes PR 24144.

Revision 1.162 / (download) - annotate - [select for diffs], Sun Jan 18 19:41:06 2004 UTC (20 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.161: +3 -6 lines
Diff to previous 1.161 (colored)

Support RAS for 32bit kernels too.

Revision 1.161 / (download) - annotate - [select for diffs], Tue Jan 6 21:35:18 2004 UTC (20 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.160: +14 -2 lines
Diff to previous 1.160 (colored)

Implement restartable atomic sequences (RAS) for sparc64.

Revision 1.160 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:19 2003 UTC (20 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.159: +3 -70 lines
Diff to previous 1.159 (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.159 / (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.158: +55 -51 lines
Diff to previous 1.158 (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.158 / (download) - annotate - [select for diffs], Tue Nov 25 05:14:58 2003 UTC (20 years, 3 months ago) by cdi
Branch: MAIN
Changes since 1.157: +3 -3 lines
Diff to previous 1.157 (colored)

Use per-cpu pcb, curlwp and fplwp rather than global ones. This brings
GENERIC.MP configuration to a usable state.

Approved by petrov@.

Revision 1.157 / (download) - annotate - [select for diffs], Thu Nov 13 03:09:29 2003 UTC (20 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.156: +4 -16 lines
Diff to previous 1.156 (colored)

eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed.  however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors.  most of
the callers of uvm_useracc() make the above incorrect assumption.  the
rest are all misguided optimizations, which optimize for the case
where an operation will fail.  we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors.  since there appear to be no good uses of uvm_useracc(), we'll
just remove it.

Revision 1.156 / (download) - annotate - [select for diffs], Sun Nov 9 16:41:52 2003 UTC (20 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.155: +5 -5 lines
Diff to previous 1.155 (colored)

bzero/bcopy -> memset/memcpy

Revision 1.155 / (download) - annotate - [select for diffs], Thu Oct 30 21:02:55 2003 UTC (20 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.154: +4 -4 lines
Diff to previous 1.154 (colored)

Make this compile with 32bit kernels.

Revision 1.154 / (download) - annotate - [select for diffs], Tue Oct 28 17:37:25 2003 UTC (20 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.153: +5 -5 lines
Diff to previous 1.153 (colored)

Get rid of uninitialized variable.

Revision 1.153 / (download) - annotate - [select for diffs], Tue Oct 28 01:10:50 2003 UTC (20 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.152: +4 -4 lines
Diff to previous 1.152 (colored)

eliminate oldsp variable, and don't save the original sp with STACK_OFFSET.

Revision 1.152 / (download) - annotate - [select for diffs], Mon Oct 27 00:16:24 2003 UTC (20 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.151: +36 -41 lines
Diff to previous 1.151 (colored)

eliminate buildcontext, and fix siginfo delivery.

Revision 1.151 / (download) - annotate - [select for diffs], Sun Oct 26 08:05:26 2003 UTC (20 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.150: +88 -281 lines
Diff to previous 1.150 (colored)

Initial siginfo support for sparc64 (untested). COMPAT_16 sigcontext signal
delivery tested.

Revision 1.150 / (download) - annotate - [select for diffs], Tue Oct 21 08:31:11 2003 UTC (20 years, 4 months ago) by petrov
Branch: MAIN
Changes since 1.149: +6 -6 lines
Diff to previous 1.149 (colored)

Don't use NULL for integer.

Revision 1.149 / (download) - annotate - [select for diffs], Sat Oct 18 06:51:42 2003 UTC (20 years, 4 months ago) by petrov
Branch: MAIN
Changes since 1.148: +3 -3 lines
Diff to previous 1.148 (colored)

cpu_getmcontext: get fsr from correct place.

Revision 1.148 / (download) - annotate - [select for diffs], Fri Sep 26 12:02:56 2003 UTC (20 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.147: +3 -3 lines
Diff to previous 1.147 (colored)

Fix "constify sendsig/trapsignal" fallout for non-siginfo'd archs.  Test
compiled on most architectures.

Revision 1.147 / (download) - annotate - [select for diffs], Thu Aug 7 16:29:51 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.146: +3 -7 lines
Diff to previous 1.146 (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.146 / (download) - annotate - [select for diffs], Tue Jul 15 03:36:09 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.145: +4 -1 lines
Diff to previous 1.145 (colored)

__KERNEL_RCSID()

Revision 1.145.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:33 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.145: +4 -4 lines
Diff to previous 1.145 (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.145 / (download) - annotate - [select for diffs], Sun Jun 29 22:29:01 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.144: +6 -6 lines
Diff to previous 1.144 (colored)

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

Revision 1.144 / (download) - annotate - [select for diffs], Sun Jun 29 10:37:45 2003 UTC (20 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.143: +3 -3 lines
Diff to previous 1.143 (colored)

struct proc * -> struct lwp *

Revision 1.143 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:08 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.142: +4 -4 lines
Diff to previous 1.142 (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.142 / (download) - annotate - [select for diffs], Sat May 17 01:38:40 2003 UTC (20 years, 9 months ago) by nakayama
Branch: MAIN
Changes since 1.141: +2 -2 lines
Diff to previous 1.141 (colored)

Avoid strict-alias warnings in gcc 3.3.

Revision 1.141 / (download) - annotate - [select for diffs], Sat May 10 14:10:54 2003 UTC (20 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.140: +9 -17 lines
Diff to previous 1.140 (colored)

Convert a few home-grown if()... Debugger() sequences into real panics.

Revision 1.140 / (download) - annotate - [select for diffs], Tue Apr 1 16:34:59 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.139: +15 -15 lines
Diff to previous 1.139 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.139 / (download) - annotate - [select for diffs], Sun Feb 9 19:44:20 2003 UTC (21 years ago) by martin
Branch: MAIN
Changes since 1.138: +1 -2 lines
Diff to previous 1.138 (colored)

Remove left over pieces from reusing the signal trampoline for upcalls.
This should fix signal delivery for 32bit kernels.

Revision 1.138 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:15 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.137: +2 -2 lines
Diff to previous 1.137 (colored)

Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.

Revision 1.137 / (download) - annotate - [select for diffs], Sat Jan 18 06:55:24 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.136: +252 -26 lines
Diff to previous 1.136 (colored)

Merge the nathanw_sa branch.

Revision 1.112.4.24 / (download) - annotate - [select for diffs], Sun Jan 5 22:51:56 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.112.4.23: +4 -4 lines
Diff to previous 1.112.4.23 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)

Correction from uwe: Reserve a C call frame on the stack, not a
register window.

Revision 1.112.4.23 / (download) - annotate - [select for diffs], Sun Jan 5 22:39:52 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.112.4.22: +16 -14 lines
Diff to previous 1.112.4.22 (colored) to branchpoint 1.112 (colored)

Invoke the upcall trampoline directly, rather than going through
sigcode, and make it look more like the 32-bit sparc version.

Revision 1.112.4.22 / (download) - annotate - [select for diffs], Wed Dec 11 06:12:29 2002 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.112.4.21: +93 -26 lines
Diff to previous 1.112.4.21 (colored) to branchpoint 1.112 (colored)

Sync with HEAD.

Revision 1.136 / (download) - annotate - [select for diffs], Tue Dec 10 13:44:52 2002 UTC (21 years, 2 months ago) by pk
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.135: +3 -4 lines
Diff to previous 1.135 (colored)

Remove the `flags' argument from bus_intr_establish().

Revision 1.135 / (download) - annotate - [select for diffs], Tue Dec 10 12:24:07 2002 UTC (21 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.134: +4 -3 lines
Diff to previous 1.134 (colored)

bus_intr_establish() signature change.
The additional `fast trap' argument is ignored in these drivers.
BUS_INTR_ESTABLISH_FASTTRAP and BUS_INTR_ESTABLISH_SOFTINTR are no longer used.

Revision 1.112.4.21 / (download) - annotate - [select for diffs], Wed Dec 4 07:55:32 2002 UTC (21 years, 3 months ago) by martin
Branch: nathanw_sa
Changes since 1.112.4.20: +4 -4 lines
Diff to previous 1.112.4.20 (colored) to branchpoint 1.112 (colored)

Make 32bit kernels compile (and more or less work with SA).
Patch from Nick Hudson.

Revision 1.112.4.20 / (download) - annotate - [select for diffs], Tue Dec 3 15:49:06 2002 UTC (21 years, 3 months ago) by martin
Branch: nathanw_sa
Changes since 1.112.4.19: +2 -2 lines
Diff to previous 1.112.4.19 (colored) to branchpoint 1.112 (colored)

Use trapframe64 instead of trapframe to be more friendly to 32bit kernel
compiles.

Revision 1.134 / (download) - annotate - [select for diffs], Wed Nov 27 18:00:27 2002 UTC (21 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.133: +89 -22 lines
Diff to previous 1.133 (colored)

Sync machdep sysctls with sparc.

Revision 1.119.6.4 / (download) - annotate - [select for diffs], Fri Nov 22 17:14:55 2002 UTC (21 years, 3 months ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.119.6.3: +11 -11 lines
Diff to previous 1.119.6.3 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)

Pull up rev 1.131 and 1.133 via patch (requested by martin in ticket #917):
Fix typo: set _asi depending on requested endianess, not _sasi (the streaming
accessors take care of this themselfs). Fixes 32-bit kernels on PCI machines.
Since we now use pmap_kenter_pa, which ignores PMAP_LITTLE, don't bother
to pass that as flags. We've already changed the ASIs used to access the
mapped pages acordingly.

Revision 1.119.6.3 / (download) - annotate - [select for diffs], Fri Nov 8 09:25:26 2002 UTC (21 years, 4 months ago) by tron
Branch: netbsd-1-6
Changes since 1.119.6.2: +1 -1 lines
Diff to previous 1.119.6.2 (colored) to branchpoint 1.119 (colored)

Pull up revision 1.132 (requested by martin in ticket #916):
Make 32bit sparc64 kernels with DEBUG and DIAGNOSTIC compile.

Revision 1.112.4.19 / (download) - annotate - [select for diffs], Fri Oct 18 02:40:10 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.18: +44 -50 lines
Diff to previous 1.112.4.18 (colored) to branchpoint 1.112 (colored)

Catch up to -current.

Revision 1.133 / (download) - annotate - [select for diffs], Wed Oct 16 16:11:41 2002 UTC (21 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge
Changes since 1.132: +7 -7 lines
Diff to previous 1.132 (colored)

Since we now use pmap_kenter_pa, which ignores PMAP_LITTLE, don't bother
to pass that as flags. We've already changed the ASIs used to access the
mapped pages acordingly.

Revision 1.132 / (download) - annotate - [select for diffs], Wed Oct 16 11:05:11 2002 UTC (21 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored)

Make 32bit sparc64 kernels with DEBUG and DIAGNOSTIC compile.

Revision 1.106.2.8 / (download) - annotate - [select for diffs], Thu Oct 10 18:36:45 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.106.2.7: +50 -47 lines
Diff to previous 1.106.2.7 (colored) next main 1.107 (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.131 / (download) - annotate - [select for diffs], Sun Sep 29 20:56:40 2002 UTC (21 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.130: +4 -4 lines
Diff to previous 1.130 (colored)

Fix typo: set _asi depending on requested endianess, not _sasi (the streaming
accessors take care of this themselfs). Fixes 32-bit kernels on PCI machines.

Problem found by Takeshi Nakayama in PR port-sparc64/18459, fix from
Mathew Green.

Revision 1.130 / (download) - annotate - [select for diffs], Sun Sep 29 09:07:45 2002 UTC (21 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.129: +2 -2 lines
Diff to previous 1.129 (colored)

Indentation nit.

Revision 1.129 / (download) - annotate - [select for diffs], Fri Sep 27 15:36:51 2002 UTC (21 years, 5 months ago) by provos
Branch: MAIN
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.128 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:22 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.127: +1 -2 lines
Diff to previous 1.127 (colored)

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

Revision 1.127 / (download) - annotate - [select for diffs], Sun Sep 22 07:19:49 2002 UTC (21 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.126: +32 -36 lines
Diff to previous 1.126 (colored)

many improvements:
 - use struct vm_page_md for attaching pv entries to struct vm_page
 - change pseg_set()'s return value to indicate whether the spare page
   was used as an L2 or L3 PTP.
 - use a pool for pv entries instead of malloc().
 - put PTPs on a list attached to the pmap so we can free them
   more efficiently (by just walking the list) in pmap_destroy().
 - use the new pmap_remove_all() interface to avoid flushing the cache and TLB
   for each pmap_remove() that's done as we are tearing down an address space.
 - in pmap_enter(), handle replacing an existing mapping more efficiently
   than just calling pmap_remove() on it.  also, skip flushing the
   TSB and TLB if there was no previous mapping, since there can't be
   anything we need to flush.  also, preload the TSB if we're pre-setting
   the mod/ref bits.
 - allocate hardware contexts like the MIPS pmap:
   allocate them all sequentially without reuse, then once we run out
   just invalidate all user TLB entries and flush the entire L1 dcache.
 - fix pmap_extract() for the case where the va is not page-aligned and
   nothing is mapped there.
 - fix calculation of TSB size.  it was comparing physmem (which is
   in units of pages) to constants that only make sense if they are
   in units of bytes.
 - avoid sleeping in pmap_enter(), instead let the caller do it.
 - use pmap_kenter_pa() instead of pmap_enter() where appropriate.
 - remove code to handle impossible cases in various functions.
 - tweak asm code to pipeline a little better.
 - remove many unnecessary spls and membars.
 - lots of code cleanup.
 - no doubt other stuff that I've forgotten.

the result of all this is that a fork+exit microbenchmark is 34% faster
and a fork+exec+exit microbenchmark is 28% faster.

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

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

Revision 1.112.4.18 / (download) - annotate - [select for diffs], Tue Sep 17 21:18:02 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.17: +14 -5 lines
Diff to previous 1.112.4.17 (colored) to branchpoint 1.112 (colored)

Catch up to -current.

Revision 1.125 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 6 months ago) by gehenna
Branch: MAIN
Changes since 1.124: +14 -5 lines
Diff to previous 1.124 (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.106.2.7 / (download) - annotate - [select for diffs], Fri Sep 6 08:41:50 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.106.2.6: +22 -7 lines
Diff to previous 1.106.2.6 (colored)

sync kqueue branch with HEAD

Revision 1.119.4.4 / (download) - annotate - [select for diffs], Sat Aug 31 14:52:37 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.119.4.3: +3 -4 lines
Diff to previous 1.119.4.3 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)

catch up with -current.

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

Catch up to -current.

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

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

Revision 1.112.4.16 / (download) - annotate - [select for diffs], Sat Aug 24 00:36:15 2002 UTC (21 years, 6 months ago) by petrov
Branch: nathanw_sa
Changes since 1.112.4.15: +2 -2 lines
Diff to previous 1.112.4.15 (colored) to branchpoint 1.112 (colored)

make it run.

Revision 1.112.4.15 / (download) - annotate - [select for diffs], Fri Aug 23 02:47:06 2002 UTC (21 years, 6 months ago) by petrov
Branch: nathanw_sa
Changes since 1.112.4.14: +3 -2 lines
Diff to previous 1.112.4.14 (colored) to branchpoint 1.112 (colored)

sync

Revision 1.112.4.14 / (download) - annotate - [select for diffs], Thu Aug 1 02:43:48 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.13: +20 -5 lines
Diff to previous 1.112.4.13 (colored) to branchpoint 1.112 (colored)

Catch up to -current.

Revision 1.119.4.3 / (download) - annotate - [select for diffs], Wed Jul 17 02:11:31 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.119.4.2: +20 -4 lines
Diff to previous 1.119.4.2 (colored) to branchpoint 1.119 (colored)

catch up with -current.

Revision 1.119.4.2 / (download) - annotate - [select for diffs], Mon Jul 15 01:21:56 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.119.4.1: +29 -22 lines
Diff to previous 1.119.4.1 (colored) to branchpoint 1.119 (colored)

catch up with -current.

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

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

Revision 1.123 / (download) - annotate - [select for diffs], Thu Jul 4 23:32:07 2002 UTC (21 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.122: +20 -4 lines
Diff to previous 1.122 (colored)

Add kernel support for having userland provide the signal trampoline:

* struct sigacts gets a new sigact_sigdesc structure, which has the
  sigaction and the trampoline/version.  Version 0 means "legacy kernel
  provided trampoline".  Other versions are coordinated with machine-
  dependent code in libc.
* sigaction1() grows two more arguments -- the trampoline pointer and
  the trampoline version.
* A new __sigaction_sigtramp() system call is provided to register a
  trampoline along with a signal handler.
* The handler is no longer passed to sensig() functions.  Instead,
  sendsig() looks up the handler by peeking in the sigacts for the
  process getting the signal (since it has to look in there for the
  trampoline anyway).
* Native sendsig() functions now select the appropriate trampoline and
  its arguments based on the trampoline version in the sigacts.

Changes to libc to use the new facility will be checked in later.  Kernel
version not bumped; we will ride the 1.6C bump made recently.

Revision 1.112.4.12 / (download) - annotate - [select for diffs], Mon Jun 24 22:08:05 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.11: +5 -5 lines
Diff to previous 1.112.4.11 (colored) to branchpoint 1.112 (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.106.2.6 / (download) - annotate - [select for diffs], Sun Jun 23 17:42:22 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.106.2.5: +77 -123 lines
Diff to previous 1.106.2.5 (colored)

catch up with -current on kqueue branch

Revision 1.112.4.11 / (download) - annotate - [select for diffs], Thu Jun 20 03:41:32 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.10: +29 -22 lines
Diff to previous 1.112.4.10 (colored) to branchpoint 1.112 (colored)

Catch up to -current.

Revision 1.119.6.2 / (download) - annotate - [select for diffs], Thu Jun 13 02:47:34 2002 UTC (21 years, 8 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Changes since 1.119.6.1: +25 -20 lines
Diff to previous 1.119.6.1 (colored) to branchpoint 1.119 (colored)

Pull up revision 1.122 (requested by eeh in ticket #258):
Fix some corner cases in bus_dmamap_load_mbuf().
From Takeshi Nakayama <tn@catvmics.ne.jp>

Revision 1.122 / (download) - annotate - [select for diffs], Wed Jun 12 17:06:16 2002 UTC (21 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.121: +26 -21 lines
Diff to previous 1.121 (colored)

Fix some corner cases in bus_dmamap_load_mbuf().
From Takeshi Nakayama <tn@catvmics.ne.jp>

Revision 1.119.6.1 / (download) - annotate - [select for diffs], Wed Jun 5 04:09:19 2002 UTC (21 years, 9 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.119: +4 -1 lines
Diff to previous 1.119 (colored)

Pull up revision 1.121 (requested by eeh in ticket #156):
Clear the P_32 flag when exec-ing native binaries.

Revision 1.121 / (download) - annotate - [select for diffs], Tue Jun 4 14:48:09 2002 UTC (21 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.120: +4 -1 lines
Diff to previous 1.120 (colored)

Clear the P_32 flag when exec-ing native binaries.

Revision 1.120 / (download) - annotate - [select for diffs], Sun Jun 2 14:44:41 2002 UTC (21 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.119: +1 -2 lines
Diff to previous 1.119 (colored)

move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling

Revision 1.112.4.10 / (download) - annotate - [select for diffs], Wed May 29 21:32:00 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.9: +2 -1 lines
Diff to previous 1.112.4.9 (colored) to branchpoint 1.112 (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.119.4.1 / (download) - annotate - [select for diffs], Fri May 17 13:50:00 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.119: +14 -5 lines
Diff to previous 1.119 (colored)

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

Revision 1.112.4.9 / (download) - annotate - [select for diffs], Mon Apr 1 07:43:13 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.8: +50 -103 lines
Diff to previous 1.112.4.8 (colored) to branchpoint 1.112 (colored)

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

Revision 1.119 / (download) - annotate - [select for diffs], Wed Mar 20 18:54:49 2002 UTC (21 years, 11 months ago) by eeh
Branch: MAIN
CVS Tags: netbsd-1-6-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.118: +34 -56 lines
Diff to previous 1.118 (colored)

Overhaul bus space.

bus_space_handle_t now holds an address and two ASIs, one for normal accesses
and one for streaming accesses.  This allows to map individual handles
different ways, so some can use MMU bypass accesses and others use virtual
addresses.  bus_space_map() will now create handles that use bypass accesses
unles BUS_SPACE_MAP_LINEAR is passed in.  So only pass in BUS_SPACE_MAP_LINEAR
if you absolutely *need* to use bus_space_vaddr().  This removes at least one
extra level of indirection and should reduce TLB misses.

32-bit kernels have problems accessing 64-bit addresses, so they always use
virtual addresses.

Revision 1.118 / (download) - annotate - [select for diffs], Wed Mar 20 17:59:25 2002 UTC (21 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored)

kill remaining PS_STRINGS instances.

Revision 1.106.2.5 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:01 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.106.2.4: +46 -32 lines
Diff to previous 1.106.2.4 (colored)

Catch up with -current.

Revision 1.117 / (download) - annotate - [select for diffs], Fri Mar 15 07:06:24 2002 UTC (21 years, 11 months ago) by eeh
Branch: MAIN
Changes since 1.116: +7 -9 lines
Diff to previous 1.116 (colored)

Get PCI working with the new bus_space*.

Revision 1.116 / (download) - annotate - [select for diffs], Thu Mar 14 20:57:37 2002 UTC (21 years, 11 months ago) by eeh
Branch: MAIN
Changes since 1.115: +18 -47 lines
Diff to previous 1.115 (colored)

bus_type_t has gone away.

Revision 1.115 / (download) - annotate - [select for diffs], Wed Mar 6 13:10:24 2002 UTC (22 years ago) by tsutsui
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (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.112.4.8 / (download) - annotate - [select for diffs], Thu Feb 28 04:12:17 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.112.4.7: +45 -31 lines
Diff to previous 1.112.4.7 (colored) to branchpoint 1.112 (colored)

Catch up to -current.

Revision 1.114 / (download) - annotate - [select for diffs], Thu Feb 14 07:08:15 2002 UTC (22 years ago) by chs
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored)

allow writing to write-only mappings.  fixes PR 3493.

Revision 1.113 / (download) - annotate - [select for diffs], Thu Feb 7 21:36:55 2002 UTC (22 years, 1 month ago) by eeh
Branch: MAIN
Changes since 1.112: +44 -30 lines
Diff to previous 1.112 (colored)

Make bus_space_barrier() an inline instead of a function vector.

Revision 1.106.2.4 / (download) - annotate - [select for diffs], Thu Jan 10 19:49:29 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.106.2.3: +46 -20 lines
Diff to previous 1.106.2.3 (colored)

Sync kqueue branch with -current.

Revision 1.112.4.7 / (download) - annotate - [select for diffs], Fri Jan 4 22:38:54 2002 UTC (22 years, 2 months ago) by eeh
Branch: nathanw_sa
Changes since 1.112.4.6: +40 -27 lines
Diff to previous 1.112.4.6 (colored) to branchpoint 1.112 (colored)

Implement upcalls and cpu_preempt().

Revision 1.112.4.6 / (download) - annotate - [select for diffs], Fri Jan 4 19:12:30 2002 UTC (22 years, 2 months ago) by eeh
Branch: nathanw_sa
Changes since 1.112.4.5: +9 -18 lines
Diff to previous 1.112.4.5 (colored) to branchpoint 1.112 (colored)

Cleanup.

Revision 1.112.4.5 / (download) - annotate - [select for diffs], Fri Jan 4 09:26:48 2002 UTC (22 years, 2 months ago) by petrov
Branch: nathanw_sa
Changes since 1.112.4.4: +3 -1 lines
Diff to previous 1.112.4.4 (colored) to branchpoint 1.112 (colored)

more bits to SA

Revision 1.112.4.4 / (download) - annotate - [select for diffs], Thu Jan 3 10:03:56 2002 UTC (22 years, 2 months ago) by petrov
Branch: nathanw_sa
Changes since 1.112.4.3: +1 -38 lines
Diff to previous 1.112.4.3 (colored) to branchpoint 1.112 (colored)

sync again

Revision 1.112.4.3 / (download) - annotate - [select for diffs], Thu Jan 3 06:42:36 2002 UTC (22 years, 2 months ago) by petrov
Branch: nathanw_sa
Changes since 1.112.4.2: +103 -36 lines
Diff to previous 1.112.4.2 (colored) to branchpoint 1.112 (colored)

make kernel compile

Revision 1.112.4.2 / (download) - annotate - [select for diffs], Sat Nov 17 12:24:20 2001 UTC (22 years, 3 months ago) by martin
Branch: nathanw_sa
Changes since 1.112.4.1: +2167 -0 lines
Diff to previous 1.112.4.1 (colored) to branchpoint 1.112 (colored)

Sparc64 *context routines, from Klaus Klein.

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:42:36 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.109: +50 -24 lines
Diff to previous 1.109 (colored) next main 1.110 (colored)

Catch up with -current.

Revision 1.112.4.1, Mon Sep 24 23:49:33 2001 UTC (22 years, 5 months ago) by martin
Branch: nathanw_sa
Changes since 1.112: +0 -1979 lines
FILE REMOVED

file machdep.c was added on branch nathanw_sa on 2001-11-17 12:24:20 +0000

Revision 1.112 / (download) - annotate - [select for diffs], Mon Sep 24 23:49:33 2001 UTC (22 years, 5 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: nathanw_sa
Changes since 1.111: +43 -14 lines
Diff to previous 1.111 (colored)

Change bus_space_mmap() signature to the official one.

Revision 1.111 / (download) - annotate - [select for diffs], Sat Sep 15 07:13:40 2001 UTC (22 years, 5 months ago) by eeh
Branch: MAIN
CVS Tags: pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.110: +4 -7 lines
Diff to previous 1.110 (colored)

Only drop into the debuger if SDB_DDB is set.

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

Update the kqueue branch to HEAD.

Revision 1.110 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:26 2001 UTC (22 years, 5 months ago) by chris
Branch: MAIN
Changes since 1.109: +5 -5 lines
Diff to previous 1.109 (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.106.2.2 / (download) - annotate - [select for diffs], Sat Aug 25 06:15:58 2001 UTC (22 years, 6 months ago) by thorpej
Branch: kqueue
Changes since 1.106.2.1: +3 -4 lines
Diff to previous 1.106.2.1 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.109 / (download) - annotate - [select for diffs], Fri Aug 24 04:34:27 2001 UTC (22 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.108: +3 -4 lines
Diff to previous 1.108 (colored)

use pmap_k* for buffer cache pages.

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:30 2001 UTC (22 years, 7 months ago) by lukem
Branch: kqueue
Changes since 1.106: +6 -5 lines
Diff to previous 1.106 (colored)

update to -current

Revision 1.108 / (download) - annotate - [select for diffs], Tue Jul 24 19:30:14 2001 UTC (22 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.107: +5 -4 lines
Diff to previous 1.107 (colored)

Use OF routines instead of internal ones.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Jul 19 23:35:42 2001 UTC (22 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored)

Make bus_space_debug default to off.

Revision 1.101.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:36:19 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.101.2.1: +17 -5 lines
Diff to previous 1.101.2.1 (colored) next main 1.102 (colored)

Catch up to -current.

Revision 1.106 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:21 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Branch point for: kqueue
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

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

Revision 1.105 / (download) - annotate - [select for diffs], Sat May 26 21:27:15 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

replace vm_page_t with struct vm_page *.

Revision 1.68.2.8 / (download) - annotate - [select for diffs], Tue May 15 22:04:56 2001 UTC (22 years, 9 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.68.2.7: +17 -2 lines
Diff to previous 1.68.2.7 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

Pull up revision 1.97 (requested by martin):
  Implement bus_space_subregion(), makes pciide work.

Revision 1.104 / (download) - annotate - [select for diffs], Wed May 9 19:46:22 2001 UTC (22 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.103: +9 -1 lines
Diff to previous 1.103 (colored)

In the 32-bit ABI case:
* rename sigcontext.sc_tstate to sc_psr, since this is how it is known to
  the 32-bit API, and also used for;
* don't try to squeeze the tstate into it, just emulate the ICC bits.

Per discussion with Eduardo.

Revision 1.103 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:12 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.102: +5 -1 lines
Diff to previous 1.102 (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.101.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:55:06 2001 UTC (22 years, 11 months ago) by nathanw
Changes since 1.101: +4 -4 lines
Diff to previous 1.101 (colored)

Catch up with -current.

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

Sync with HEAD.

Revision 1.102 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:50 2001 UTC (22 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.101: +4 -4 lines
Diff to previous 1.101 (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.51.2.5 / (download) - annotate - [select for diffs], Sun Feb 11 19:12:39 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.51.2.4: +104 -50 lines
Diff to previous 1.51.2.4 (colored) to branchpoint 1.51 (colored)

Sync with HEAD.

Revision 1.101 / (download) - annotate - [select for diffs], Sun Feb 11 00:37:22 2001 UTC (23 years ago) by eeh
Branch: MAIN
Changes since 1.100: +45 -20 lines
Diff to previous 1.100 (colored)

Remove things that are defined in elf_machdep.h now.

Revision 1.100 / (download) - annotate - [select for diffs], Tue Jan 23 20:31:28 2001 UTC (23 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.99: +58 -34 lines
Diff to previous 1.99 (colored)

Make bus_dmamap_load_mbuf and bus_dmamap_load_uio use independend
segment lists for their mapping; make iommu_dmamap_unload deal with
this type of maps.

Coded by Eduardo, tested (and minimaly tweaked) by me.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jan 20 13:44:31 2001 UTC (23 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.98: +7 -2 lines
Diff to previous 1.98 (colored)

In cpu_reboot(), only reset the TOD clock if the time is known to be good
enough, e.g. it has been initialized already by inittodr() or set
explicitly before by resettodr().  This prevents the TOD clock from going
way backwards when typing `halt' at the `mount root filesystem' prompt.

Revision 1.51.2.4 / (download) - annotate - [select for diffs], Thu Jan 18 09:23:04 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.51.2.3: +92 -12 lines
Diff to previous 1.51.2.3 (colored) to branchpoint 1.51 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.98 / (download) - annotate - [select for diffs], Mon Jan 15 19:27:07 2001 UTC (23 years, 1 month ago) by eeh
Branch: MAIN
Changes since 1.97: +77 -12 lines
Diff to previous 1.97 (colored)

Implement some seblence of bus_dmamap_mbuf() and bus_dmamap_uio().

Revision 1.97 / (download) - annotate - [select for diffs], Fri Jan 12 15:24:15 2001 UTC (23 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.96: +17 -2 lines
Diff to previous 1.96 (colored)

Implement bus_space_subregion().

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:35:09 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.51.2.2: +28 -15 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored)

Sync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Fri Dec 22 22:58:56 2000 UTC (23 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.95: +10 -11 lines
Diff to previous 1.95 (colored)

split off thread specific stuff from struct sigacts to struct sigctx, leaving
    only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Dec 21 22:19:21 2000 UTC (23 years, 2 months ago) by eeh
Branch: MAIN
Changes since 1.94: +20 -6 lines
Diff to previous 1.94 (colored)

Use an extent map for I/O addresses instead of a base so addresses can
be both allocated and freed.

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:30:41 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.51.2.1: +85 -39 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored)

Sync with HEAD.

Revision 1.94 / (download) - annotate - [select for diffs], Wed Dec 6 01:47:50 2000 UTC (23 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.93: +17 -9 lines
Diff to previous 1.93 (colored)

fix warnings in DEBUG & DIAGNSTIC code.

Revision 1.93 / (download) - annotate - [select for diffs], Mon Dec 4 20:12:10 2000 UTC (23 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.92: +3 -1 lines
Diff to previous 1.92 (colored)

Avoid a warning in bus_dmamap_load_uio by inserting a 'return 0' for
good measure in this unimplemented function.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Dec 4 17:26:41 2000 UTC (23 years, 3 months ago) by eeh
Branch: MAIN
Changes since 1.91: +36 -17 lines
Diff to previous 1.91 (colored)

Fix uninitialized variable bug and code cleanup.

Revision 1.91 / (download) - annotate - [select for diffs], Mon Dec 4 16:01:19 2000 UTC (23 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.90: +32 -15 lines
Diff to previous 1.90 (colored)

Warning police. Mostly useless format warnings. Switch Makefile for
kernel compiles to the warning flags that other ports also use.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:26:56 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.51: +263 -155 lines
Diff to previous 1.51 (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.68.2.7 / (download) - annotate - [select for diffs], Wed Oct 18 16:31:32 2000 UTC (23 years, 4 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.68.2.6: +5 -4 lines
Diff to previous 1.68.2.6 (colored) to branchpoint 1.68 (colored)

Pullup by patch [eeh]:
Move KERNBASE from 0xf1000000 to 0x01000000.

Revision 1.68.2.6 / (download) - annotate - [select for diffs], Tue Oct 17 02:11:00 2000 UTC (23 years, 4 months ago) by tv
Branch: netbsd-1-5
Changes since 1.68.2.5: +24 -6 lines
Diff to previous 1.68.2.5 (colored) to branchpoint 1.68 (colored)

Pullup 1.89 [eeh]:
Add bus_space*stream*() methods.

Revision 1.90 / (download) - annotate - [select for diffs], Thu Sep 28 19:56:14 2000 UTC (23 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.89: +5 -4 lines
Diff to previous 1.89 (colored)

Separate user and kernel address spaces and move the kernel down to
0x0000000001000000 -- 0x00000000f0000000, below the PROM where the
PROM thinks we should be.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Sep 16 14:07:59 2000 UTC (23 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.88: +24 -6 lines
Diff to previous 1.88 (colored)

Add bus_space*stream*() methods.  I hope they work.

Revision 1.88 / (download) - annotate - [select for diffs], Wed Sep 13 15:00:23 2000 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (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.87 / (download) - annotate - [select for diffs], Mon Sep 11 22:34:02 2000 UTC (23 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.86: +5 -5 lines
Diff to previous 1.86 (colored)

Don't take protection faults on I/O pages.

Revision 1.68.2.5 / (download) - annotate - [select for diffs], Mon Aug 7 01:23:34 2000 UTC (23 years, 7 months ago) by mrg
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.68.2.4: +4 -11 lines
Diff to previous 1.68.2.4 (colored) to branchpoint 1.68 (colored)

pull up 1.86 (approved by thorpej):
>`mem' is now a pointer, not an array.  Fixes kernel coredumps.

Revision 1.68.2.4 / (download) - annotate - [select for diffs], Mon Aug 7 01:07:25 2000 UTC (23 years, 7 months ago) by mrg
Branch: netbsd-1-5
Changes since 1.68.2.3: +51 -7 lines
Diff to previous 1.68.2.3 (colored) to branchpoint 1.68 (colored)

pull up 1.85 (approved by thorpej):
>Overhaul cache flush code and coredump code.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Aug 1 16:49:47 2000 UTC (23 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.85: +4 -11 lines
Diff to previous 1.85 (colored)

`mem' is now a pointer, not an array.  Fixes kernel coredumps.

Revision 1.85 / (download) - annotate - [select for diffs], Tue Aug 1 00:40:18 2000 UTC (23 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.84: +51 -7 lines
Diff to previous 1.84 (colored)

Overhaul cache flush code and coredump code.

Revision 1.68.2.3 / (download) - annotate - [select for diffs], Mon Jul 31 02:50:08 2000 UTC (23 years, 7 months ago) by mrg
Branch: netbsd-1-5
Changes since 1.68.2.2: +5 -1 lines
Diff to previous 1.68.2.2 (colored) to branchpoint 1.68 (colored)

pull up 1.84 (approved by thorpej):
>Don't dump if there's no address space reserved for it.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Jul 28 19:08:25 2000 UTC (23 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.83: +5 -1 lines
Diff to previous 1.83 (colored)

Don't dump if there's no address space reserved for it.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Jul 27 13:58:54 2000 UTC (23 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.82: +1 -4 lines
Diff to previous 1.82 (colored)

delete unused variable.

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Tue Jul 18 16:23:28 2000 UTC (23 years, 7 months ago) by mrg
Branch: netbsd-1-5
Changes since 1.68.2.1: +66 -13 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored)

pullup the contents of -current arch/sparc64.  this gives us significant
ultrasparc PCI support (ultra5, ultra10, AXi, and E250 tested so far),
plus many other small fixes.  netbooting is now supported.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Jul 18 05:18:35 2000 UTC (23 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: mrg-merge-1-5-top
Changes since 1.81: +7 -1 lines
Diff to previous 1.81 (colored)

#if 0 some dumpsys() debugging messages

Revision 1.81 / (download) - annotate - [select for diffs], Fri Jul 14 21:07:10 2000 UTC (23 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

Make 64-bit stack tracebacks look decent.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jul 14 13:15:44 2000 UTC (23 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

Cast physmem to u_int64_t before applying ctob().

Revision 1.79 / (download) - annotate - [select for diffs], Tue Jul 11 21:55:11 2000 UTC (23 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.78: +8 -7 lines
Diff to previous 1.78 (colored)

Add UltraSPARC III specific flag bit.  Currently ignored.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Jul 10 01:15:17 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.77: +10 -2 lines
Diff to previous 1.77 (colored)

Need to include <sys/exec_elf.h> to make things happy.  So much for adding
dead code.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Jul 9 22:39:17 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.76: +32 -3 lines
Diff to previous 1.76 (colored)

Grab and use the memory model info from the flags in the ELF header.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Jul 9 20:57:51 2000 UTC (23 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.75: +5 -4 lines
Diff to previous 1.75 (colored)

Add a `device class' interrupt level argument (from machine/intr.h)
to bus_interrupt_establish().

It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI slots.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Jul 7 02:50:20 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.74: +13 -3 lines
Diff to previous 1.74 (colored)

Handle bus_dma aligment properly.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jun 30 22:58:02 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.73: +1 -3 lines
Diff to previous 1.73 (colored)

Fix interrupt delivery on UltraSPARC IIi machines.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:42 2000 UTC (23 years, 8 months ago) by simonb
Branch: netbsd-1-5
Changes since 1.68: +5 -3 lines
Diff to previous 1.68 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Jun 29 07:37:58 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.72: +2 -4 lines
Diff to previous 1.72 (colored)

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

Revision 1.72 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:01 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.71: +1 -3 lines
Diff to previous 1.71 (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.71 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:10 2000 UTC (23 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.70: +5 -3 lines
Diff to previous 1.70 (colored)

Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Jun 24 20:48:43 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.69: +4 -3 lines
Diff to previous 1.69 (colored)

With these changes the kernel seems almost stable again.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Jun 24 16:51:34 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.68: +1 -2 lines
Diff to previous 1.68 (colored)

Remove a couple of references to vaddrs.h that slipped through.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:04:37 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.62: +35 -59 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Jun 18 08:13:26 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.67: +1 -2 lines
Diff to previous 1.67 (colored)

back out part of previous.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jun 18 07:13:41 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.66: +3 -2 lines
Diff to previous 1.66 (colored)

give BSDB_MAP a value.  add a shushing cast.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Jun 12 23:32:48 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.65: +1 -3 lines
Diff to previous 1.65 (colored)

Start reorganizing the kernel for MULTIPROCESSOR support.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Jun 12 05:31:30 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.64: +3 -28 lines
Diff to previous 1.64 (colored)

clean up cruft.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Jun 8 17:59:32 2000 UTC (23 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.63: +18 -14 lines
Diff to previous 1.63 (colored)

Allow for cacheable device maps (in case there's some RAM out there).

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jun 2 22:56:32 2000 UTC (23 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.62: +19 -20 lines
Diff to previous 1.62 (colored)

Use all 64 address bits in ld*a()/st*a() macros so physical device addresses
work.  (Also add some bus_space_*() debug hooks).

Revision 1.62 / (download) - annotate - [select for diffs], Fri May 26 21:20:21 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.61: +4 -1 lines
Diff to previous 1.61 (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.61 / (download) - annotate - [select for diffs], Wed May 24 20:24:58 2000 UTC (23 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.60: +29 -17 lines
Diff to previous 1.60 (colored)

If we have sparse PCI spaces we can run out of IO map space when mapping
PCI config space.  Since PCI config space is mostly used by PCI bus drivers,
we won't actually map it in.  Instead we use MMU bypass ASI accesses to read
and write PCI config space.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Apr 22 17:06:06 2000 UTC (23 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

whole bunch of changes:
- merge IOMMU DVMA code from sbus/psycho into iommu.c.  this code was
  identical and a few minor inconsistencies had crept in.  this way
  keeps them all in sync.
- with this code gone from psycho, merge the psycho.c and psycho_bus.c
  files.  same with ebus/ebus_bus.c.  delete the _bus.c files.
- add a _ds_boundary member to the dma segment structure, so that later
  dma mappings can find this value.
- set _ds_boundary in machdep.c:_bus_dmamem_alloc().
- kill much dead code.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Apr 22 12:03:33 2000 UTC (23 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.58: +4 -20 lines
Diff to previous 1.58 (colored)

clean up mdallocsys().

Revision 1.58 / (download) - annotate - [select for diffs], Mon Apr 10 13:34:20 2000 UTC (23 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.57: +21 -1 lines
Diff to previous 1.57 (colored)

Get a kernel without DDB to build.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Apr 6 12:17:27 2000 UTC (23 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.56: +9 -10 lines
Diff to previous 1.56 (colored)

- #include "opt_ddb.h" to get correct Debugger() prototype.
- add some (u_long) casts to shut up GCC.

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

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

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:00 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.50: +46 -19 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Pull up to last week's -current.

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

CL* discarding.

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:39:32 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.51: +28 -14 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with -current

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

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

Revision 1.53 / (download) - annotate - [select for diffs], Mon Nov 8 05:06:42 1999 UTC (24 years, 4 months ago) by eeh
Branch: MAIN
Changes since 1.52: +17 -3 lines
Diff to previous 1.52 (colored)

Implement sysctl machdep.booted_kernel.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Nov 6 20:23:02 1999 UTC (24 years, 4 months ago) by eeh
Branch: MAIN
Changes since 1.51: +7 -7 lines
Diff to previous 1.51 (colored)

Explicitly use 32-bit and 64-bit types.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Oct 11 01:57:46 1999 UTC (24 years, 5 months ago) by eeh
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi, fvdl-softdep
Changes since 1.50: +19 -6 lines
Diff to previous 1.50 (colored)

Update to post 1.4.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Sep 17 20:07:17 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Centralize the declaration and clearing of `cold'.

Revision 1.36.2.1.2.3 / (download) - annotate - [select for diffs], Mon Aug 2 21:43:54 1999 UTC (24 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.36.2.1.2.2: +2 -2 lines
Diff to previous 1.36.2.1.2.2 (colored) to branchpoint 1.36.2.1 (colored) next main 1.37 (colored)

Update from trunk.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 8 18:11:00 1999 UTC (24 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Change the pmap_extract() interface to:
	boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.

Revision 1.36.2.1.2.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:23:20 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.36.2.1.2.1: +29 -195 lines
Diff to previous 1.36.2.1.2.1 (colored) to branchpoint 1.36.2.1 (colored)

Sync w/ -current.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jun 21 01:42:36 1999 UTC (24 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.47: +29 -195 lines
Diff to previous 1.47 (colored)

Nuke the last vestiges of a single DVMA map.  This stuff should have
been completely migrated to individual bus drivers.

Revision 1.36.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:02:35 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.36.2.1: +64 -129 lines
Diff to previous 1.36.2.1 (colored)

Sync w/ -current.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jun 7 05:28:04 1999 UTC (24 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.46: +2 -5 lines
Diff to previous 1.46 (colored)

Another general cleanup:

Remove the entire idea of fasttrap interrupts since V9 traps are really cheap,
the CPUs are really fast, and the completely different trap frames would make
these handlers really difficult to implement.

pmap_changeprot() was only used by the clock and one other place; deprecate it.

probeget() and probeset() now take 64-bit addresses even in 32-bit mode so we
can probe IO locations by physical addresses.

Some pmap cleanup.

Some more copyright cleanup.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Jun 5 21:58:18 1999 UTC (24 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Make pbrobeget() and probeset() work for 64-bit values as well.  To do this
the arguments are changed so the address is first and the ASI second so we
can have the address in %o0:%o1 and not worry about unused registers.

Also a bit of copyright cleanup.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jun 5 20:38:25 1999 UTC (24 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

Fix things up so they compile again.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jun 5 05:35:41 1999 UTC (24 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.43: +26 -19 lines
Diff to previous 1.43 (colored)

if we are not bypassing the MMU, use ASI_PRIMARY.  map PCI memory space
non-cached.  XXX clean this up by looking at the "non-cacheable" bit of
the full physical address.
avoid having 'nbuf' change between calls to `mdallocsys()' by setting it
in mdallocsys() like the MI allocsys() does.  XXX fix this too!
fix some printf lossage.
update for probeget() changes -- though bus_space_probe() appears to be
unused on the sparc64.

Revision 1.43 / (download) - annotate - [select for diffs], Mon May 31 00:14:00 1999 UTC (24 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.42: +3 -28 lines
Diff to previous 1.42 (colored)

Garbage collect.

Revision 1.42 / (download) - annotate - [select for diffs], Wed May 26 19:16:34 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (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.41 / (download) - annotate - [select for diffs], Tue May 25 23:14:08 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

bus_dmamem_map() maps DMA safe memory, which is usually one or more
managed pages, into KVA space.  Since the pages are managed, we should
use pmap_enter(), not pmap_kenter_pa().

Also, when entering the mappings, enter with an access_type of
VM_PROT_READ | VM_PROT_WRITE.  We do this for a couple of reasons:

	(1) On systems that have H/W mod/ref attributes, the hardware
	    may not be able to track mod/ref done by a bus master.

	(2) On systems that have to do mod/ref emulation, this prevents
	    a mod/ref page fault from potentially happening while in an
	    interrupt context, which can be problematic.

This latter change is fairly important if we ever want to be able to
transfer DMA-safe memory pages to anonymous memory objects; we will need
to know that the pages are modified, or else data could be lost!

Note that while the pages are unowned (i.e. "just DMA-safe memory pages"),
they won't consume any swap resources, as the mappings are wired, and
the pages aren't on the active or inactive queues.

Revision 1.40 / (download) - annotate - [select for diffs], Sat May 22 20:28:22 1999 UTC (24 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.39: +33 -2 lines
Diff to previous 1.39 (colored)

Fix bus_type_t properly and enable ASI accesses for bus_space_{read,write}*()

Revision 1.39 / (download) - annotate - [select for diffs], Thu May 20 08:21:47 1999 UTC (24 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.38: +16 -92 lines
Diff to previous 1.38 (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.38 / (download) - annotate - [select for diffs], Mon Apr 26 22:46:48 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (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.36.2.1 / (download) - annotate - [select for diffs], Fri Apr 16 16:24:16 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.36: +2 -2 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

pull up 1.36 -> 1.37:
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.37 / (download) - annotate - [select for diffs], Sun Apr 11 04:04:10 1999 UTC (24 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (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.36 / (download) - annotate - [select for diffs], Thu Apr 1 00:17:49 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.35: +1 -6 lines
Diff to previous 1.35 (colored)

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

Revision 1.35 / (download) - annotate - [select for diffs], Sun Mar 28 19:01:03 1999 UTC (24 years, 11 months ago) by eeh
Branch: MAIN
Changes since 1.34: +10 -6 lines
Diff to previous 1.34 (colored)

Fix fault handling code to correctly report access_type and fault_type
and get rid of pmap_enter_phys().

Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 28 16:01:19 1999 UTC (24 years, 11 months ago) by eeh
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Fix ref counting.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:36 1999 UTC (24 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.32: +5 -4 lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:13 1999 UTC (24 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.31: +2 -106 lines
Diff to previous 1.31 (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.31 / (download) - annotate - [select for diffs], Sat Feb 27 06:39:37 1999 UTC (25 years ago) by scottr
Branch: MAIN
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)

defopt BUFCACHE and BUFPAGES.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jan 31 09:21:18 1999 UTC (25 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

retire _LP64; use compiler provided __arch64__, but still defined _LP64 where we used to anyway.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jan 16 20:45:57 1999 UTC (25 years, 1 month ago) by chuck
Branch: MAIN
Changes since 1.28: +1 -4 lines
Diff to previous 1.28 (colored)

MNN is no longer optional, remove dead code

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 10 19:37:47 1999 UTC (25 years, 1 month ago) by eeh
Branch: MAIN
Changes since 1.27: +14 -2 lines
Diff to previous 1.27 (colored)

Support little-endian bus mappings.

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

Garbage-collect `mbutl'.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 3 01:08:51 1999 UTC (25 years, 2 months ago) by eeh
Branch: MAIN
Changes since 1.25: +10 -12 lines
Diff to previous 1.25 (colored)

More signal handling fixups.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Dec 18 15:49:40 1998 UTC (25 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

COMPAT_xxx option review: add missing opt_compat_netbsd.h

Revision 1.24 / (download) - annotate - [select for diffs], Tue Nov 24 12:53:27 1998 UTC (25 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.23: +5 -2 lines
Diff to previous 1.23 (colored)

move now unsed variable under #ifdef NOT_DEBUG

Revision 1.23 / (download) - annotate - [select for diffs], Sun Nov 22 23:38:53 1998 UTC (25 years, 3 months ago) by eeh
Branch: MAIN
Changes since 1.22: +20 -2 lines
Diff to previous 1.22 (colored)

Move allocsys() back to cpu_startup().  We're no longer allocating it from
the locked 4MB TLB entry, but it solves the problem where large memory machines
overflow the 4MB TLB entry.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 16 06:51:36 1998 UTC (25 years, 3 months ago) by eeh
Branch: MAIN
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

Fixup the last broken bits of the signal handling code.

Revision 1.21 / (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.20: +2 -1 lines
Diff to previous 1.20 (colored)

Defopt SYSVMSG, SYSVSEM and SYSVSHM.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 11 23:21:03 1998 UTC (25 years, 4 months ago) by chuck
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

remove unused share map code from UVM:
 - update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
        has been removed)

Revision 1.19 / (download) - annotate - [select for diffs], Tue Oct 6 18:58:09 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +1 -9 lines
Diff to previous 1.18 (colored)

Move the "XXX re-zero proc0 user area" to the end of configure(), before
interrupts are enabled.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 22 02:48:44 1998 UTC (25 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.17: +11 -6 lines
Diff to previous 1.17 (colored)

More fixup in the signal area.

64-bit syscall cleanup.

Add emulation for some new FPU insns: conversion to 64-bit long int and
conditional moves.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Sep 17 04:52:17 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +24 -49 lines
Diff to previous 1.16 (colored)

Make the signal code look a bit more like the 32-bit SPARC port's.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 13 16:45:43 1998 UTC (25 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Looks like something else changed in signal land.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Sep 13 16:02:48 1998 UTC (25 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.14: +33 -16 lines
Diff to previous 1.14 (colored)

Fixup signal changes (hopefully).  However SUN_COMPAT is likely broken by
this and I don't know how to fix it.

We can now exec a 64-bit init through a really ugly hack (don't ask.)

Revision 1.14 / (download) - annotate - [select for diffs], Sun Sep 13 12:24:18 1998 UTC (25 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Fix pasto.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Sep 13 12:13:51 1998 UTC (25 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +46 -20 lines
Diff to previous 1.12 (colored)

Update these for signal handling changes.
XXX Not tested yet.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 11 00:16:59 1998 UTC (25 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Add labels for the compat_sparc32 signal trampoline and break -- er -- fix
suword and fuword.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 7 23:59:07 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.10: +4 -8 lines
Diff to previous 1.10 (colored)

Misc. cleanup.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Sep 6 21:53:43 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.9: +19 -22 lines
Diff to previous 1.9 (colored)

32-bit fixup.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Sep 5 23:57:28 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.8: +39 -154 lines
Diff to previous 1.8 (colored)

It slices.  It dices.  It does everything except exec a sparc32_compat init.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Sep 2 05:51:39 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Periodic update: now starts probing devices.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Aug 30 15:32:19 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.6: +20 -17 lines
Diff to previous 1.6 (colored)

Some more 64-bit cleanup.  Now everything compiles.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 29 18:16:56 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

Some more 64-bit-ification.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 23 15:49:03 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
CVS Tags: PMAP32
Changes since 1.4: +1 -32 lines
Diff to previous 1.4 (colored)

Remove dvma_mapin() and other cruft.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Aug 13 02:10:47 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.3: +74 -90 lines
Diff to previous 1.3 (colored)

Merge paddr_t changes into the main branch.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:44 1998 UTC (25 years, 7 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.3.2.2: +12 -13 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Revert cdevsw mmap routines to return int.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Aug 2 00:06:49 1998 UTC (25 years, 7 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.3.2.1: +13 -4 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Cleanup work:

	Sync up with sys/dev/sbus
	get cgsix to work right

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Thu Jul 30 14:03:56 1998 UTC (25 years, 7 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.3: +63 -87 lines
Diff to previous 1.3 (colored)

Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 7 03:05:04 1998 UTC (25 years, 8 months ago) by eeh
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.2: +60 -12 lines
Diff to previous 1.2 (colored)

General update:

	Added genassym.cf
	Removed lderr which should never have gotten in
	Removed lots of dead code from locore.s
	Added some softint stuff to intr.c
	Added support for halt -p
	esp and le both use bus_dmamap_*() functions now
		instead of kdvma_mapin()
	groundwork for PCI (but we still have no drivers for
		any sun4u PCI devices)

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

defopt COMPAT_SUNOS

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Jun 20 04:58:52 1998 UTC (25 years, 8 months ago) by eeh
Branch: eeh
CVS Tags: eeh-19980609
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import of sparc64.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 20 04:58:52 1998 UTC (25 years, 8 months ago) by eeh
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>