The NetBSD Project

CVS log for src/sys/arch/i386/i386/cpufunc.S

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.51 / (download) - annotate - [select for diffs], Fri Nov 3 09:07:56 2023 UTC (5 months, 1 week ago) by chs
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.50: +16 -2 lines
Diff to previous 1.50 (colored) to selected 1.3.6.3 (colored)

dtrace: add support for SMAP

Add support in dtrace for SMAP, so that actions like copyinstr() work.
It would be better if dtrace could use the SMAP_* hotpatch macros directly,
but the hotpatching code does not currently operate on kernel modules,
so we'll use some tiny functions in the base kernel for now.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Oct 4 20:28:05 2023 UTC (6 months, 1 week ago) by ad
Branch: MAIN
Changes since 1.49: +9 -7 lines
Diff to previous 1.49 (colored) to selected 1.3.6.3 (colored)

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

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jul 19 07:35:08 2020 UTC (3 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, 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
Changes since 1.48: +2 -18 lines
Diff to previous 1.48 (colored) to selected 1.3.6.3 (colored)

Revert most of ad's movs/stos change. Instead do a lot simpler: declare
svs_quad_copy() used by SVS only, with no need for instrumentation, because
SVS is disabled when sanitizers are on.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jun 24 18:09:37 2020 UTC (3 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.47: +2 -18 lines
Diff to previous 1.47 (colored) to selected 1.3.6.3 (colored)

remove unused x86_stos

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jun 15 09:09:23 2020 UTC (3 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.46: +54 -18 lines
Diff to previous 1.46 (colored) to selected 1.3.6.3 (colored)

Serialize rdtsc using with lfence, mfence or cpuid to read TSC more precisely.

 x86/x86/tsc.c rev. 1.67 reduced cache problem and got big improvement, but it
 still has room. I measured the effect of lfence, mfence, cpuid and rdtscp.
The impact to TSC skew and/or drift is:

	AMD:   mfence > rdtscp > cpuid > lfence-serialize > lfence = nomodify
	Intel: lfence > rdtscp > cpuid > nomodify

So, mfence is the best on AMD and lfence is the best on Intel. If it has no
SSE2, we can use cpuid.

NOTE:
  - An AMD's document says DE_CFG_LFENCE_SERIALIZE bit can be used for
    serializing, but it's not so good.
  - On Intel i386(not amd64), it seems the improvement is very little.
  - rdtscp instruct can be used as serializing instruction + rdtsc, but
    it's not good as [lm]fence. Both Intel and AMD's document say that
    the latency of rdtscp is bigger than rdtsc, so I suspect the difference
    of the result comes from it.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Jun 13 23:58:52 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.45: +5 -6 lines
Diff to previous 1.45 (colored) to selected 1.3.6.3 (colored)

Print a rate limited warning if the TSC timecounter goes backwards from the
viewpoint of any single LWP.

Revision 1.45 / (download) - annotate - [select for diffs], Thu May 28 20:03:19 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.44: +10 -2 lines
Diff to previous 1.44 (colored) to selected 1.3.6.3 (colored)

PR port-i386/55314: i386 no longer boots

Oops, EDI and ESI are callee saved on i386.

Revision 1.44 / (download) - annotate - [select for diffs], Wed May 27 20:49:14 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) to selected 1.3.6.3 (colored)

mismatched END pointed out by maxv@

Revision 1.43 / (download) - annotate - [select for diffs], Wed May 27 19:33:40 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.42: +26 -2 lines
Diff to previous 1.42 (colored) to selected 1.3.6.3 (colored)

- Add a couple of wrapper functions around STOS and MOVS and use them to zero
  and copy PTEs in preference to memset()/memcpy().

- Remove related SSE / pageidlezero stuff.

Revision 1.42 / (download) - annotate - [select for diffs], Wed May 27 18:47:13 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.41: +6 -6 lines
Diff to previous 1.41 (colored) to selected 1.3.6.3 (colored)

tsc_get_timecount(): fix 64-bit return

Revision 1.41 / (download) - annotate - [select for diffs], Tue May 19 21:40:55 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.40: +16 -10 lines
Diff to previous 1.40 (colored) to selected 1.3.6.3 (colored)

Make cpu_counter(), cpu_counter32() and tsc_get_timecount() into a single
preemption-safe routine.

Revision 1.40 / (download) - annotate - [select for diffs], Sat May 2 17:14:01 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.39: +40 -40 lines
Diff to previous 1.39 (colored) to selected 1.3.6.3 (colored)

Move x86_hotpatch() in !XENPV section. Fixes XEN3* builds.

Revision 1.39 / (download) - annotate - [select for diffs], Sat May 2 11:37:17 2020 UTC (3 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.38: +40 -2 lines
Diff to previous 1.38 (colored) to selected 1.3.6.3 (colored)

Modify the hotpatch mechanism, in order to make it much less ROP-friendly.

Currently x86_patch_window_open is a big problem, because it is a perfect
function to inject/modify executable code with ROP.

 - Remove x86_patch_window_open(), along with its x86_patch_window_close()
   counterpart.
 - Introduce a read-only link-set of hotpatch descriptor structures,
   which reference a maximum of two read-only hotpatch sources.
 - Modify x86_hotpatch() to open a window and call the new
   x86_hotpatch_apply() function in a hard-coded manner.
 - Modify x86_hotpatch() to take a name and a selector, and have
   x86_hotpatch_apply() resolve the descriptor from the name and the
   source from the selector, before hotpatching.
 - Move the error handling in a separate x86_hotpatch_cleanup() function,
   that gets called after we closed the window.

The resulting implementation is a bit complex and non-obvious. But it
gains the following properties: the code executed in the hotpatch window
is strictly hard-coded (no callback and no possibility to execute your own
code in the window) and the pointers this code accesses are strictly
read-only (no possibility to forge pointers to hotpatch an area that was
not designated as hotpatchable at compile-time, and no possibility to
choose what bytes to write other than the maximum of two read-only
templates that were designated as valid for the given destination at
compile-time).

With current CPUs this slightly improves a situation that is already
pretty bad by definition on x86. Assuming CET however, this change closes
a big hole and is kinda great.

The only ~problem there is, is that dtrace-fbt tries to hotpatch random
places with random bytes, and there is just no way to make it safe.
However dtrace is only in a module, that is rarely used and never compiled
into the kernel, so it's not a big problem; add a shitty & vulnerable
independent hotpatch window in it, and leave big XXXs. It looks like fbt
is going to collapse soon anyway.

Revision 1.21.20.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:52 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.21.20.2: +0 -179 lines
Diff to previous 1.21.20.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.3.6.3 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.21.20.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:40 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.21.20.1: +2 -8 lines
Diff to previous 1.21.20.1 (colored) to branchpoint 1.21 (colored) to selected 1.3.6.3 (colored)

Merge changes from current as of 20200406

Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 21 19:24:00 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.37: +2 -8 lines
Diff to previous 1.37 (colored) to selected 1.3.6.3 (colored)

mi_userret(): take care of calling preempt(), set spc_curpriority directly,
and remove MD code that does the same.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Nov 15 09:03:26 2019 UTC (4 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.36: +2 -68 lines
Diff to previous 1.36 (colored) to selected 1.3.6.3 (colored)

Remove the ins* and outs* functions. Not sanitizer-friendly, and unused
anyway.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 30 17:06:57 2019 UTC (4 years, 5 months ago) by maxv
Branch: MAIN
Changes since 1.35: +2 -50 lines
Diff to previous 1.35 (colored) to selected 1.3.6.3 (colored)

More inlined ASM.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Sep 7 18:33:16 2019 UTC (4 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.34: +2 -22 lines
Diff to previous 1.34 (colored) to selected 1.3.6.3 (colored)

Convert rdmsr_locked and wrmsr_locked to inlines.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jul 5 17:08:55 2019 UTC (4 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.33: +2 -31 lines
Diff to previous 1.33 (colored) to selected 1.3.6.3 (colored)

More inlines, prerequisites for future changes. Also, remove fngetsw(),
which was a duplicate of fnstsw().

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jul 3 17:24:37 2019 UTC (4 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.32: +2 -18 lines
Diff to previous 1.32 (colored) to selected 1.3.6.3 (colored)

Inline x86_cpuid2(), prerequisite for future changes. Also, add "memory"
on certain other inlines, to make sure GCC does not reorder.

Revision 1.21.20.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:20 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.21: +7 -102 lines
Diff to previous 1.21 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Sun May 19 08:17:02 2019 UTC (4 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.31: +2 -7 lines
Diff to previous 1.31 (colored) to selected 1.3.6.3 (colored)

Misc changes in the x86 FPU code. Reduces a future diff. No real functional
change.

Revision 1.31 / (download) - annotate - [select for diffs], Sat May 4 07:20:22 2019 UTC (4 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.30: +2 -33 lines
Diff to previous 1.30 (colored) to selected 1.3.6.3 (colored)

More inlined ASM. While here switch to proper types.

Revision 1.30 / (download) - annotate - [select for diffs], Wed May 1 15:17:49 2019 UTC (4 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.29: +2 -43 lines
Diff to previous 1.29 (colored) to selected 1.3.6.3 (colored)

Start converting the x86 CPU functions to inlined ASM. Matters for NVMM,
where some are invoked millions of times.

Revision 1.29 / (download) - annotate - [select for diffs], Wed May 1 14:29:15 2019 UTC (4 years, 11 months ago) by maxv
Branch: MAIN
Changes since 1.28: +2 -27 lines
Diff to previous 1.28 (colored) to selected 1.3.6.3 (colored)

Remove unused functions and reorder a little.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:32 2019 UTC (5 years, 2 months ago) by cherry
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.27: +6 -6 lines
Diff to previous 1.27 (colored) to selected 1.3.6.3 (colored)

We reorganise definitions for XEN source support as follows:

XEN - common sources required for baseline XEN support.
XENPV - sources required for support of XEN in PV mode.
XENPVHVM - sources required for support for XEN in HVM mode.
XENPVH - sources required for support for XEN in PVH mode.

Revision 1.21.18.5 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:17 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.21.18.4: +6 -18 lines
Diff to previous 1.21.18.4 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.3.6.3 (colored)

Synch with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 6 14:35:31 2019 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Changes since 1.26: +4 -16 lines
Diff to previous 1.26 (colored) to selected 1.3.6.3 (colored)

Rollback http://mail-index.netbsd.org/source-changes/2018/12/22/msg101629.html

This change breaks module loading due to weak alias being unsupported
in the kernel module linker.

Requested by maxv@ and others as it affects their work.

No immediate decision on a replacement method is available, but other options
suggested include pre-processing, conditional compilation (#ifdef etc) and other
source level methods to avoid linktime decision making.

Revision 1.21.18.4 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:38 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.21.18.3: +18 -6 lines
Diff to previous 1.21.18.3 (colored) to branchpoint 1.21 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 22 21:27:22 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-1226
Changes since 1.25: +18 -6 lines
Diff to previous 1.25 (colored) to selected 1.3.6.3 (colored)

Introduce a weak alias method of exporting different implementations
of the same API.

For eg: the amd64 native implementation of invlpg() now becomes
amd64_invlpg() with a weak symbol export of invlpg(), while the XEN
implementation becomes xen_invlpg(), also weakly exported as invlpg()

Note that linking in both together without having an override function
named invlpg() would be a mistake, as we have limited control over
which of the two options would emerge as the finally exported invlpg()
resulting in a potential situation where the wrong function is finally
exported. This change avoids this situation.

We should however include an override function invlpg() in that case,
such that it is able to then pass on the call to the appropriate
backing function (amd64_invlpg() in the case of native, and
xen_invlpg() in the case of under XEN virtualisation) at runtime.

This change does not introduce such a function and therefore does not
alter builds to include native as well as XEN implementations in the
same binary. This will be done later, with the introduction of XEN
PVHVM mode, where precisely such a runtime switch is required.

There are no operational changes introduced by this change.

Revision 1.21.18.3 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:28 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.21.18.2: +3 -3 lines
Diff to previous 1.21.18.2 (colored) to branchpoint 1.21 (colored) to selected 1.3.6.3 (colored)

Sync with head

Revision 1.25 / (download) - annotate - [select for diffs], Thu Oct 18 04:11:14 2018 UTC (5 years, 5 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.3.6.3 (colored)

Whitespace self-police.

Revision 1.21.18.2 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:44 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.21.18.1: +5 -3 lines
Diff to previous 1.21.18.1 (colored) to branchpoint 1.21 (colored) to selected 1.3.6.3 (colored)

Ssync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 23 15:28:48 2018 UTC (5 years, 6 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.23: +5 -3 lines
Diff to previous 1.23 (colored) to selected 1.3.6.3 (colored)

Fix for i386, functionality intended in:
http://mail-index.netbsd.org/source-changes/2018/09/23/msg099357.html

This should fix the build for both GENERIC and XEN3PAE_DOM0

This has not been boot tested on native or xen3pae

Notes: pmap_changeprot_local() seems to be x86_64 only.
I was a bit surprised by this initially, but I suspect that the table
protections are enforced via ring0/ring1 fencing rather than page protections

the gdt registration code in i386 is still messy. I will leave it as is
for now - to avoid a rabbit hole.

Revision 1.21.18.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:34 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.21: +8 -3 lines
Diff to previous 1.21 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 21 16:21:27 2018 UTC (5 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.22: +7 -2 lines
Diff to previous 1.22 (colored) to selected 1.3.6.3 (colored)

Forgot to commit a change in i386/cpufunc.S; add rdtsc(), so that it can be
used in cpu_rng. Restore the cpu_rng code back to how it was in my initial
commit.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 14 14:29:40 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.3.6.3 (colored)

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.17.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:17 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.17.12.1: +1 -2 lines
Diff to previous 1.17.12.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored) to selected 1.3.6.3 (colored)

update from HEAD

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Mon Jun 1 14:43:48 2015 UTC (8 years, 10 months ago) by sborrill
Branch: netbsd-5-1
Changes since 1.13: +37 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.3.6.3 (colored)

Pull up the following revisions(s) (requested by msaitoh in ticket #1969):
	sys/arch/x86/include/cpufunc.h:	revision 1.13
	sys/arch/amd64/amd64/cpufunc.S:	revision 1.20-1.21 via patch
	sys/arch/i386/i386/cpufunc.S:	revision 1.16-1.17, 1.21 via patch

Backport rdmsr_safe() to access MSR safely.

Revision 1.13.14.1 / (download) - annotate - [select for diffs], Mon Jun 1 14:42:40 2015 UTC (8 years, 10 months ago) by sborrill
Branch: netbsd-5-2
Changes since 1.13: +37 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.3.6.3 (colored)

Pull up the following revisions(s) (requested by msaitoh in ticket #1969):
	sys/arch/x86/include/cpufunc.h:	revision 1.13
	sys/arch/amd64/amd64/cpufunc.S:	revision 1.20-1.21 via patch
	sys/arch/i386/i386/cpufunc.S:	revision 1.16-1.17, 1.21 via patch

Backport rdmsr_safe() to access MSR safely.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Mon Jun 1 14:38:31 2015 UTC (8 years, 10 months ago) by sborrill
Branch: netbsd-5
Changes since 1.13: +37 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.3.6.3 (colored)

Pull up the following revisions(s) (requested by msaitoh in ticket #1969):
	sys/arch/x86/include/cpufunc.h:		revision 1.13
	sys/arch/amd64/amd64/cpufunc.S:		revision 1.20-1.21 via patch
	sys/arch/i386/i386/cpufunc.S:		revision 1.16-1.17, 1.21 via patch

Backport rdmsr_safe() to access MSR safely.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Sep 16 09:42:47 2014 UTC (9 years, 7 months ago) by mrg
Branch: 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-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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, 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, pgoyette-compat
Changes since 1.20: +3 -4 lines
Diff to previous 1.20 (colored) to selected 1.3.6.3 (colored)

fix an END() marker to match the function.

Revision 1.17.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:06 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.17: +62 -4 lines
Diff to previous 1.17 (colored) to selected 1.3.6.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:39:51 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.17: +62 -4 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.3.6.3 (colored)

sync with head.

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

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

Revision 1.17.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:12 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.17: +62 -4 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.3.6.3 (colored)

sync with head

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 6 12:30:24 2014 UTC (10 years, 1 month ago) by nonaka
Branch: 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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored) to selected 1.3.6.3 (colored)

fix to pass collect memory address to xrstor.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 25 22:16:52 2014 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.18: +46 -2 lines
Diff to previous 1.18 (colored) to selected 1.3.6.3 (colored)

Add support for saving the AVX-256 ymm registers during FPU context switches.
Add support for the forthcoming AVX-512 registers.
Code compiled with -mavx seems to work, but I've not tested context
  switches with live ymm registers.
There is a small cost on fork/exec (a larger area is copied/zerod),
  but I don't think the ymm registers are read/written unless they
  have been used.
The code use XSAVE on all cpus, I'm not brave enough to enable XSAVEOPT.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 12 23:24:09 2014 UTC (10 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.17: +18 -4 lines
Diff to previous 1.17 (colored) to selected 1.3.6.3 (colored)

Change i386 to use x86/fpu.c instead of i386/isa/npx.c
This changes the trap10 and trap13 code to call directly into fpu.c,
  removing all the code for T_ARITHTRAP, T_XMM and T_FPUNDA from i386/trap.c
Not all of the code thate appeared to handle fpu traps was ever called!
Most of the changes just replace the include of machine/npx.h with x86/fpu.h
  (or remove it entirely).

Revision 1.17 / (download) - annotate - [select for diffs], Sat Sep 24 21:24:52 2011 UTC (12 years, 6 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) to selected 1.3.6.3 (colored)

White space fix.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 24 10:32:52 2011 UTC (12 years, 6 months ago) by jym
Branch: MAIN
Changes since 1.15: +38 -2 lines
Diff to previous 1.15 (colored) to selected 1.3.6.3 (colored)

Import rdmsr_safe(msr, *value) for x86 world. It allows reading MSRs
in a safe way by handling the fault that might trigger for certain
register <> CPU/arch combos.

Requested by Jukka. Patch adapted from one found in DragonflyBSD.

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:48 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:06 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.3.6.3 (colored)

sync with head

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon Mar 28 23:04:40 2011 UTC (13 years ago) by jym
Branch: jym-xensuspend
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD. TODO before merge:
- shortcut for suspend code in sysmon, when powerd(8) is not running.
Borrow ``xs_watch'' thread context?
- bug hunting in xbd + xennet resume. Rings are currently thrashed upon
resume, so current implementation force flush them on suspend. It's not
really needed.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 18 15:32:02 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) to selected 1.3.6.3 (colored)

Use explicit size with fld.

Revision 1.6.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:16 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.6.10.1: +19 -59 lines
Diff to previous 1.6.10.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.3.6.3 (colored)

sync with head.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:15 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.13: +2 -45 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.6.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:03 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.6.6.2: +0 -43 lines
Diff to previous 1.6.6.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:13 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.12.4.1: +2 -45 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.3.6.3 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 2 17:56:06 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jruoho-x86intr-base, haad-nbase2, haad-dm-base2, haad-dm-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock, jym-xensuspend, jruoho-x86intr
Changes since 1.13: +2 -45 lines
Diff to previous 1.13 (colored) to selected 1.3.6.3 (colored)

Remove unused functions.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:48 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Fri Oct 10 22:29:04 2008 UTC (15 years, 6 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.9.2.1: +5 -2 lines
Diff to previous 1.9.2.1 (colored) next main 1.10 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:39:59 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.6.6.1: +3 -0 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 23 08:50:11 2008 UTC (15 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, 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-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-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5-2, netbsd-5-1, netbsd-5
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored) to selected 1.3.6.3 (colored)

stts: don't modify %cr0 if TS is already set.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:26 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.9: +31 -23 lines
Diff to previous 1.9 (colored) to selected 1.3.6.3 (colored)

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

Revision 1.6.8.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:47 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.6.8.1: +21 -21 lines
Diff to previous 1.6.8.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.3.6.3 (colored)

sync with head

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:14 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.6: +94 -28 lines
Diff to previous 1.6 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.12 / (download) - annotate - [select for diffs], Sun May 25 15:56:12 2008 UTC (15 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl
Branch point for: haad-dm
Changes since 1.11: +21 -21 lines
Diff to previous 1.11 (colored) to selected 1.3.6.3 (colored)

enable profiling of assembly functions.

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:10 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.6: +76 -10 lines
Diff to previous 1.6 (colored) to selected 1.3.6.3 (colored)

sync with head.

Revision 1.6.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:33 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.6: +76 -10 lines
Diff to previous 1.6 (colored) to selected 1.3.6.3 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 10 16:21:41 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored) to selected 1.3.6.3 (colored)

Take skew into account for cpu_counter().

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 10 16:12:32 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.9: +9 -4 lines
Diff to previous 1.9 (colored) to selected 1.3.6.3 (colored)

Improve x86 tsc handling:

- Ditch the cross-CPU calibration stuff. It didn't work properly, and it's
  near impossible to synchronize the CPUs in a running system, because bus
  traffic will interfere with any calibration attempt, messing up the
  timings.

- Only enable the TSC on CPUs where we are sure it does not drift. If we are
  On a known good CPU, give the TSC high timecounter quality, making it the
  default.

- When booting CPUs, detect TSC skew and account for it. Most Intel MP
  systems have synchronized counters, but that need not be true if the
  system has a complicated bus structure. As far as I know, AMD systems
  do not have synchronized TSCs and so we need to handle skew.

- While an AP is waiting to be set running, try and make the TSC drift by
  entering a reduced power state. If we detect drift, ensure that the TSC
  does not get a high timecounter quality. This should not happen and is
  only for safety.

- Make cpu_counter() stuff LKM safe.

Revision 1.9 / (download) - annotate - [select for diffs], Sat May 3 06:11:19 2008 UTC (15 years, 11 months ago) by yamt
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.8: +62 -2 lines
Diff to previous 1.8 (colored) to selected 1.3.6.3 (colored)

sprinkle END/IDTVEC_END.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 28 22:47:37 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.7: +7 -2 lines
Diff to previous 1.7 (colored) to selected 1.3.6.3 (colored)

Add support for kernel preeemption to the i386 and amd64 ports. Notes:

- I have seen one isolated panic in the x86 pmap, but otherwise i386
  seems stable with preemption enabled.

- amd64 is missing the FPU handling changes and it's not yet safe to
  enable it there.

- The usual level for kern.sched.kpreempt_pri will be 128 once enabled
  by default. For testing, setting it to 0 helps to shake out bugs.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:24 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.6: +2 -9 lines
Diff to previous 1.6 (colored) to selected 1.3.6.3 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.2.14.4 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:06 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.2.14.3: +5 -2 lines
Diff to previous 1.2.14.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.3.6.3 (colored)

sync with HEAD

Revision 1.2.12.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:37 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.2.12.2: +8 -4 lines
Diff to previous 1.2.12.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.2.10.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:36:57 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.10.3: +10 -4 lines
Diff to previous 1.2.10.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.3.6.3 (colored)

sync with head

Revision 1.3.6.3 / (download) - annotate - [selected], Sat Jan 19 12:14:18 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.3.6.2: +3 -0 lines
Diff to previous 1.3.6.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 17 15:01:05 2008 UTC (16 years, 3 months ago) by ad
Branch: 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, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.5: +5 -2 lines
Diff to previous 1.5 (colored) to selected 1.3.6.3 (colored)

breakpoint: set up a stackframe so gdb doesn't get lost.

Revision 1.2.14.3 / (download) - annotate - [select for diffs], Wed Jan 9 01:46:33 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.2.14.2: +7 -10 lines
Diff to previous 1.2.14.2 (colored) to branchpoint 1.2 (colored) to selected 1.3.6.3 (colored)

sync with HEAD

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:48:14 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.3.6.1: +3 -2 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 1 12:51:08 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.4: +5 -4 lines
Diff to previous 1.4 (colored) to selected 1.3.6.3 (colored)

add x86_cpuid2, which can specify ecx register.

Revision 1.2.12.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:43:05 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.2.12.1: +4 -2 lines
Diff to previous 1.2.12.1 (colored) to branchpoint 1.2 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:17 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.3.6.3 (colored)

Sync with head.

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:54:40 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Thu Dec 13 05:05:15 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.3.6.3 (colored)

sync with head.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 11 23:06:12 2007 UTC (16 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3, vmlocking2-base3
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored) to selected 1.3.6.3 (colored)

Use __KERNEL_RCSID().  For these .S files, the following style was
adopted, a la .C files and <sys/cdefs.h>:
  *  move <machine/asm.h> to the top
  *  use __KERNEL_RCSID() immediately after it

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:36:38 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.2.6.2: +1 -7 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.2.12.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:46:24 2007 UTC (16 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.2: +1 -7 lines
Diff to previous 1.2 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.2.10.3 / (download) - annotate - [select for diffs], Thu Nov 15 11:42:54 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.10.2: +1 -7 lines
Diff to previous 1.2.10.2 (colored) to branchpoint 1.2 (colored) to selected 1.3.6.3 (colored)

sync with head.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:04:10 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.2.2.2: +1 -7 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Tue Nov 13 15:58:32 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.2: +1 -7 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Mon Nov 12 18:42:00 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base2, yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2, bouyer-xeni386
Changes since 1.2: +1 -7 lines
Diff to previous 1.2 (colored) to selected 1.3.6.3 (colored)

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.2.14.2 / (download) - annotate - [select for diffs], Tue Nov 6 23:17:24 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.2.14.1: +437 -0 lines
Diff to previous 1.2.14.1 (colored) to branchpoint 1.2 (colored) to selected 1.3.6.3 (colored)

sync with HEAD

Revision 1.2.10.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:26:33 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.10.1: +437 -0 lines
Diff to previous 1.2.10.1 (colored) to branchpoint 1.2 (colored) to selected 1.3.6.3 (colored)

sync with head.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:37:53 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.2.6.1: +437 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) to selected 1.3.6.3 (colored)

Sync with head.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sat Oct 6 15:34:51 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.2.4.1: +437 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.3.6.3 (colored)

sync with head.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:15 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.2.2.1: +437 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) to selected 1.3.6.3 (colored)

Sync with HEAD.

Revision 1.2.14.1, Wed Sep 26 22:05:24 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.2: +0 -437 lines
FILE REMOVED

file cpufunc.S was added on branch matt-armv6 on 2007-11-06 23:17:24 +0000

Revision 1.2.10.1, Wed Sep 26 22:05:24 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -437 lines
FILE REMOVED

file cpufunc.S was added on branch yamt-lazymbuf on 2007-10-27 11:26:33 +0000

Revision 1.2.6.1, Wed Sep 26 22:05:24 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.2: +0 -437 lines
FILE REMOVED

file cpufunc.S was added on branch vmlocking on 2007-10-09 13:37:53 +0000

Revision 1.2.4.1, Wed Sep 26 22:05:24 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.2: +0 -437 lines
FILE REMOVED

file cpufunc.S was added on branch yamt-x86pmap on 2007-10-06 15:34:50 +0000

Revision 1.2.2.1, Wed Sep 26 22:05:24 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.2: +0 -437 lines
FILE REMOVED

file cpufunc.S was added on branch jmcneill-pm on 2007-10-02 18:27:15 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 26 22:05:24 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, jmcneill-base
Branch point for: yamt-x86pmap, yamt-lazymbuf, vmlocking, mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.1: +42 -42 lines
Diff to previous 1.1 (colored) to selected 1.3.6.3 (colored)

Enable mcount for more of the assembly stubs.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 26 19:48:36 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
Diff to selected 1.3.6.3 (colored)

x86 changes for pcc and LKMs.

- Replace most inline assembly with proper functions. As a side effect
  this reduces the size of amd64 GENERIC by about 120kB, and i386 by a
  smaller amount. Nearly all of the inlines did something slow, or something
  that does not need to be fast.
- Make curcpu() and curlwp functions proper, unless __GNUC__ && _KERNEL.
  In that case make them inlines. Makes curlwp LKM and preemption safe.
- Make bus_space and bus_dma more LKM friendly.
- Share a few more files between the ports.
- Other minor changes.

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




CVSweb <webmaster@jp.NetBSD.org>