The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.101.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:48 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +10 -5 lines
Sync with HEAD

Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Feb 11 07:51:46 2019 UTC (5 years, 11 months ago) by macallan
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +10 -5 lines
retry timed out IPIs, complain and dump timing info into dmesg
ok martin@

Revision 1.99.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:45 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.99.2.1: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.2.1: +8 -0 lines
update from HEAD

Revision 1.100.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:44 2015 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +10 -2 lines
Sync with HEAD (as of 26th Dec)

Revision 1.100.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 16 13:39:47 2015 UTC (9 years, 2 months ago) by msaitoh
Branches: netbsd-7-0
CVS tags: netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +10 -2 lines
Pull up following revision(s) (requested by martin in ticket #1028):
	sys/arch/sparc64/sparc64/locore.s: revision 1.386
	sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.101
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.105
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.106
- Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
	Remove special case handling for userland lwps from cpu_lwp_fork,
	instead do it in lwp_trampoline when we first return to userland.
  which was a stupid idea - since we did now set all fork child's %tstate
  (and thus %pstate when back in userland) to the current kernel's userland
  default. This meant we lost the address mask bit for 32bit processes and
  all memory model details for 64bit ones.
  Move it back to cpu_lwp_fork and fix the condition to only do it once when
  forking init.
- Fix kmem_free() size mismatch
- Convert siginfo to 32bit version before copying it out to 32bit userland.

Revision 1.100.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 16 13:33:40 2015 UTC (9 years, 2 months ago) by msaitoh
Branches: 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-1
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +10 -2 lines
Pull up following revision(s) (requested by martin in ticket #1028):
	sys/arch/sparc64/sparc64/locore.s: revision 1.386
	sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.101
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.105
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.106
- Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
	Remove special case handling for userland lwps from cpu_lwp_fork,
	instead do it in lwp_trampoline when we first return to userland.
  which was a stupid idea - since we did now set all fork child's %tstate
  (and thus %pstate when back in userland) to the current kernel's userland
  default. This meant we lost the address mask bit for 32bit processes and
  all memory model details for 64bit ones.
  Move it back to cpu_lwp_fork and fix the condition to only do it once when
  forking init.
- Fix kmem_free() size mismatch
- Convert siginfo to 32bit version before copying it out to 32bit userland.

Revision 1.98.14.1: download - view: text, markup, annotated - select for diffs
Sun Nov 15 21:02:22 2015 UTC (9 years, 2 months ago) by bouyer
Branches: netbsd-6-1
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +10 -2 lines
Pull up following revision(s) (requested by martin in ticket #1343):
	sys/arch/sparc64/sparc64/locore.s: revision 1.386
	sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.101
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.105
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.106
Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
	Remove special case handling for userland lwps from cpu_lwp_fork,
	instead do it in lwp_trampoline when we first return to userland.
which was a stupid idea - since we did now set all fork child's %tstate
(and thus %pstate when back in userland) to the current kernel's userland
default. This meant we lost the address mask bit for 32bit processes and
all memory model details for 64bit ones.
Move it back to cpu_lwp_fork and fix the condition to only do it once when
forking init.
Fix kmem_free() size mismatch
Convert siginfo to 32bit version before copying it out to 32bit userland.

Revision 1.98.8.1: download - view: text, markup, annotated - select for diffs
Sun Nov 15 21:02:13 2015 UTC (9 years, 2 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +10 -2 lines
Pull up following revision(s) (requested by martin in ticket #1343):
	sys/arch/sparc64/sparc64/locore.s: revision 1.386
	sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.101
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.105
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.106
Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
	Remove special case handling for userland lwps from cpu_lwp_fork,
	instead do it in lwp_trampoline when we first return to userland.
which was a stupid idea - since we did now set all fork child's %tstate
(and thus %pstate when back in userland) to the current kernel's userland
default. This meant we lost the address mask bit for 32bit processes and
all memory model details for 64bit ones.
Move it back to cpu_lwp_fork and fix the condition to only do it once when
forking init.
Fix kmem_free() size mismatch
Convert siginfo to 32bit version before copying it out to 32bit userland.

Revision 1.98.12.1: download - view: text, markup, annotated - select for diffs
Sun Nov 15 21:01:52 2015 UTC (9 years, 2 months ago) by bouyer
Branches: netbsd-6-0
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +10 -2 lines
Pull up following revision(s) (requested by martin in ticket #1343):
	sys/arch/sparc64/sparc64/locore.s: revision 1.386
	sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.101
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.105
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.106
Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
	Remove special case handling for userland lwps from cpu_lwp_fork,
	instead do it in lwp_trampoline when we first return to userland.
which was a stupid idea - since we did now set all fork child's %tstate
(and thus %pstate when back in userland) to the current kernel's userland
default. This meant we lost the address mask bit for 32bit processes and
all memory model details for 64bit ones.
Move it back to cpu_lwp_fork and fix the condition to only do it once when
forking init.
Fix kmem_free() size mismatch
Convert siginfo to 32bit version before copying it out to 32bit userland.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Fri Nov 6 15:30:59 2015 UTC (9 years, 2 months ago) by martin
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +10 -2 lines
Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:

	Remove special case handling for userland lwps from cpu_lwp_fork,
	instead do it in lwp_trampoline when we first return to userland.

which was a stupid idea - since we did now set all fork child's %tstate
(and thus %pstate when back in userland) to the current kernel's userland
default. This meant we lost the address mask bit for 32bit processes and
all memory model details for 64bit ones.

Move it back to cpu_lwp_fork and fix the condition to only do it once when
forking init.

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

Revision 1.98.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:10 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.98.2.1: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.2.1: +3 -4 lines
sync with head.

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

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

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

Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Sep 15 16:04:16 2013 UTC (11 years, 4 months ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1
Branch point for: nick-nhusb, netbsd-7-0, netbsd-7
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +3 -4 lines
Remove unused variable

Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:57 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -17 lines
sync with head

Revision 1.98.6.1: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:35 2012 UTC (12 years, 10 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +2 -17 lines
sync to -current.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:06:32 2012 UTC (12 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -17 lines
Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sat Oct 8 08:49:07 2011 UTC (13 years, 3 months ago) by nakayama
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-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, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6-1, netbsd-6-0, netbsd-6, jmcneill-usbmp
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -3 lines
Fix namespace confilicts membar_ops(3) vs. macros for SPARC V9
membar instructions.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Jul 1 18:49:24 2011 UTC (13 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:54 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +16 -6 lines
Sync with HEAD.

Revision 1.91.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:09 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +18 -7 lines
sync with head

Revision 1.94.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:06 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.94.2.1: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.2.1: +13 -2 lines
Sync with HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Thu Feb 24 04:28:48 2011 UTC (13 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +13 -2 lines
Allow storing and receiving the LWP private pointer via ucontext_t
on all platforms except VAX and IA64. Add fast access via register for
AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace
the stack based pthread_self(). Implement skeleton support for Alpha,
HPPA, PowerPC, SPARC and SPARC64, but leave it disabled.

Ports that support this feature provide __HAVE____LWP_GETPRIVATE_FAST in
machine/types.h and a corresponding __lwp_getprivate_fast in
machine/mcontext.h.

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

Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Thu Feb 17 12:00:02 2011 UTC (13 years, 11 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +5 -3 lines
Sync with HEAD

Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Feb 10 14:46:47 2011 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-base
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +5 -3 lines
Make vmapbuf() return success/error and make physio deal with a
failure.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Jan 18 23:56:49 2011 UTC (13 years, 11 months ago) by matt
Branches: MAIN
Branch point for: bouyer-quota2
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -5 lines
Copy PK_32 to p2->p_flag instead of doing it in the cpu_proc_fork hook.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Jan 14 02:06:32 2011 UTC (14 years ago) by rmind
Branches: MAIN
CVS tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -2 lines
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.91.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 9 06:03:40 2010 UTC (14 years, 2 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +3 -3 lines
Sync with HEAD.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Nov 6 21:34:24 2010 UTC (14 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: uebayasi-xip-base6, uebayasi-xip-base5, matt-mips64-premerge-20101231
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3 lines
remove an XXX comment.

Revision 1.84.6.2.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:33:49 2010 UTC (14 years, 8 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.84.6.2: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.6.2: +2 -2 lines
sync to netbsd-5

Revision 1.80.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:02 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.80.4.2: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.4.2: +6 -7 lines
sync with head

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Nov 21 04:16:52 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +5 -6 lines
Use lwp_getpcb() on sparc{64} and sun2/3 MD code, clean from struct user usage.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Nov 7 07:27:47 2009 UTC (15 years, 2 months ago) by cegger
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3 lines
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.80.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:12 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.80.4.1: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.4.1: +17 -6 lines
sync with head

Revision 1.84.6.2: download - view: text, markup, annotated - select for diffs
Fri Jun 5 18:29:46 2009 UTC (15 years, 7 months ago) by snj
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, 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
Diff to: previous 1.84.6.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.6.1: +11 -5 lines
Pull up following revision(s) (requested by martin in ticket #786):
	sys/arch/sparc64/include/cpu.h: revision 1.86
	sys/arch/sparc64/sparc64/locore.s: revision 1.291
	sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.89
cpu_setfunc() can not use lwp_trampoline, as that has additional lwp startup
semantics. Use a simpler setfunc_trampoline instead.

Revision 1.84.4.2: download - view: text, markup, annotated - select for diffs
Fri Jun 5 18:28:34 2009 UTC (15 years, 7 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, 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
Diff to: previous 1.84.4.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.4.1: +11 -5 lines
Pull up following revision(s) (requested by martin in ticket #786):
	sys/arch/sparc64/include/cpu.h: revision 1.86
	sys/arch/sparc64/sparc64/locore.s: revision 1.291
	sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.89
cpu_setfunc() can not use lwp_trampoline, as that has additional lwp startup
semantics. Use a simpler setfunc_trampoline instead.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat May 30 16:52:32 2009 UTC (15 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +11 -5 lines
cpu_setfunc() can not use lwp_trampoline, as that has additional lwp startup
semantics. Use a simpler setfunc_trampoline instead.

Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Tue May 26 19:19:53 2009 UTC (15 years, 7 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +8 -3 lines
Pull up following revision(s) (requested by martin in ticket #774):
	sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.88
Deja Vu: when preparing the initial trap frame for a new forked lwp,
explicitly clear condition code. Otherwise we might catch a signal
(handlers are inherited from the parent) before we ever return to
userland. The current trapframe is converted into a ucontext and after
the signal handler returns, the lwp stays in userland and directly
uses the ucontext to return to the fork call.
Fixes PR 41302.

Revision 1.84.6.1: download - view: text, markup, annotated - select for diffs
Tue May 26 19:18:04 2009 UTC (15 years, 7 months ago) by snj
Branches: netbsd-5-0
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +8 -3 lines
Pull up following revision(s) (requested by martin in ticket #774):
	sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.88
Deja Vu: when preparing the initial trap frame for a new forked lwp,
explicitly clear condition code. Otherwise we might catch a signal
(handlers are inherited from the parent) before we ever return to
userland. The current trapframe is converted into a ucontext and after
the signal handler returns, the lwp stays in userland and directly
uses the ucontext to return to the fork call.
Fixes PR 41302.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu May 21 13:24:38 2009 UTC (15 years, 7 months ago) by martin
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +8 -3 lines
Deja Vu: when preparing the initial trap frame for a new forked lwp,
explicitly clear condition code. Otherwise we might catch a signal
(handlers are inherited from the parent) before we ever return to
userland. The current trapframe is converted into a ucontext and after
the signal handler returns, the lwp stays in userland and directly
uses the ucontext to return to the fork call.
Fixes PR 41302.

Revision 1.85.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:38 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +5 -14 lines
Sync with HEAD.

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

Revision 1.80.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:59 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +23 -135 lines
sync with head.

Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:47 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.1: +5 -14 lines
Sync with HEAD.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Mon Mar 16 23:11:15 2009 UTC (15 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -8 lines
ANSIfy functions with function-pointer arguments

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:14 2009 UTC (15 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -8 lines
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:52 2009 UTC (15 years, 11 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -91 lines
Sync with HEAD.

Revision 1.77.16.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:33 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.77.16.2: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.16.2: +16 -117 lines
Sync with HEAD.

Revision 1.80.10.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:29 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.80.10.1: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.10.1: +18 -132 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:01 2008 UTC (16 years, 1 month ago) by ad
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -91 lines
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.84: download - view: text, markup, annotated - select for diffs
Fri Oct 24 07:54:41 2008 UTC (16 years, 2 months ago) by martin
Branches: MAIN
CVS tags: netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2
Branch point for: nick-hppapmap, netbsd-5-0, netbsd-5
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +18 -43 lines
Avoid code duplication: make cpu_lwp_fork() use cpu_setfunc(). Leave
the inlinig to the compiler. Suggested by Nick Hudson.

Revision 1.80.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:01 2008 UTC (16 years, 2 months ago) by haad
Branches: haad-dm
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +19 -8 lines
Sync with HEAD.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Oct 16 17:08:33 2008 UTC (16 years, 3 months ago) by martin
Branches: MAIN
CVS tags: haad-dm-base1
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +17 -2 lines
resurrect cpu_setfunc(), adapted to new world order.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Oct 13 12:25:22 2008 UTC (16 years, 3 months ago) by nakayama
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -4 lines
Remove unnecessary includes.

Revision 1.77.16.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:09 2008 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.77.16.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.16.1: +2 -4 lines
Sync with HEAD.

Revision 1.80.6.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:35 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +4 -6 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.80.8.1: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:30 2008 UTC (16 years, 6 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +4 -6 lines
Sync with head.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Thu Jul 10 15:04:42 2008 UTC (16 years, 6 months ago) by nakayama
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -6 lines
Switch fpstate buffer allocation from malloc to pool_cache.

Ok by martin@.

Revision 1.77.16.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:27 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +47 -46 lines
Sync with HEAD.

Revision 1.60.2.8: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:40 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.60.2.7: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.7: +3 -3 lines
sync with head.

Revision 1.77.12.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:05 2008 UTC (16 years, 9 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +47 -46 lines
sync with head.

Revision 1.75.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:24 2008 UTC (16 years, 9 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.75.2.1: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.1: +47 -46 lines
sync with HEAD

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Mar 17 23:54:03 2008 UTC (16 years, 10 months ago) by nakayama
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, haad-dm
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3 lines
Fix a race condition in IPI handlers of save/drop fpstate, from OpenBSD.
Reported and tested by martin@.

Revision 1.60.2.7: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:28 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.60.2.6: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.6: +47 -46 lines
sync with head.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Mar 14 15:39:18 2008 UTC (16 years, 10 months ago) by nakayama
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +47 -46 lines
Improve FPU state save/clear like x86, idea from OpenBSD.

Revision 1.60.2.6: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:25 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.60.2.5: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.5: +4 -4 lines
sync with head.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Feb 22 10:55:00 2008 UTC (16 years, 10 months ago) by martin
Branches: MAIN
CVS tags: hpcarm-cleanup-base
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -4 lines
Get rid of the IPI simple_lock.

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

Revision 1.60.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:28:45 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.60.2.4: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.4: +4 -4 lines
sync with head.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:57:32 2007 UTC (17 years, 3 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.70.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:38:37 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.70.2.3: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.2.3: +4 -4 lines
Sync with head.

Revision 1.70.10.3: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:25:29 2007 UTC (17 years, 3 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.70.10.2: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.10.2: +7 -7 lines
Sync with HEAD

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

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Sep 11 16:00:07 2007 UTC (17 years, 4 months ago) by martin
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
Cleanup cpu_info: get rid of ci_number and ci_upaid, use ci_index
and ci_cpuid instead.

Revision 1.60.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:30:26 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.60.2.3: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.3: +25 -42 lines
sync with head.

Revision 1.74.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:19:39 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +5 -5 lines
Sync with HEAD.

Revision 1.70.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:39:07 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.70.2.2: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.2: +5 -5 lines
Sync with HEAD.

Revision 1.74.8.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:02:36 2007 UTC (17 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -5 lines
Sync with HEAD.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Aug 15 09:40:15 2007 UTC (17 years, 5 months ago) by tnn
Branches: MAIN
CVS tags: nick-csl-alignment-base5
Branch point for: matt-armv6
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -5 lines
Correct some comments (proc -> lwp conversion)

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

Revision 1.70.10.2: download - view: text, markup, annotated - select for diffs
Tue Jun 26 18:13:45 2007 UTC (17 years, 6 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.70.10.1: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.10.1: +5 -5 lines
Sync with HEAD.

Revision 1.70.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:55:29 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.70.2.1: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.1: +5 -5 lines
Sync with head.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon May 28 21:52:49 2007 UTC (17 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +5 -5 lines
fix some NOTDEF_DEBUG code.

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:28:29 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +24 -41 lines
Sync with head.

Revision 1.70.10.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:27:36 2007 UTC (17 years, 7 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +24 -41 lines
Update to HEAD.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun May 20 19:18:15 2007 UTC (17 years, 8 months ago) by martin
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -11 lines
Remove special case handling for userland lwps from cpu_lwp_fork, instead
do it in lwp_trampoline when we first return to userland.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat May 19 23:25:54 2007 UTC (17 years, 8 months ago) by martin
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -3 lines
No need to pass "old lwp" to lwp_trampoline - we'll get it as return
value from cpu_swithchto() once the lwp gets scheduled for the first
time.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:32 2007 UTC (17 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +27 -34 lines
merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

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

Revision 1.68.2.3: download - view: text, markup, annotated - select for diffs
Sat Apr 28 03:57:18 2007 UTC (17 years, 8 months ago) by mrg
Branches: yamt-idlelwp
Diff to: previous 1.68.2.2: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.2.2: +27 -34 lines
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.68.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:50:50 2007 UTC (17 years, 10 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.68.2.1: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.1: +3 -3 lines
Sync with HEAD.

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

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:53:17 2007 UTC (17 years, 10 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

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

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:31:39 2007 UTC (17 years, 11 months ago) by pavel
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4 lines
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.68: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:13 2007 UTC (17 years, 11 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +12 -5 lines
Merge newlock2 to head.

Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 11 22:22:58 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.1: +12 -5 lines
Checkpoint work in progress.

Revision 1.60.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:05 2006 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.60.2.1: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.1: +58 -11 lines
sync with head.

Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:33 2006 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +54 -11 lines
Sync with head.

Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:12 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.66.2.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.1: +467 -0 lines
sync with head

Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Sep 19 01:54:56 2006 UTC (18 years, 4 months ago) by mrg
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -3 lines
remove an always printed debugging message.

Revision 1.66.2.1
Mon Sep 18 08:18:47 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-splraiseipl
FILE REMOVED
Changes since revision 1.66: +0 -468 lines
file vm_machdep.c was added on branch yamt-splraiseipl on 2006-10-22 06:05:12 +0000

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Sep 18 08:18:47 2006 UTC (18 years, 4 months ago) by martin
Branches: MAIN
CVS tags: yamt-splraiseipl-base
Branch point for: yamt-splraiseipl
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +54 -10 lines
Lazy FPU handling for the MULTIPROCESSOR case

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Sep 15 07:42:38 2006 UTC (18 years, 4 months ago) by martin
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3 lines
Do not bother to save fpu state when we are about to get rid of it.

Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:43:47 2006 UTC (18 years, 4 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +9 -5 lines
sync with head

Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:32 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +6 -2 lines
sync with head.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Aug 31 16:49:21 2006 UTC (18 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +6 -2 lines
Make cpu_coredump dependent on COREDUMP

Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:56:48 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +12 -5 lines
sync with head.

Revision 1.62.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:03 2006 UTC (18 years, 8 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +5 -5 lines
Sync with head.

Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:38:51 2006 UTC (18 years, 11 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +5 -5 lines
sync with head.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Feb 11 17:57:32 2006 UTC (18 years, 11 months ago) by cdi
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -5 lines
ANSIfication: u_intN_t -> uintN_t, use ANSI function declarations/definitions
instead of K&R ones.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:19:15 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -2 lines
merge ktrace-lwp.

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

Revision 1.60.4.1: download - view: text, markup, annotated - select for diffs
Wed Nov 2 11:57:55 2005 UTC (19 years, 2 months ago) by yamt
Branches: yamt-vop
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +9 -2 lines
sync with head.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Oct 27 20:43:30 2005 UTC (19 years, 2 months ago) by martin
Branches: 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
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +9 -2 lines
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.60: download - view: text, markup, annotated - select for diffs
Sat Jun 11 08:54:35 2005 UTC (19 years, 7 months ago) by snj
Branches: MAIN
CVS tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop, yamt-lazymbuf
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
Fix typo in last.  This compiles once again.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Jun 10 05:10:12 2005 UTC (19 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +16 -22 lines
Rework the coredump code to have no explicit knownledge of how coredump
i/o is done.  Instead, pass an opaque cookie which is then passed to a
new routine, coredump_write, which does the actual i/o.  This allows the
method of doing i/o to change without affecting any future MD code.
Also, make netbsd32_core.c [re]use core_netbsd.c (in a similar manner that
core_elf64.c uses core_elf32.c) and eliminate that code duplication.
cpu_coredump{,32} is now called twice, first with a NULL iocookie to fill
the core structure and a second to actually write md parts of the coredump.
All i/o is nolonger random access and is suitable for shipping over a stream.

Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:24 2005 UTC (19 years, 8 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +4 -4 lines
sync with -current

Revision 1.49.2.6: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:28:41 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.49.2.5: preferred, colored
Changes since revision 1.49.2.5: +4 -4 lines
Sync with HEAD.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Apr 1 11:59:35 2005 UTC (19 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -4 lines
merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.

Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 26 11:55:08 2005 UTC (19 years, 11 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +4 -4 lines
convert arch/sparc64 to new apis.

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

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

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Sep 17 14:11:22 2004 UTC (20 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -4 lines
There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).

OK'd by Jason Thorpe

Revision 1.49.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:45:08 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.49.2.2: preferred, colored
Changes since revision 1.49.2.2: +2 -27 lines
Sync with HEAD

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Aug 28 22:12:42 2004 UTC (20 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -27 lines
Garbage-collect pagemove(); nothing use it anymore (YAY!!!)

Revision 1.49.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 26 19:28:30 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.49.2.1: preferred, colored
Changes since revision 1.49.2.1: +4 -4 lines
Adapt to branch.

sparc64 GENERIC compiles.

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:41:39 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +11 -35 lines
Sync with HEAD

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Jan 19 10:39:49 2004 UTC (21 years ago) by martin
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -18 lines
Rename switchexit to cpu_exit and g/c the old C implementation of cpu_exit.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Jan 16 12:42:41 2004 UTC (21 years ago) by martin
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -3 lines
Don't rely on proc_trampoline to clear condition codes for a new
child process on fork - it could be overtaken by a signal delivery
and then use the stale condition code in the trap frame.
Instead, set tf_tstate aproprietaly right from the start.
Fixes PR sparc64/20675.
Many thanks to Paul Kranenburg for hints on a similar problem he fixed
for the sparc port.

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

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

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

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

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

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Dec 2 22:44:17 2003 UTC (21 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -21 lines
Minor cleanup: remove unused code, sync a comment with current reality.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Nov 9 16:41:53 2003 UTC (21 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +5 -5 lines
bzero/bcopy -> memset/memcpy

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Jul 15 03:36:11 2003 UTC (21 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -1 lines
__KERNEL_RCSID()

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:03 2003 UTC (21 years, 6 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Jun 29 10:37:46 2003 UTC (21 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
struct proc * -> struct lwp *

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Jan 18 06:55:26 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +111 -85 lines
Merge the nathanw_sa branch.

Revision 1.41.4.14: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:40:12 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.41.4.13: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.4.13: +3 -23 lines
Catch up to -current.

Revision 1.38.2.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:36:49 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.38.2.4: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.4: +3 -23 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Sep 25 22:21:23 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +1 -2 lines
Don't include <sys/map.h>.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Sep 22 07:19:53 2002 UTC (22 years, 3 months ago) by chs
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -22 lines
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.38.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:41:56 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.38.2.3: preferred, colored
Changes since revision 1.38.2.3: +4 -10 lines
sync kqueue branch with HEAD

Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Wed Sep 4 13:57:34 2002 UTC (22 years, 4 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE, 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
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +4 -10 lines
Pull up revision 1.44 (requested by chuq in ticket #760):
cpu_fork: clear PSTATE_PEF for a child process, reviewed by thorpej

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 31 14:52:39 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.1: +4 -10 lines
catch up with -current.

Revision 1.41.4.13: download - view: text, markup, annotated - select for diffs
Wed Aug 28 22:26:34 2002 UTC (22 years, 4 months ago) by petrov
Branches: nathanw_sa
Diff to: previous 1.41.4.12: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.12: +9 -3 lines
cpu_preempt fix, adjust pc/npc in syscall, use T_AST for cpu_preempt.

Revision 1.41.4.12: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:45:55 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.4.11: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.11: +3 -13 lines
Catch up to -current.

Revision 1.41.4.11: download - view: text, markup, annotated - select for diffs
Fri Aug 23 02:47:08 2002 UTC (22 years, 4 months ago) by petrov
Branches: nathanw_sa
Diff to: previous 1.41.4.10: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.10: +47 -45 lines
sync

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Aug 13 05:08:19 2002 UTC (22 years, 5 months ago) by petrov
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -10 lines
cpu_fork: clear PSTATE_PEF for a child process, reviewed by thorpej

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 01:22:02 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +8 -2 lines
catch up with -current.

Revision 1.41.4.10: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:39:50 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.4.9: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.9: +1 -2 lines
No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.41.4.9: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:08:21 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.4.8: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.8: +3 -3 lines
Curproc->curlwp renaming.

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

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

Revision 1.38.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:42:26 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.38.2.2: preferred, colored
Changes since revision 1.38.2.2: +55 -3 lines
catch up with -current on kqueue branch

Revision 1.41.4.8: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:41:35 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.4.7: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.7: +55 -3 lines
Catch up to -current.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Jun 3 18:08:43 2002 UTC (22 years, 7 months ago) by eeh
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +8 -2 lines
Pass on the P_32 flag on fork and support fork syscall returns using
%g7 as the completion address.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue May 14 02:34:15 2002 UTC (22 years, 8 months ago) by eeh
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +48 -2 lines
Trapframes only have locals or ins if the kernel is compiled DEBUG.

Revision 1.41.4.7: download - view: text, markup, annotated - select for diffs
Fri Jan 4 22:38:59 2002 UTC (23 years ago) by eeh
Branches: nathanw_sa
Diff to: previous 1.41.4.6: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.6: +11 -14 lines
Implement upcalls and cpu_preempt().

Revision 1.41.4.6: download - view: text, markup, annotated - select for diffs
Fri Jan 4 19:12:33 2002 UTC (23 years ago) by eeh
Branches: nathanw_sa
Diff to: previous 1.41.4.5: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.5: +12 -16 lines
Cleanup.

Revision 1.41.4.5: download - view: text, markup, annotated - select for diffs
Fri Jan 4 10:03:37 2002 UTC (23 years ago) by petrov
Branches: nathanw_sa
Diff to: previous 1.41.4.4: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.4: +2 -2 lines
old stuff(single-threaded) works

Revision 1.41.4.4: download - view: text, markup, annotated - select for diffs
Fri Jan 4 09:26:49 2002 UTC (23 years ago) by petrov
Branches: nathanw_sa
Diff to: previous 1.41.4.3: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.3: +3 -2 lines
more bits to SA

Revision 1.41.4.3: download - view: text, markup, annotated - select for diffs
Thu Jan 3 06:42:37 2002 UTC (23 years ago) by petrov
Branches: nathanw_sa
Diff to: previous 1.41.4.2: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.2: +59 -30 lines
make kernel compile

Revision 1.41.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 04:22:23 2001 UTC (23 years, 1 month ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.41.4.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.1: +416 -0 lines
cpu_fork() -> cpu_lwp_fork().  This logically forks an LWP, not a
complete process.  As noted by Gregory McGarry on tech-kern.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:42:41 2001 UTC (23 years, 3 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +3 -3 lines
Catch up with -current.

Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:14:45 2001 UTC (23 years, 4 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.38.2.1: preferred, colored
Changes since revision 1.38.2.1: +3 -3 lines
Update the kqueue branch to HEAD.

Revision 1.41.4.1
Mon Sep 10 21:19:27 2001 UTC (23 years, 4 months ago) by thorpej
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.41: +0 -416 lines
file vm_machdep.c was added on branch nathanw_sa on 2001-12-08 04:22:23 +0000

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Sep 10 21:19:27 2001 UTC (23 years, 4 months ago) by chris
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
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.38.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 25 06:15:59 2001 UTC (23 years, 4 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -8 lines
Merge Aug 24 -current into the kqueue branch.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Aug 24 04:34:27 2001 UTC (23 years, 4 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -6 lines
use pmap_k* for buffer cache pages.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Aug 19 18:08:31 2001 UTC (23 years, 5 months ago) by chs
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -3 lines
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Jun 30 00:02:20 2001 UTC (23 years, 6 months ago) by eeh
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +7 -3 lines
Handle proper saving of the fpstate.

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:36:44 2001 UTC (23 years, 6 months ago) by nathanw
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +3 -1 lines
Catch up to -current.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Apr 24 04:31:13 2001 UTC (23 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -1 lines
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.20.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:11 2001 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.20.2.3: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.3: +0 -1 lines
Sync with HEAD

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Dec 17 21:41:43 2000 UTC (24 years, 1 month ago) by pk
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -2 lines
Remove spurious `#define DEBUG'

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:49:37 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.20.2.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.2: +0 -2 lines
Sync with HEAD (for UBC fixes).

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Dec 11 18:51:55 2000 UTC (24 years, 1 month ago) by eeh
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -3 lines
Don't use rwindow_save() since the stack has already been made COW.

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:30:44 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +6 -1 lines
Sync with HEAD.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Dec 7 00:53:29 2000 UTC (24 years, 1 month ago) by eeh
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +6 -1 lines
Initialize pcb_lastcall so db_dump_pcb() will not bomb on non-DEBUG kernels.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:26:59 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +55 -114 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Oct 19 05:28:50 2000 UTC (24 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
remove unneeded cast.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Sep 28 15:47:27 2000 UTC (24 years, 3 months ago) by eeh
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -7 lines
Remove unneeded cache flushes.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Sep 11 22:37:34 2000 UTC (24 years, 4 months ago) by eeh
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -3 lines
Don't take protection faults on I/O mappings.

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 7 01:04:43 2000 UTC (24 years, 5 months ago) by mrg
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +11 -14 lines
pull up 1.30 (approved by thorpej):
>Cleanup trapstate handling and garbage collect old stuff.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Aug 1 00:36:05 2000 UTC (24 years, 5 months ago) by eeh
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +11 -14 lines
Cleanup trapstate handling and garbage collect old stuff.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Jun 29 07:38:01 2000 UTC (24 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: mrg-merge-1-5-top
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -3 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:21:02 2000 UTC (24 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -2 lines
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.26.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:04:40 2000 UTC (24 years, 6 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +8 -57 lines
Sync w/ netbsd-1-5-base.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun May 28 05:49:04 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -57 lines
Rather than starting init and creating kthreads by forking and then
doing a cpu_set_kpc(), just pass the entry point and argument all
the way down the fork path starting with fork1().  In order to
avoid special-casing the normal fork in every cpu_fork(), MI code
passes down child_return() and the child process pointer explicitly.

This fixes a race condition on multiprocessor systems; a CPU could
grab the newly created processes (which has been placed on a run queue)
before cpu_set_kpc() would be performed.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Mar 26 20:42:37 2000 UTC (24 years, 9 months ago) by kleink
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
Merge parts of chs-ubc2 into the trunk:
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
  make them type-generic, which is necessary i.e. to operate on file offsets
  without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
  integral type (paddr_t, vaddr_t).

Originally done by Chuck Silvers, updated by myself.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Jan 20 22:18:59 2000 UTC (25 years ago) by sommerfeld
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +15 -6 lines
Fix PR9240: comment above cpu_fork() out of synch with reality on most ports.
(comment change only, but was wrong for more than just i386).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Dec 30 16:42:10 1999 UTC (25 years ago) by eeh
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -78 lines
Update COMPAT_NETBSD32 stuff.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:02 1999 UTC (25 years ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +80 -18 lines
Pull up to last week's -current.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Dec 4 21:21:37 1999 UTC (25 years, 1 month ago) by ragge
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
CL* discarding.

Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:39:36 1999 UTC (25 years, 2 months ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +79 -15 lines
Sync with -current

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Nov 13 00:32:17 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: fvdl-softdep-base
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4 lines
Update for pmap_enter() API change.  No functional difference.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Nov 6 20:26:18 1999 UTC (25 years, 2 months ago) by eeh
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +76 -12 lines
Explicitly use 32-bit and 64-bit types and add some of the hooks needed for
32-bit coredumps.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Oct 11 01:57:47 1999 UTC (25 years, 3 months ago) by eeh
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi, fvdl-softdep
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -3 lines
Update to post 1.4.

Revision 1.15.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:43:55 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.15.4.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.4.1: +4 -6 lines
Update from trunk.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jul 8 18:11:00 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Branch point for: wrstuden-devbsize
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -6 lines
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.15.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:02:36 1999 UTC (25 years, 7 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +14 -4 lines
Sync w/ -current.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed May 26 22:19:38 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Generally update the comment above vunmapbuf().

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed May 26 22:07:41 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -2 lines
Generally update the comment above the vmapbuf() implementations.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu May 13 21:58:36 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -2 lines
Allow the caller to specify a stack for the child process.  If NULL,
the child inherits the stack pointer from the parent (traditional
behavior).  Like the signal stack, the stack area is secified as
a low address and a size; machine-dependent code accounts for stack
direction.

This is required for clone(2).

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Mar 26 23:41:36 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -3 lines
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.14: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:14 1999 UTC (25 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -11 lines
completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jan 31 09:21:19 1999 UTC (25 years, 11 months ago) by mrg
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
retire _LP64; use compiler provided __arch64__, but still defined _LP64 where we used to anyway.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Nov 11 06:43:51 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +26 -18 lines
Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
  entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
  When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Sep 9 11:17:31 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
to).

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Sep 9 11:06:08 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -2 lines
Use MID_MACHINE rather than MID_SPARC in cpu_coredump(), and add a comment
about dumping a SPARC32 core file if we're using emul_sparc32.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Sep 9 00:07:56 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -11 lines
Adjust for the new "reaper" kernel thread: do not free the vmspace and
u-area in machine-dependent code.  Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Sep 6 21:53:43 1998 UTC (26 years, 4 months ago) by eeh
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +12 -12 lines
32-bit fixup.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Sep 5 23:57:29 1998 UTC (26 years, 4 months ago) by eeh
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +12 -20 lines
It slices.  It dices.  It does everything except exec a sparc32_compat init.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Aug 30 15:32:19 1998 UTC (26 years, 4 months ago) by eeh
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +20 -18 lines
Some more 64-bit cleanup.  Now everything compiles.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 23 15:49:02 1998 UTC (26 years, 4 months ago) by eeh
Branches: MAIN
CVS tags: PMAP32
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -184 lines
Remove dvma_mapin() and other cruft.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Aug 13 02:10:48 1998 UTC (26 years, 5 months ago) by eeh
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +36 -33 lines
Merge paddr_t changes into the main branch.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 8 03:06:45 1998 UTC (26 years, 5 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +4 -1 lines
Revert cdevsw mmap routines to return int.

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 30 14:03:57 1998 UTC (26 years, 5 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +33 -33 lines
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jul 28 18:34:57 1998 UTC (26 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Don't cast the null residual pointer passed to vn_rdwr().

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jul 7 03:05:05 1998 UTC (26 years, 6 months ago) by eeh
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +24 -15 lines
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.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Jun 20 04:58:53 1998 UTC (26 years, 7 months ago) by eeh
Branches: eeh
CVS tags: eeh-19980609
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Import of sparc64.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jun 20 04:58:53 1998 UTC (26 years, 7 months ago) by eeh
Branches: MAIN
Initial revision

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>