The NetBSD Project

CVS log for src/sys/arch/amd64/include/cpu.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.72 / (download) - annotate - [select for diffs], Mon Sep 4 20:58:52 2023 UTC (7 months, 1 week ago) by mrg
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.71: +11 -1 lines
Diff to previous 1.71 (colored) to selected 1.15 (colored)

x86: avoid annoying GCC 12 bounds check in curcpu() and curlwp().

these functions read %gs and return an pointer at an offset from this
value (the current cpu, or lwp pointers), and GCC is complaining that
they're accessing a array cpu_info[0] (ie, zero length, no storage.)

several attempts to workaround it have failed, and because of the
asm volatile nature of this, it seems very unlikely a compiler would
take this and do something wrong with it.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Apr 9 08:17:56 2023 UTC (12 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored) to selected 1.15 (colored)

amd64: Make curlwp and curcpu() flushable.

The only effect of the `volatile' qualifier on an asm block with
outputs is to force the instructions to appear in the generated code,
even if the outputs end up being unused.  Since these instructions
have no (architectural) side effects -- provided %gs is set
correctly, which must be the case here -- there's no need for the
volatile qualifier, so nix it.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Nov 2 11:26:03 2021 UTC (2 years, 5 months ago) by ryo
Branch: MAIN
CVS Tags: 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored) to selected 1.15 (colored)

In order to prevent _mcount() from being recursively called when built with COPTS=-O0,
sprinkle `__always_inline' to make _mcount() be generated as a single function.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Apr 17 20:12:55 2021 UTC (3 years ago) by rillig
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-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored) to selected 1.15 (colored)

