The NetBSD Project

CVS log for src/sys/arch/amd64/amd64/copy.S

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Sep 24 20:19:30 2024 UTC (2 months, 2 weeks ago) by andvar
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
s/acually/actually/ in comment.

P.S. the comment itself is hardly readable though.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Dec 18 07:53:30 2022 UTC (23 months, 3 weeks ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Typo in comment

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Jun 30 16:20:00 2020 UTC (4 years, 5 months ago) by maxv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, netbsd-10-base, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -31 lines
Make copystr() a MI C function, part of libkern and shared on all
architectures.

Notes:

 - On alpha and ia64 the function is kept but gets renamed locally to avoid
   symbol collision. This is because on these two arches, I am not sure
   whether the ASM callers do not rely on fixed registers, so I prefer to
   keep the ASM body for now.
 - On Vax, only the symbol is removed, because the body is used from other
   functions.
 - On RISC-V, this change fixes a bug: copystr() was just a wrapper around
   strlcpy(), but strlcpy() makes the operation less safe (strlen on the
   source beyond its size).
 - The kASan, kCSan and kMSan wrappers are removed, because now that
   copystr() is in C, the compiler transformations are applied to it,
   without the need for manual wrappers.

Could test on amd64 only, but should be fine.

Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:46 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +147 -76 lines
Sync with HEAD

Revision 1.18.38.2: download - view: text, markup, annotated - select for diffs
Sun May 5 08:49:18 2019 UTC (5 years, 7 months ago) by martin
Branches: netbsd-7-0
Diff to: previous 1.18.38.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.38.1: +2 -1 lines
Pull up following revision(s) (requested by maxv in ticket #1693):

	sys/arch/amd64/amd64/copy.S: revision 1.33
	sys/arch/i386/i386/copy.S: revision 1.31

Hum. Fix a potentially catastrophic bug: kcopy() sets DF=1 if the areas
overlap, but doesn't clear it if the copy faults. If this happens, we
return to the caller with DF=1, and each future memory copy will be
backwards.

I wonder if there really are places where kcopy() is called with
overlapping areas.

Revision 1.18.34.1.2.1: download - view: text, markup, annotated - select for diffs
Sun May 5 08:48:40 2019 UTC (5 years, 7 months ago) by martin
Branches: netbsd-7-1
Diff to: previous 1.18.34.1: preferred, colored; next MAIN 1.18.34.2: preferred, colored
Changes since revision 1.18.34.1: +2 -1 lines
Pull up following revision(s) (requested by maxv in ticket #1693):

	sys/arch/amd64/amd64/copy.S: revision 1.33
	sys/arch/i386/i386/copy.S: revision 1.31

Hum. Fix a potentially catastrophic bug: kcopy() sets DF=1 if the areas
overlap, but doesn't clear it if the copy faults. If this happens, we
return to the caller with DF=1, and each future memory copy will be
backwards.

I wonder if there really are places where kcopy() is called with
overlapping areas.

Revision 1.18.34.2: download - view: text, markup, annotated - select for diffs
Sun May 5 08:48:13 2019 UTC (5 years, 7 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.18.34.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.34.1: +2 -1 lines
Pull up following revision(s) (requested by maxv in ticket #1693):

	sys/arch/amd64/amd64/copy.S: revision 1.33
	sys/arch/i386/i386/copy.S: revision 1.31

Hum. Fix a potentially catastrophic bug: kcopy() sets DF=1 if the areas
overlap, but doesn't clear it if the copy faults. If this happens, we
return to the caller with DF=1, and each future memory copy will be
backwards.

I wonder if there really are places where kcopy() is called with
overlapping areas.

Revision 1.20.10.4: download - view: text, markup, annotated - select for diffs
Sun May 5 08:34:16 2019 UTC (5 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.20.10.3: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.10.3: +2 -1 lines
Pull up following revision(s) (requested by maxv in ticket #1257):

	sys/arch/amd64/amd64/copy.S: revision 1.33
	sys/arch/i386/i386/copy.S: revision 1.31

Hum. Fix a potentially catastrophic bug: kcopy() sets DF=1 if the areas
overlap, but doesn't clear it if the copy faults. If this happens, we
return to the caller with DF=1, and each future memory copy will be
backwards.

I wonder if there really are places where kcopy() is called with
overlapping areas.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat May 4 08:50:39 2019 UTC (5 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -1 lines
Hum. Fix a potentially catastrophic bug: kcopy() sets DF=1 if the areas
overlap, but doesn't clear it if the copy faults. If this happens, we
return to the caller with DF=1, and each future memory copy will be
backwards.

I wonder if there really are places where kcopy() is called with
overlapping areas.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Apr 6 20:25:26 2019 UTC (5 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: isaki-audio2-base, isaki-audio2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +11 -11 lines
Fix a think-o / paste-o in the max user address check, pointed out
by maxv@.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Apr 6 03:06:24 2019 UTC (5 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +142 -72 lines
Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:26 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +5 -5 lines
Sync with HEAD

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Jul 14 14:29:40 2018 UTC (6 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -5 lines
Drop NENTRY() from the x86 kernels, use ENTRY(). With PMCs (and other hardware
tracing facilities) we have a much better ways of monitoring the CPU activity
than GPROF, without software modification.

Also I think GPROF has never worked, because the 'start' functions of both
i386 and amd64 use ENTRY(), and it would have caused a function call while the
kernel was not yet relocated.

Revision 1.20.10.3: download - view: text, markup, annotated - select for diffs
Sat Apr 14 10:11:49 2018 UTC (6 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.20.10.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.10.2: +28 -1 lines
Pullup the following revisions via patch, requested by maxv in ticket #748:

sys/arch/amd64/amd64/copy.S		1.29 (adapted, via patch)
sys/arch/amd64/amd64/amd64_trap.S	1.16,1.19 (partial) (via patch)
sys/arch/amd64/amd64/trap.c		1.102,1.106 (partial),1.110 (via patch)
sys/arch/amd64/include/frameasm.h	1.22,1.24 (via patch)
sys/arch/x86/x86/cpu.c			1.137 (via patch)
sys/arch/x86/x86/patch.c		1.23,1.26 (partial) (via patch)

Backport of SMAP support.

Revision 1.20.10.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 00:49:48 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.20.10.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.10.1: +30 -11 lines
Pull up following revision(s) (requested by maxv in ticket #575):
	sys/arch/amd64/amd64/copy.S: 1.28 via patch
	sys/arch/amd64/amd64/cpufunc.S: 1.31
Don't fall through functions, explicitly jump instead.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Jan 7 12:42:46 2018 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-base, 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
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +28 -60 lines
Implement a real hotpatch feature.

Define a HOTPATCH() macro, that puts a label and additional information
in the new .rodata.hotpatch kernel section. In patch.c, scan the section
and patch what needs to be. Now it is possible to hotpatch the content of
a macro.

SMAP is switched to use this new system; this saves a call+ret in each
kernel entry/exit point.

Many other operating systems do the same.

Revision 1.18.18.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:47 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +164 -127 lines
update from HEAD

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Nov 1 09:17:28 2017 UTC (7 years, 1 month ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +11 -8 lines
Don't fall through functions, explicitly jump instead. While here don't
call smap_enable twice (harmless), and add END() markers.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Oct 30 17:06:42 2017 UTC (7 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +19 -2 lines
Always use END() markers when declaring functions in assembly, so that ld
can compute the size of the functions. A few remain.

While here, fix a bug in the INTRSTUB macro: we are falling through
resume_, but it is aligned, so it looks like we're executing the inter-
function padding - which probably happens to contain NOPs, but that's
still bad.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Oct 17 07:02:50 2017 UTC (7 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
fix comment, rdx, not edx

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Oct 17 06:58:15 2017 UTC (7 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +59 -1 lines
Add support for SMAP on amd64.

PSL_AC is cleared from %rflags in each kernel entry point. In the copy
sections, a copy window is opened and the kernel can touch userland
pages. This window is closed when the kernel is done, either at the end
of the copy sections or in the fault-recover functions.

This implementation is not optimized yet, due to the fact that INTRENTRY
is a macro, and we can't hotpatch macros.

Sent on tech-kern@ a month or two ago, tested on a Kabylake.

Revision 1.20.10.1: download - view: text, markup, annotated - select for diffs
Mon Sep 4 20:41:28 2017 UTC (7 years, 3 months ago) by snj
Branches: netbsd-8
CVS tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +48 -34 lines
Pull up following revision(s) (requested by maxv in ticket #257):
	sys/compat/linux/arch/amd64/linux_machdep.c: 1.52
	sys/arch/amd64/amd64/copy.S: 1.21-1.24
	sys/arch/amd64/amd64/locore.S: 1.125
	sys/arch/amd64/amd64/machdep.c: 1.256
Fix a bug in ucas_32 and ucas_64. There is a branch where they don't
initialize %rax.
--
style, reduces an incoming diff
00
Split comment, otherwise it is misleading. kcopy operates on kernel
memory, and must *not* be used with userland pages.
--
Move incq outside of the copy section. No functional change, reduces
my smap diff.
--
Remove dumb debug code and outdated comment.
--
Don't forget to clean l_md.md_flags, otherwise there may be MDL_COMPAT32,
in which case the kernel would always use iret (slower).

Revision 1.18.36.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:27 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.18.36.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.36.1: +48 -34 lines
Sync with HEAD

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Aug 25 11:35:03 2017 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20170825
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -5 lines
Move incq outside of the copy section. No functional change, reduces
my smap diff.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Aug 25 11:05:46 2017 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -4 lines
Split comment, otherwise it is misleading. kcopy operates on kernel
memory, and must *not* be used with userland pages.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Aug 23 08:14:18 2017 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +38 -22 lines
style, reduces an incoming diff

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Aug 23 08:04:22 2017 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -7 lines
Fix a bug in ucas_32 and ucas_64. There is a branch where they don't
initialize %rax.

Revision 1.18.14.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 06:01:05 2017 UTC (7 years, 10 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +2 -2 lines
Apply patch (requested by maxv in ticket #1431):
suword: Don't allow 4 bytes to overflow beyond the userland space.

Revision 1.18.28.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 05:59:59 2017 UTC (7 years, 10 months ago) by snj
Branches: netbsd-6-1
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +2 -2 lines
Apply patch (requested by maxv in ticket #1431):
suword: Don't allow 4 bytes to overflow beyond the userland space.

Revision 1.18.20.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 05:59:33 2017 UTC (7 years, 10 months ago) by snj
Branches: netbsd-6-0
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +2 -2 lines
Apply patch (requested by maxv in ticket #1431):
suword: Don't allow 4 bytes to overflow beyond the userland space.

Revision 1.18.40.1: download - view: text, markup, annotated - select for diffs
Wed Jan 18 08:46:24 2017 UTC (7 years, 10 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +2 -2 lines
Sync with netbsd-5

Revision 1.18.34.1: download - view: text, markup, annotated - select for diffs
Sat Dec 24 04:07:25 2016 UTC (7 years, 11 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, 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
Branch point for: netbsd-7-1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Apply patch (requested by maxv in ticket #1278):
suword: Don't allow 4 bytes to overflow beyond the userland space.

Revision 1.18.38.1: download - view: text, markup, annotated - select for diffs
Sat Dec 24 04:07:00 2016 UTC (7 years, 11 months ago) by snj
Branches: netbsd-7-0
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Apply patch (requested by maxv in ticket #1278):
suword: Don't allow 4 bytes to overflow beyond the userland space.

Revision 1.18.36.1: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:28 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +30 -85 lines
Sync with HEAD (as of 26th Dec)

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Dec 9 16:55:18 2015 UTC (9 years ago) by maxv
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +30 -56 lines
KNF, and use C-style comments. Also, remove fusword/susword.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Nov 21 12:34:48 2015 UTC (9 years ago) by maxv
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -30 lines
Remove the amd64 implementation of fuword and suword. They are not used in
the MI+amd64 code - Christos replaced them yesterday by copy*.

They are both buggy:
 - suword does not properly check the userspace limit: 64 bits are copied,
   but the max address checked is VM_MAXUSER_ADDRESS-4, which means that 4
   bytes may overflow. Reported by Ed Schouten.
 - fuword is supposed to be symmetrical with suword. But it uses 32bit
   registers, so it stores 32bit values! Spotted by Chuck (chs@).

Revision 1.12.8.3: download - view: text, markup, annotated - select for diffs
Mon Mar 28 23:58:09 2011 UTC (13 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.12.8.2: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.8.2: +12 -22 lines
Cure sync hiccups. Code with compile errors is not really useful, heh.

Revision 1.16.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:14 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.16.4.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.4.1: +7 -11 lines
sync with head

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:43:51 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +9 -19 lines
Sync with HEAD.

Revision 1.9.10.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:51:32 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.9.10.3: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.10.3: +9 -19 lines
sync with head.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:13:29 2010 UTC (14 years, 5 months ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-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, matt-mips64-premerge-20101231, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb, netbsd-7-nhusb, netbsd-7-0, netbsd-7, netbsd-6-1, netbsd-6-0, netbsd-6
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -11 lines
fix more bugs in ucas_*():
move the "old" value to %*ax so that cmpxchg* can work.
remove the PCB_ONFAULT stuff, onfault_handler() handles this already.
return the error from fault handler in ucas_fault rather than forcing EFAULT.

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

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jun 22 18:26:05 2010 UTC (14 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -9 lines
Fix ucas_32/ucas_64 on amd64.

Revision 1.9.10.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:01:58 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.9.10.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.10.2: +4 -4 lines
sync with head

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:04 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Nov 13 22:49:46 2009 UTC (15 years, 1 month ago) by dsl
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
tlbstate is 'int', so use 'cmpl' not 'cmpq'.
Fixes gprof on amd64 PR/40960.

Revision 1.12.8.2: download - view: text, markup, annotated - select for diffs
Sun Nov 1 13:58:48 2009 UTC (15 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.12.8.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.8.1: +0 -0 lines
Sync with HEAD.

Revision 1.12.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:08 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +134 -43 lines
Sync with HEAD.

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

Revision 1.9.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:32 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.9.10.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.10.1: +152 -81 lines
sync with head.

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:33:38 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +66 -52 lines
Sync with HEAD.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Mar 28 22:56:19 2009 UTC (15 years, 8 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +66 -52 lines
Change amd64 fault handler to check instruction pointer for copyin/out et al
functions, like in i386.  Avoids setting pcb_onfault, saves few instructions.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:28:50 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +78 -1 lines
Sync with HEAD.

Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 26 20:38:00 2009 UTC (15 years, 9 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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +78 -1 lines
Pull up following revision(s) (requested by rmind in ticket #493):
	sys/arch/amd64/amd64/copy.S: revision 1.13
	sys/arch/i386/i386/copy.S: revision 1.17
	sys/sys/systm.h: revision 1.234
Add ucas (CAS for user-space address) support for i386 and amd64.
API provides ucas_int() and ucas_ptr() for now.
Reviewed by <ad>.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Feb 23 20:27:59 2009 UTC (15 years, 9 months ago) by rmind
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +78 -1 lines
Add ucas (CAS for user-space address) support for i386 and amd64.
API provides ucas_int() and ucas_ptr() for now.

Reviewed by <ad>.

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:39 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +21 -18 lines
Sync with HEAD.

Revision 1.9.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:39:45 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.9.6.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.6.1: +20 -17 lines
Sync with HEAD.

Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 24 16:38:48 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +21 -18 lines
Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Sep 18 21:35:17 2008 UTC (16 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, netbsd-5-base, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, jym-xensuspend
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +21 -18 lines
Annotate some of the assembler.
Remove 2 redundant register-register moves.

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:05 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -24 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.9.8.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:04:39 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.9.8.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.8.1: +1 -24 lines
sync with head

Revision 1.9.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:48 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +33 -32 lines
Sync with HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri May 30 11:03:29 2008 UTC (16 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl
Branch point for: haad-dm
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -24 lines
fillw is dead.

Revision 1.9.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:27 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +33 -9 lines
sync with head.

Revision 1.9.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:21:48 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +33 -9 lines
sync with head.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Apr 28 18:32:12 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +33 -9 lines
Make kernel pagefault handling preeemption safe.

Revision 1.5.10.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:52 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.5.10.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.10.2: +60 -28 lines
sync with HEAD

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:20 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +60 -28 lines
Sync with HEAD.

Revision 1.2.4.4: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:26 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.4.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.3: +60 -28 lines
sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Feb 6 22:27:09 2008 UTC (16 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +60 -28 lines
Reorder code so that we don't default-mispredict the 'deferred switch'
branch on (almost) every copy-in/out.

Revision 1.5.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:44:42 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.5.10.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.10.1: +2 -8 lines
sync with HEAD

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:34:36 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +2 -8 lines
Sync with HEAD.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:46:06 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -8 lines
Sync with HEAD.

Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:42:28 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.2: +2 -8 lines
sync with head.

Revision 1.5.8.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:04:01 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.5.8.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.8.1: +2 -8 lines
Sync with HEAD.

Revision 1.5.14.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 15:58:04 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.5.14.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.14.1: +1 -7 lines
Sync with HEAD

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Nov 12 18:42:00 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: 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, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -8 lines
Don't unconditionally clear the direction flag. The ABI says it must always
be clear when making a function call, and 'cld' takes about 50 clock cyles
on the P4.

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

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:25:00 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +47 -3 lines
sync with head.

Revision 1.5.8.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:42:04 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +47 -3 lines
Sync with HEAD.

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

Revision 1.5.14.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:35:30 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +47 -3 lines
Sync with HEAD.

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:11:34 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +47 -3 lines
Sync with head.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 18 15:28:31 2007 UTC (17 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +47 -3 lines
merge yamt-x86pmap branch.

- reduce differences between amd64 and i386.  notably, share pmap.c
  between them.  it makes several i386 pmap improvements available to
  amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.
- implement deferred pmap switching for amd64.
- remove LARGEPAGES option.  always use large pages if available.
  also, make it work on amd64.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:53:00 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1 lines
Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.5.12.2: download - view: text, markup, annotated - select for diffs
Sun Oct 7 12:51:14 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.5.12.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.12.1: +0 -1 lines
remove some #ifdef _LOCORE and use genassym instead.

Revision 1.5.12.1: download - view: text, markup, annotated - select for diffs
Sun Sep 30 15:32:20 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +47 -2 lines
implement deferred pmap switching for amd64, and make amd64 use
x86 shared pmap code.  it makes several i386 pmap improvements available
to amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:22:29 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +24 -20 lines
sync with head.

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:57:29 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +23 -19 lines
Sync with head.

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:26:56 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +23 -19 lines
Sync with head.

Revision 1.4.10.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:30 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +23 -19 lines
Update to HEAD.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:13 2007 UTC (17 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +23 -19 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.3.26.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:46:16 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.3.26.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.26.1: +2 -2 lines
Sync with HEAD.

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

Revision 1.3.26.1: download - view: text, markup, annotated - select for diffs
Sat Mar 3 15:42:47 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +23 -19 lines
adapt amd64.

XXX changes in identcpu.c is minmum for MONITOR.
XXX identcpu.c should be shared with i386.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:21 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1 lines
merge ktrace-lwp.

Revision 1.1.10.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:27:59 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -1 lines
sync with -current

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:26:50 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -1 lines
Sync with HEAD.

Revision 1.1.12.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:32:45 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -1 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.1.8.1: download - view: text, markup, annotated - select for diffs
Wed Mar 16 11:49:52 2005 UTC (19 years, 9 months ago) by tron
Branches: netbsd-2
CVS tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -1 lines
Pull up revision 1.2 (requested by fvdl in ticket #1317):
Check the passed in address as well as determining the maximum length
using VM_MAXUSER_ADDRESS in copyinstr and copyoutstr.
Problem originally fixed in OpenBSD/i386.
This fix suggested by Charles Hannum (mycroft at netbsd dot org).

Revision 1.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 16 11:49:47 2005 UTC (19 years, 9 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -1 lines
Pull up revision 1.2 (requested by fvdl in ticket #1317):
Check the passed in address as well as determining the maximum length
using VM_MAXUSER_ADDRESS in copyinstr and copyoutstr.
Problem originally fixed in OpenBSD/i386.
This fix suggested by Charles Hannum (mycroft at netbsd dot org).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Mar 14 21:50:59 2005 UTC (19 years, 9 months ago) by fvdl
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1 lines
Check the passed in address as well as determining the maximum length
using VM_MAXUSER_ADDRESS in copyinstr and copyoutstr.

Problem originally fixed in OpenBSD/i386.
This fix suggested by Charles Hannum (mycroft at netbsd dot org).

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Apr 26 18:39:26 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-1-RELEASE, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, netbsd-2-0, netbsd-2, ktrace-lwp, kent-audio2
Rename the x86_64 port to amd64, as this is the actual name used for
the processor family now. x86_64 is kept as the MACHINE_ARCH value,
since it's already widely used (by e.g. the toolchain, etc), and
by other operating systems.

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>