sys/arch/amd64: remove trailing whitespace

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:30 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.62.2.1: +7 -13 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.15 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.68 / (download) - annotate - [select for diffs], Tue Mar 17 17:18:49 2020 UTC (4 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.67: +4 -1 lines
Diff to previous 1.67 (colored) to selected 1.15 (colored)

Add a redzone between the pcb and the stack. Sent to port-amd64@.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Dec 8 11:53:54 2019 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.66: +3 -18 lines
Diff to previous 1.66 (colored) to selected 1.15 (colored)

Use the inlines; it is actually fine, since the compiler drops the inlines
if the caller is kmsan-instrumented, forcing a white-listing of the memory
access.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Nov 21 19:23:58 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.65: +1 -13 lines
Diff to previous 1.65 (colored) to selected 1.15 (colored)

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

Revision 1.65 / (download) - annotate - [select for diffs], Thu Nov 14 16:23:52 2019 UTC (4 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.64: +19 -1 lines
Diff to previous 1.64 (colored) to selected 1.15 (colored)

Add support for Kernel Memory Sanitizer (kMSan). It detects uninitialized
memory used by the kernel at run time, and just like kASan and kCSan, it
is an excellent feature. It has already detected 38 uninitialized variables
in the kernel during my testing, which I have since discreetly fixed.

We use two shadows:
 - "shad", to track uninitialized memory with a bit granularity (1:1).
   Each bit set to 1 in the shad corresponds to one uninitialized bit of
   real kernel memory.
 - "orig", to track the origin of the memory with a 4-byte granularity
   (1:1). Each uint32_t cell in the orig indicates the origin of the
   associated uint32_t of real kernel memory.

The memory consumption of these shadows is consequent, so at least 4GB of
RAM is recommended to run kMSan.

The compiler inserts calls to specific __msan_* functions on each memory
access, to manage both the shad and the orig and detect uninitialized
memory accesses that change the execution flow (like an "if" on an
uninitialized variable).

We mark as uninit several types of memory buffers (stack, pools, kmem,
malloc, uvm_km), and check each buffer passed to copyout, copyoutstr,
bwrite, if_transmit_lock and DMA operations, to detect uninitialized memory
that leaves the system. This allows us to detect kernel info leaks in a way
that is more efficient and also more user-friendly than KLEAK.

Contrary to kASan, kMSan requires comprehensive coverage, ie we cannot
tolerate having one non-instrumented function, because this could cause
false positives. kMSan cannot instrument ASM functions, so I converted
most of them to __asm__ inlines, which kMSan is able to instrument. Those
that remain receive special treatment.

Contrary to kASan again, kMSan uses a TLS, so we must context-switch this
TLS during interrupts. We use different contexts depending on the interrupt
level.

The orig tracks precisely the origin of a buffer. We use a special encoding
for the orig values, and pack together in each uint32_t cell of the orig:
 - a code designating the type of memory (Stack, Pool, etc), and
 - a compressed pointer, which points either (1) to a string containing
   the name of the variable associated with the cell, or (2) to an area
   in the kernel .text section which we resolve to a symbol name + offset.

This encoding allows us not to consume extra memory for associating
information with each cell, and produces a precise output, that can tell
for example the name of an uninitialized variable on the stack, the
function in which it was pushed on the stack, and the function where we
accessed this uninitialized variable.

kMSan is available with LLVM, but not with GCC.

The code is organized in a way that is similar to kASan and kCSan, so it
means that other architectures than amd64 can be supported.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:47 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.62: +6 -1 lines
Diff to previous 1.62 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:32 2019 UTC (5 years, 2 months ago) by cherry
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.63: +4 -4 lines
Diff to previous 1.63 (colored) to selected 1.15 (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.61.2.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:17 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.61.2.1: +6 -1 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.15 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.63 / (download) - annotate - [select for diffs], Sun Nov 18 23:50:48 2018 UTC (5 years, 5 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.62: +6 -1 lines
Diff to previous 1.62 (colored) to selected 1.15 (colored)

On Xen, copy just the bits we need from the trapframe for hardclock(9)
and statclock(9).

Current, the macros that use the trapframe are:
CLKF_USERMODE()
CLKF_PC()
CLKF_INTR()

Of these, CLKF_INTR() already ignores the frame and uses the ci_idepth
variable to do its job.

Convert the two remaining ones to do this, but only for XEN.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Thu Mar 22 01:44:41 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.61: +1 -4 lines
Diff to previous 1.61 (colored) to selected 1.15 (colored)

Synch with HEAD, resolve conflicts

Revision 1.60.40.1 / (download) - annotate - [select for diffs], Sat Mar 17 11:23:18 2018 UTC (6 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.60: +1 -4 lines
Diff to previous 1.60 (colored) next main 1.61 (colored) to selected 1.15 (colored)

Pull up the following revisions, requested by maxv in ticket #637:

	sys/arch/amd64/amd64/process_machdep.c	1.33,1.34,1.35 (patch)
	sys/arch/amd64/include/types.h		1.55 (patch)
	sys/arch/x86/x86/vm_machdep.c		1.33 (patch)

- Reduce the number of places where segment register faults can
  occur.
- Remove __HAVE_CPU_UAREA_ROUTINES.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Mar 16 12:21:50 2018 UTC (6 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322
Branch point for: phil-wifi
Changes since 1.61: +1 -4 lines
Diff to previous 1.61 (colored) to selected 1.15 (colored)

Remove the prototypes for cpu_uarea_*, I removed these functions two
minutes ago.

Revision 1.60.6.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:47 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.60: +2 -3 lines
Diff to previous 1.60 (colored) next main 1.61 (colored) to selected 1.15 (colored)

update from HEAD

Revision 1.61 / (download) - annotate - [select for diffs], Sun Sep 17 09:41:35 2017 UTC (6 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.60: +2 -3 lines
Diff to previous 1.60 (colored) to selected 1.15 (colored)

Remove the second argument from USERMODE and KERNELMODE, it is unused
now that we don't have vm86 anymore.

Revision 1.59.14.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:59 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.59: +4 -1 lines
Diff to previous 1.59 (colored) next main 1.60 (colored) to selected 1.15 (colored)

sync with head

Revision 1.59.18.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:31:11 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.59: +4 -1 lines
Diff to previous 1.59 (colored) next main 1.60 (colored) to selected 1.15 (colored)

merge to -current.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jan 21 16:48:56 2012 UTC (12 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, 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, 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-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-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, 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-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-8
Changes since 1.59: +4 -1 lines
Diff to previous 1.59 (colored) to selected 1.15 (colored)

allocate uareas contiguously and access them via the direct map.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:33 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.49.2.1: +12 -4 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:15:54 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.44.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:49 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44.6.2: +10 -2 lines
Diff to previous 1.44.6.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Dec 30 12:35:23 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.15 (colored)

_LKM -> _MODULE

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:12:59 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.57: +9 -1 lines
Diff to previous 1.57 (colored) next main 1.58 (colored) to selected 1.15 (colored)

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

Revision 1.58 / (download) - annotate - [select for diffs], Sun Oct 26 00:08:15 2008 UTC (15 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: 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-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, 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, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.57: +9 -1 lines
Diff to previous 1.57 (colored) to selected 1.15 (colored)

put the contents of these header files around #ifdef __x86_64__, and
#include the <i386/foo.h> in the #else clause, making these files
largely bit-size independant.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:08 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.51: +5 -339 lines
Diff to previous 1.51 (colored) next main 1.52 (colored) to selected 1.15 (colored)

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

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:40 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.46.2.1: +2 -2 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.15 (colored)

sync with head

Revision 1.44.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:49 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44.6.1: +16 -326 lines
Diff to previous 1.44.6.1 (colored) to branchpoint 1.44 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Thu May 22 13:55:51 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, matt-mips64-base2, haad-dm-base1
Branch point for: haad-dm
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.15 (colored)

Mark x86_curlwp() with __attribute__ ((const)), so gcc can CSE it and know
that it does not clobber global data.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:28 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.46: +15 -325 lines
Diff to previous 1.46 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:52 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.49: +15 -333 lines
Diff to previous 1.49 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.56 / (download) - annotate - [select for diffs], Sun May 11 16:57:43 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.55: +5 -1 lines
Diff to previous 1.55 (colored) to selected 1.15 (colored)

Wrap stuff in #ifdef _KERNEL

Revision 1.55 / (download) - annotate - [select for diffs], Sun May 11 15:32:20 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.54: +2 -346 lines
Diff to previous 1.54 (colored) to selected 1.15 (colored)

Share cpu.h between the x86 ports.

Revision 1.54 / (download) - annotate - [select for diffs], Sun May 11 14:44:53 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.53: +5 -4 lines
Diff to previous 1.53 (colored) to selected 1.15 (colored)

Simplify x86 identcpu code, and share between i386/amd64.

Revision 1.53 / (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.52: +6 -4 lines
Diff to previous 1.52 (colored) to selected 1.15 (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.52 / (download) - annotate - [select for diffs], Fri May 9 18:11:28 2008 UTC (15 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.51: +4 -1 lines
Diff to previous 1.51 (colored) to selected 1.15 (colored)

Make cpu_idle a macro calling a function pointer on x86.
Select the Xen idle routine for Xen, mwait if supported by the CPU and
it is not AMD and halt otherwise. As reported by Christoph Egger,
AMD Barcelona keeps the CPU in C0 state with MWAIT, contrary to HLT,
which uses C1 and therefore much less power.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Apr 30 12:44:27 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.50: +6 -2 lines
Diff to previous 1.50 (colored) to selected 1.15 (colored)

Avoid unneeded AST faults.

Revision 1.50 / (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.49: +16 -4 lines
Diff to previous 1.49 (colored) to selected 1.15 (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.49 / (download) - annotate - [select for diffs], Thu Apr 24 11:26:52 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.48: +6 -3 lines
Diff to previous 1.48 (colored) to selected 1.15 (colored)

- Give ci_want_resched a single cache line, and align. This is for monitor/
  mwait. At least one errata sheet from Intel notes that a single line
  should be used.
- Align cc_microtime.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Apr 23 15:57:38 2008 UTC (15 years, 11 months ago) by he
Branch: MAIN
Changes since 1.47: +2 -1 lines
Diff to previous 1.47 (colored) to selected 1.15 (colored)

Ensure that offsetof() is in scope by including <sys/systm.h>.
Fixes build problem found while building swapnetbsd.o for XEN3_DOM0.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Apr 21 15:15:33 2008 UTC (16 years ago) by cegger
Branch: MAIN
Changes since 1.46: +5 -1 lines
Diff to previous 1.46 (colored) to selected 1.15 (colored)

Access Xen's vcpu info structure per-CPU.
Tested on i386 and amd64 (both dom0 and domU) by me.
Xen2 tested (both dom0 and domU) by bouyer.
OK bouyer

Revision 1.46 / (download) - annotate - [select for diffs], Wed Apr 16 21:51:03 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored) to selected 1.15 (colored)

use POSIX integer types

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:11 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.44: +1 -12 lines
Diff to previous 1.44 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:52 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.44: +1 -12 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.24.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:53 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.24.10.2: +1 -13 lines
Diff to previous 1.24.10.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored) to selected 1.15 (colored)

sync with HEAD

Revision 1.6.12.10 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:14 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.12.9: +1 -12 lines
Diff to previous 1.6.12.9 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Feb 27 18:26:15 2008 UTC (16 years, 1 month ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.44: +1 -12 lines
Diff to previous 1.44 (colored) to selected 1.15 (colored)

Remove CTL_MACHDEP_NAMES, it's not used anywhere.

Ok by martin@.

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:20 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.31.2.3: +11 -12 lines
Diff to previous 1.31.2.3 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.6.12.9 / (download) - annotate - [select for diffs], Mon Feb 4 09:21:42 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.12.8: +1 -2 lines
Diff to previous 1.6.12.8 (colored) to branchpoint 1.6 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.35.2.3 / (download) - annotate - [select for diffs], Wed Jan 23 19:27:10 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.35.2.2: +0 -1 lines
Diff to previous 1.35.2.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jan 22 12:41:38 2008 UTC (16 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base, bouyer-xeni386-nbase
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.43: +1 -2 lines
Diff to previous 1.43 (colored) to selected 1.15 (colored)

GC i8254_microtime.

Revision 1.6.12.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:23 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.12.7: +49 -16 lines
Diff to previous 1.6.12.7 (colored) to branchpoint 1.6 (colored) to selected 1.15 (colored)

sync with head

Revision 1.24.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:44:52 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.24.10.1: +65 -17 lines
Diff to previous 1.24.10.1 (colored) to branchpoint 1.24 (colored) to selected 1.15 (colored)

sync with HEAD

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:09:18 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.35.2.1: +4 -8 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jan 5 21:52:02 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-base
Changes since 1.42: +1 -2 lines
Diff to previous 1.42 (colored) to selected 1.15 (colored)

remove no longer necessary cpu_maxproc.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jan 5 21:47:19 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.41: +5 -1 lines
Diff to previous 1.41 (colored) to selected 1.15 (colored)

- make amd64 use per-cpu tss.
- fix iopl syscall for amd64+xen.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jan 5 21:40:57 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.40: +1 -7 lines
Diff to previous 1.40 (colored) to selected 1.15 (colored)

g/c unused members

Revision 1.40 / (download) - annotate - [select for diffs], Sat Jan 5 21:37:25 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored) to selected 1.15 (colored)

g/c ci_idle_pcb_paddr

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:47:08 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.35: +45 -8 lines
Diff to previous 1.35 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jan 1 20:32:11 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.38: +5 -1 lines
Diff to previous 1.38 (colored) to selected 1.15 (colored)

try to detect processor resource sharing topologies.  ie. package/core/smt IDs.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:42:54 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.31.2.2: +40 -7 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:38:43 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.33.2.1: +42 -9 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Dec 25 18:33:32 2007 UTC (16 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) to selected 1.15 (colored)

Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h

Revision 1.37 / (download) - annotate - [select for diffs], Sat Dec 22 18:35:00 2007 UTC (16 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.36: +4 -3 lines
Diff to previous 1.36 (colored) to selected 1.15 (colored)

Define 'struct intrframe' in terms of 'struct trapframe' since the two are
assumed to match by a lot of code (including that which saves the regs).
This only slightly reduces the number of places the trapframe register
layout is defined.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Dec 18 07:17:11 2007 UTC (16 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.35: +36 -4 lines
Diff to previous 1.35 (colored) to selected 1.15 (colored)

Add new IPI for saving CPU state explicitly, share high-level part of
ACPI wakeup code and teach it how to start the APs again. As a side
effect the CPU_START interface allows choosing between different
bootstrap codes more easily now.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:20:24 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:44 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.15 (colored)

Merge jmcneill-pm branch.

Revision 1.24.8.9 / (download) - annotate - [select for diffs], Sun Dec 9 19:34:21 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.24.8.8: +2 -1 lines
Diff to previous 1.24.8.8 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:16:28 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.31.2.1: +16 -1 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:56:16 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.6.12.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:24:04 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.12.6: +16 -1 lines
Diff to previous 1.6.12.6 (colored) to branchpoint 1.6 (colored) to selected 1.15 (colored)

sync with head

Revision 1.34 / (download) - annotate - [select for diffs], Mon Dec 3 22:17:27 2007 UTC (16 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base
Branch point for: yamt-kmem
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) to selected 1.15 (colored)

Add a CPU local timer based on the LAPIC. This is consistently faster
than TSC, but doesn't suffer from SpeedStep as TSC does.

The default quality is higher than HPET for UP, but -100 for
MULTIPROCESSOR as it needs CPU local state which doesn't exist yet.

Revision 1.16.2.9 / (download) - annotate - [select for diffs], Mon Dec 3 18:34:42 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.16.2.8: +19 -5 lines
Diff to previous 1.16.2.8 (colored) next main 1.17 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.24.8.8 / (download) - annotate - [select for diffs], Tue Nov 27 19:35:33 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24.8.7: +15 -1 lines
Diff to previous 1.24.8.7 (colored) to branchpoint 1.24 (colored) to selected 1.15 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 22 16:16:45 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase
Branch point for: vmlocking2
Changes since 1.32: +15 -1 lines
Diff to previous 1.32 (colored) to selected 1.15 (colored)

Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support
to NetBSD/Xen, both Dom0 and DomU.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:46:10 2007 UTC (16 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.6.12.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:42:32 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.12.5: +3 -3 lines
Diff to previous 1.6.12.5 (colored) to branchpoint 1.6 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.24.8.7 / (download) - annotate - [select for diffs], Wed Nov 14 19:04:03 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24.8.6: +2 -2 lines
Diff to previous 1.24.8.6 (colored) to branchpoint 1.24 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.27.2.4 / (download) - annotate - [select for diffs], Tue Nov 13 18:15:09 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.27.2.3: +2 -2 lines
Diff to previous 1.27.2.3 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.15 (colored)

catch up with changes in HEAD.

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Tue Nov 13 15:58:10 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.27.2.2: +4 -4 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 12 18:44:43 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.15 (colored)

- cpu_vendor was both an int and char[] on amd64 - fix it.
- Run the errata check/patch on all CPUs, not just the boot processor.

Revision 1.24.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:14:16 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.24: +67 -42 lines
Diff to previous 1.24 (colored) to selected 1.15 (colored)

sync with HEAD

Revision 1.24.8.6 / (download) - annotate - [select for diffs], Mon Oct 29 02:57:18 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24.8.5: +2 -2 lines
Diff to previous 1.24.8.5 (colored) to branchpoint 1.24 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Oct 29 01:35:37 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.15 (colored)

Mark cpu_info::ci_tlbstate volatile to ensure that the compiler doesn't
reorder accesses to it. It's updated from the TLB IPI handlers and we don't
block those, so the order in which things are read/updated is important.

Revision 1.24.8.5 / (download) - annotate - [select for diffs], Sun Oct 28 20:10:32 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24.8.4: +3 -3 lines
Diff to previous 1.24.8.4 (colored) to branchpoint 1.24 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.24.8.4 / (download) - annotate - [select for diffs], Sun Oct 28 17:25:22 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24.8.3: +2 -2 lines
Diff to previous 1.24.8.3 (colored) to branchpoint 1.24 (colored) to selected 1.15 (colored)

Make the reset of FS/GS base in cpu_init_msrs optional. We don't want
that in the ACPI resume path.

Revision 1.6.12.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:25:10 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.12.4: +46 -28 lines
Diff to previous 1.6.12.4 (colored) to branchpoint 1.6 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.24.8.3 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:10 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24.8.2: +9 -1 lines
Diff to previous 1.24.8.2 (colored) to branchpoint 1.24 (colored) to selected 1.15 (colored)

Sync with HEAD.

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

Revision 1.30 / (download) - annotate - [select for diffs], Fri Oct 26 13:24:39 2007 UTC (16 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.15 (colored)

Match delay/DELAY on x86 with delay(9). It takes an unsigned int as
argument. Use this and replace the inline assembly (mul + div using the
64bit intermediate result) with normal 32bit multiplication and
division. The compiler can turn the division into a multiplication and
shift, making it even cheaper then the original assembly. For extreme
long delays, just use 64bit arithmetic.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Thu Oct 25 22:35:34 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.27.2.1: +9 -1 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.16.2.8 / (download) - annotate - [select for diffs], Tue Oct 23 20:11:41 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.16.2.7: +9 -1 lines
Diff to previous 1.16.2.7 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Oct 18 15:28:34 2007 UTC (16 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.28: +9 -1 lines
Diff to previous 1.28 (colored) to selected 1.15 (colored)

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.27.2.1 / (download) - annotate - [select for diffs], Wed Oct 17 21:38:17 2007 UTC (16 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.27: +14 -0 lines
Diff to previous 1.27 (colored) to selected 1.15 (colored)

amd64 (aka x86-64) support for Xen. Based on the OpenBSD port done by
Mathieu Ropert in 2006.
DomU-only for now. An INSTALL_XEN3_DOMU kernel with a ramdisk will boot to
sysinst if you're lucky. Often it panics because a runable LWP has
a NULL stack (really, it's all of l->l_addr which is has been zeroed out
while the process was on the queue !)
TODO:
- bug fixes :)
- Most of the xpq_* functions should be shared with xen/i386
- The xen/i386 assembly bootstrap code should be remplaced with the C
  version in xenamd64/amd64/xpmap.c
- see if a config(5) trick could allow to merge xenamd64 back to xen or amd64.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Oct 17 19:53:03 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored) to selected 1.15 (colored)

Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.16.2.7 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:03 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.16.2.6: +36 -26 lines
Diff to previous 1.16.2.6 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.25.2.2 / (download) - annotate - [select for diffs], Sat Oct 6 15:37:50 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.25.2.1: +36 -26 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:22:13 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.21.4.1: +57 -40 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.24.8.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:26:43 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24.8.1: +36 -26 lines
Diff to previous 1.24.8.1 (colored) to branchpoint 1.24 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sun Sep 30 15:32:23 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.25: +9 -1 lines
Diff to previous 1.25 (colored) to selected 1.15 (colored)

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.27 / (download) - annotate - [select for diffs], Wed Sep 26 19:48:40 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.26: +36 -25 lines
Diff to previous 1.26 (colored) to selected 1.15 (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.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Sep 25 17:08:09 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored) to selected 1.15 (colored)

ci_astpending is no more.

Revision 1.24.8.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:47:03 2007 UTC (16 years, 7 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.24: +22 -15 lines
Diff to previous 1.24 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.6.12.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:22:36 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.12.3: +55 -61 lines
Diff to previous 1.6.12.3 (colored) to branchpoint 1.6 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:18:13 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.24: +22 -15 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:03:05 2007 UTC (16 years, 7 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.15 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.25 / (download) - annotate - [select for diffs], Wed Aug 29 23:38:03 2007 UTC (16 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Changes since 1.24: +22 -15 lines
Diff to previous 1.24 (colored) to selected 1.15 (colored)

Merge most x86 changes from the vmlocking branch, except the threaded soft
interrupt stuff. This is mostly comprised of changes to the pmap modules to
work on multiprocessor systems without kernel_lock, and changes to speed up
tlb shootdowns.

Revision 1.16.2.6 / (download) - annotate - [select for diffs], Thu Aug 23 13:19:00 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.16.2.5: +2 -2 lines
Diff to previous 1.16.2.5 (colored) to selected 1.15 (colored)

Fix some more bugs.

Revision 1.16.2.5 / (download) - annotate - [select for diffs], Thu Aug 23 12:13:56 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.16.2.4: +6 -4 lines
Diff to previous 1.16.2.4 (colored) to selected 1.15 (colored)

Merged x86 cpu.c.

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Tue Aug 21 23:58:50 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.16.2.3: +16 -11 lines
Diff to previous 1.16.2.3 (colored) to selected 1.15 (colored)

amd64 changes, as yet untested:

- Adapt to vmlocking branch.
- Apply TLB shootdown and pv allocation changes to the pmap.
- Make it build.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:57:39 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.17: +32 -45 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Tue Jun 5 20:28:11 2007 UTC (16 years, 10 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.15 (colored)

Pull up following revision(s) (requested by xtraeme in ticket 702):
	sys/arch/amd64/amd64/identcpu.c			patch
	sys/arch/amd64/include/cpu.h			patch
	sys/arch/x86/include/cputypes.h			1.1
Print all extended features for Intel EM64T CPUs on amd64.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Sun May 27 12:27:00 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.16.2.2: +4 -15 lines
Diff to previous 1.16.2.2 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:34 2007 UTC (16 years, 11 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.21: +4 -15 lines
Diff to previous 1.21 (colored) to selected 1.15 (colored)

Update to HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Mon May 21 08:10:39 2007 UTC (16 years, 11 months ago) by fvdl
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored) to selected 1.15 (colored)

Revert fs/gs changes until I figure out issues with them.

Revision 1.23 / (download) - annotate - [select for diffs], Thu May 17 14:51:15 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.22: +4 -15 lines
Diff to previous 1.22 (colored) to selected 1.15 (colored)

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

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

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

Revision 1.14.2.8 / (download) - annotate - [select for diffs], Thu May 17 13:40:51 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.14.2.7: +2 -1 lines
Diff to previous 1.14.2.7 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 11 14:01:46 2007 UTC (16 years, 11 months ago) by fvdl
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored) to selected 1.15 (colored)

Don't save/restore %fs and %gs in trapframe. The kernel won't touch them.
Instead, save/restore them on context switch. For 32bit processes, save/restore
the selector values only, for 64bit processes, save/restore the appropriate
MSRs. Iff the defaults have been changed.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Tue Apr 10 13:22:51 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.16.2.1: +32 -34 lines
Diff to previous 1.16.2.1 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.14.2.7 / (download) - annotate - [select for diffs], Wed Mar 28 07:57:38 2007 UTC (17 years ago) by skrll
Branch: yamt-idlelwp
Changes since 1.14.2.6: +2 -3 lines
Diff to previous 1.14.2.6 (colored) to branchpoint 1.14 (colored) to selected 1.15 (colored)

More merge botch fixes.

Revision 1.14.2.6 / (download) - annotate - [select for diffs], Wed Mar 28 06:57:26 2007 UTC (17 years ago) by skrll
Branch: yamt-idlelwp
Changes since 1.14.2.5: +1 -20 lines
Diff to previous 1.14.2.5 (colored) to branchpoint 1.14 (colored) to selected 1.15 (colored)

Remove committed conflicts.

Revision 1.14.2.5 / (download) - annotate - [select for diffs], Sat Mar 24 14:54:33 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.14.2.4: +41 -23 lines
Diff to previous 1.14.2.4 (colored) to branchpoint 1.14 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.14.2.4 / (download) - annotate - [select for diffs], Fri Mar 23 21:06:59 2007 UTC (17 years ago) by skrll
Branch: yamt-idlelwp
Changes since 1.14.2.3: +1 -2 lines
Diff to previous 1.14.2.3 (colored) to branchpoint 1.14 (colored) to selected 1.15 (colored)

Remove switch_exit declaration.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 21 18:20:59 2007 UTC (17 years, 1 month ago) by xtraeme
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Branch point for: ppcoea-renovation
Changes since 1.20: +1 -3 lines
Diff to previous 1.20 (colored) to selected 1.15 (colored)

- Remove ci_msr_rvalue, it's not useful anymore as yamt@ pointed out.
- Remove completely debug from msr_ipifuncs, now it's known to work.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 20 21:07:40 2007 UTC (17 years, 1 month ago) by xtraeme
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored) to selected 1.15 (colored)

MSR read and write IPI handlers for x86. A MSR will be read or written
in all CPUs available in the system. This adds another member
to struct cpu_info, ci_msr_rvalue; it will contain the value of the MSR
in a previous operation.

Tested with clockmod in UP and SMP by me, tested with est in SMP
by Daniel Carosone and Michael Van Elst.

Ok'ed by Andrew Doran and Matthew R. Green.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Sun Mar 18 00:06:31 2007 UTC (17 years, 1 month ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.17: +32 -34 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.15 (colored)

First attempt to bring branch in sync with HEAD

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Sat Mar 17 17:42:24 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.14.2.2: +2 -2 lines
Diff to previous 1.14.2.2 (colored) to branchpoint 1.14 (colored) to selected 1.15 (colored)

Backport lock.h split into the simplelock.h and other #include changes
from HEAD. This fixes the problems with circular includes.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Mar 16 18:52:03 2007 UTC (17 years, 1 month ago) by xtraeme
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored) to selected 1.15 (colored)

struct cpu_info: add a ci_feature2_flags member.
identcpu: print extended cpuid features with ci_feature2_flags.

"Looks good" by christos and njoly.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Mar 16 06:20:36 2007 UTC (17 years, 1 month ago) by xtraeme
Branch: MAIN
Changes since 1.17: +31 -34 lines
Diff to previous 1.17 (colored) to selected 1.15 (colored)

Remove __P(), remove k8_powernow_init proto... it was moved to
x86/include/powernow.h long time ago.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:49:54 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 12 16:43:11 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
Branch point for: reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.15 (colored)

Include sys/simplelock.h, not sys/lock.h.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:46:36 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.14.2.1: +3 -3 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 5 16:51:00 2007 UTC (17 years, 1 month ago) by drochner
Branch: MAIN
Branch point for: vmlocking
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

clean up how cpus and ioapics are attached at the mainbus:
Seperate "cpubus" and "ioapicbus" -- while they share a common "address
space" (the apic id), the kernel doesn't use this fact. There are different
data passed to cpus and apics, which caused some ugly polymorphism. This
also saves the special "submatch" functions needed to distingush cpus
and ioapics for autoconf. (And it makes that "apid" locators wired
in the kernel configuration are honored now; this allows one to dumb down
an mp box to singleprocessor by userconfig.)
Print "apid" locators in the buses "print" function "as everyone does",
so the per-port cpu drivers don't need to do it.
Being here, constify "struct cpu_functions" and g/c the unused MP_PICMODE
flag.

Revision 1.15 / (download) - annotate - [selected], Sun Mar 4 05:59:15 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

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

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sat Mar 3 15:42:49 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.14: +6 -16 lines
Diff to previous 1.14 (colored) to selected 1.15 (colored)

adapt amd64.

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

Revision 1.6.12.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:43 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.12.2: +20 -25 lines
Diff to previous 1.6.12.2 (colored) to branchpoint 1.6 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Feb 16 02:53:44 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored) to selected 1.15 (colored)

Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:01 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.12: +20 -24 lines
Diff to previous 1.12 (colored) to selected 1.15 (colored)

Merge newlock2 to head.

Revision 1.12.4.4 / (download) - annotate - [select for diffs], Sat Jan 27 07:09:02 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.12.4.3: +10 -3 lines
Diff to previous 1.12.4.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.15 (colored)

If running on a PPro or later, at boot patch in versions of spllower() and
similar that use cmpxchg8b instead of cli/sti. Cuts the clock cycles for
splx() by a factor of ~6 on the P4, and ~3 on the PIII when bracketed by
serializing instructions (and hopefully more when not).

Revision 1.12.4.3 / (download) - annotate - [select for diffs], Thu Jan 11 22:22:56 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.12.4.2: +2 -1 lines
Diff to previous 1.12.4.2 (colored) to branchpoint 1.12 (colored) to selected 1.15 (colored)

Checkpoint work in progress.

Revision 1.6.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:25 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.12.1: +4 -1 lines
Diff to previous 1.6.12.1 (colored) to branchpoint 1.6 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:32 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.12.4.1: +3 -1 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) to selected 1.15 (colored)

Checkpoint work in progress.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Fri Oct 20 21:26:44 2006 UTC (17 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.12: +8 -22 lines
Diff to previous 1.12 (colored) to selected 1.15 (colored)

- Make ASTs per-LWP.
- The signal stack and signal mask will be per-LWP shortly.

need_resched(), need_proftick(), signotify():

- Prefix with cpu_
- Make per-LWP.
- Send an IPI if the LWP is on another CPU.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:37:18 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.9: +5 -6 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.15 (colored)

sync with head

Revision 1.9.8.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:41:00 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9.8.2: +4 -1 lines
Diff to previous 1.9.8.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.15 (colored)

sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 6 15:37:21 2006 UTC (17 years, 8 months ago) by xtraeme
Branch: MAIN
CVS Tags: 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, rpaulo-netinet-merge-pcb-base, newlock2-nbase, newlock2-base, netbsd-4-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-fixsa, newlock2, netbsd-4
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored) to selected 1.15 (colored)

AMD PowerNow!/Cool`n'Quiet driver for NetBSD/amd64,
adapted from OpenBSD.

Tested on a few machines:

http://bigbird.dohd.org:3021/NetBSD/dmesg
http://www.bsd.org.il/netbsd/acpi/dmesg

Thanks to cube, elad and others for testing and fixes.

Enabled by default on GENERIC.

Revision 1.9.8.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:44:22 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9.8.1: +2 -5 lines
Diff to previous 1.9.8.1 (colored) to branchpoint 1.9 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.6.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:48:25 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6: +8 -10 lines
Diff to previous 1.6 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:44:01 2006 UTC (17 years, 10 months ago) by chap
Branch: chap-midi
Changes since 1.10: +2 -5 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 7 22:37:14 2006 UTC (17 years, 10 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Changes since 1.10: +2 -5 lines
Diff to previous 1.10 (colored) to selected 1.15 (colored)

convert to timecounters (from branch simonb-timecounters)

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Sun Apr 30 17:36:55 2006 UTC (17 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.9.6.1: +2 -5 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.15 (colored)

initrtclock now get the frequency as argument

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:12 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:06:51 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 6 08:30:44 2006 UTC (18 years, 1 month ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, peter-altq-base, peter-altq, elad-kernelauth-base, elad-kernelauth
Branch point for: chap-midi
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored) to selected 1.15 (colored)

delay() is gone, so don't declare it.  That way other parts of code that
use a variable named delay (say, netinet6/in6.c) won't shadow something
that doesn't exist anyway.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 24 22:50:07 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.15 (colored)

bare asm -> __asm

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:25 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored) to selected 1.15 (colored)

merge ktrace-lwp.

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 13:51:35 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.5: +6 -4 lines
Diff to previous 1.1.2.5 (colored) next main 1.2 (colored) to selected 1.15 (colored)

Sync with HEAD. Here we go again...

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 11 20:32:55 2005 UTC (18 years, 8 months ago) by cube
Branch: 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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.6: +6 -4 lines
Diff to previous 1.6 (colored) to selected 1.15 (colored)

Change all archs that did:

#define clockframe somethingelse

to:

struct clockframe {
	struct somethingelse cf_se;
};

and change access macros accordingly.

That means that, at least for that very issue, things will not go
ka-boomy if you don't have the actual definition of struct clockframe
before including systm.h.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:35 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.4: +3 -6 lines
Diff to previous 1.1.2.4 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 25 11:08:47 2004 UTC (19 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.5: +2 -5 lines
Diff to previous 1.5 (colored) to selected 1.15 (colored)

don't expose cpu_info and friends to userland.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 25 03:05:23 2004 UTC (19 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.15 (colored)

fix a typo in a comment.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:16 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.3: +5 -16 lines
Diff to previous 1.1.2.3 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Sep 22 11:32:02 2004 UTC (19 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.3: +5 -16 lines
Diff to previous 1.3 (colored) to selected 1.15 (colored)

move some per-cpu data definitions to MI place so that they can be modified
without touching all ports.  discussed on tech-kern@.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:12:14 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.2: +1 -1 lines
Diff to previous 1.1.2.2 (colored) to selected 1.15 (colored)

Fix the sync with head I botched.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:31:22 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.1: +0 -0 lines
Diff to previous 1.1.2.1 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:31:36 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1: +2 -7 lines
Diff to previous 1.1 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:15 2003 UTC (20 years, 3 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored) to selected 1.15 (colored)

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

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

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

Revision 1.2 / (download) - annotate - [select for diffs], Thu Aug 7 16:26:36 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.1: +2 -6 lines
Diff to previous 1.1 (colored) to selected 1.15 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 26 18:39:39 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Diff to selected 1.15 (colored)

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.

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>