The NetBSD Project

CVS log for src/sys/arch/x86/isa/clock.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.39.20.1 / (download) - annotate - [select for diffs], Sat Apr 1 15:11:00 2023 UTC (11 months, 3 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.39: +11 -7 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.15 (colored)

Pull up following revision(s) (requested by riastradh in ticket #136):

	sys/arch/x86/x86/intr.c: revision 1.164
	sys/arch/x86/isa/clock.c: revision 1.41
	sys/arch/x86/include/intr_private.h: revision 1.1

x86/intr: Work around sleazy clockintr with a secret frame argument.
PR kern/57197

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jan 25 15:54:52 2023 UTC (14 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.40: +11 -7 lines
Diff to previous 1.40 (colored) to selected 1.15 (colored)

x86/intr: Work around sleazy clockintr with a secret frame argument.

PR kern/57197

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jan 24 09:57:16 2023 UTC (14 months ago) by riastradh
Branch: MAIN
Changes since 1.39: +12 -12 lines
Diff to previous 1.39 (colored) to selected 1.15 (colored)

x86/isa/clock.c: Nix trailing whitespace.

No functional change intended.

Revision 1.39 / (download) - annotate - [select for diffs], Fri May 29 12:30:41 2020 UTC (3 years, 10 months ago) by rin
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, 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
Branch point for: netbsd-10
Changes since 1.38: +7 -10 lines
Diff to previous 1.38 (colored) to selected 1.15 (colored)

For struct timecounter, use C99 initializers.
Compile tested. No functional changes intended.

Revision 1.38 / (download) - annotate - [select for diffs], Sat May 2 16:44:35 2020 UTC (3 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.37: +7 -2 lines
Diff to previous 1.37 (colored) to selected 1.15 (colored)

Introduce Xen PVH support in GENERIC.
This is compiled in with
options XENPVHVM
x86 changes:
- add Xen section and xen pvh entry points to locore.S. Set vm_guest
  to VM_GUEST_XENPVH in this entry point.
  Most of the boot procedure (especially page table setup and switch to
  paged mode) is shared with native.
- change some x86_delay() to delay_func(), which points to x86_delay() for
  native/HVM, and xen_delay() for PVH

Xen changes:
- remove Xen bits from init_x86_64_ksyms() and init386_ksyms()
  and move to xen_init_ksyms(), used for both PV and PVH
- set ISA no-legacy-devices property for PVH
- factor out code from Xen's cpu_bootconf() to xen_bootconf()
  in xen_machdep.c
- set up a specific pvh_consinit() which starts with printk()
  (which uses a simple hypercall that is available early) and switch to
  xencons when we can use pmap_kenter_pa().

Revision 1.37 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:18 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.36: +15 -14 lines
Diff to previous 1.36 (colored) to selected 1.15 (colored)

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Sat Apr 18 14:47:56 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.36: +15 -14 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.15 (colored)

Centralize initialisations of delay_func and initclock_func
in x86_machdep.c and export from <x86/machdep.h>
Introduce a x86_dummy_initclock() and a x86_cpu_initclock_func pointer,
to be used later for Xen HVM native clock support.
rename rtclock_tval to x86_rtclock_tval and export from <x86/machdep.h>,
for the benefit of lapic.c

Revision 1.33.64.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:11 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.33.64.1: +3 -3 lines
Diff to previous 1.33.64.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.15 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 16 18:29:49 2019 UTC (4 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) to selected 1.15 (colored)

Add and use __FPTRCAST, requested by uwe@

Revision 1.35 / (download) - annotate - [select for diffs], Wed Oct 16 15:01:10 2019 UTC (4 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) to selected 1.15 (colored)

add void * casts for the clock interrupt handlers.

Revision 1.33.64.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:53 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.33.56.1 / (download) - annotate - [select for diffs], Sat Mar 9 17:10:20 2019 UTC (5 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.15 (colored)

Pull up following revision(s) via patch (requested by nonaka in ticket #1210):

	sys/dev/hyperv/vmbusvar.h: revision 1.1
	sys/dev/hyperv/hvs.c: revision 1.1
	sys/dev/hyperv/if_hvn.c: revision 1.1
	sys/dev/hyperv/vmbusic.c: revision 1.1
	sys/arch/x86/x86/lapic.c: revision 1.69
	sys/arch/x86/isa/clock.c: revision 1.34
	sys/arch/x86/include/intrdefs.h: revision 1.22
	sys/arch/i386/conf/GENERIC: revision 1.1201
	sys/arch/x86/x86/hyperv.c: revision 1.1
	sys/arch/x86/include/cpu.h: revision 1.105
	sys/arch/x86/x86/x86_machdep.c: revision 1.124
	sys/arch/i386/conf/GENERIC: revision 1.1203
	sys/arch/amd64/amd64/genassym.cf: revision 1.74
	sys/arch/i386/conf/GENERIC: revision 1.1204
	sys/arch/amd64/conf/GENERIC: revision 1.520
	sys/arch/x86/x86/hypervreg.h: revision 1.1
	sys/arch/amd64/amd64/vector.S: revision 1.69
	sys/dev/hyperv/hvshutdown.c: revision 1.1
	sys/dev/hyperv/hvshutdown.c: revision 1.2
	sys/dev/usb/if_urndisreg.h: file removal
	sys/arch/x86/x86/cpu.c: revision 1.167
	sys/arch/x86/conf/files.x86: revision 1.107
	sys/dev/usb/if_urndis.c: revision 1.20
	sys/dev/hyperv/vmbusicreg.h: revision 1.1
	sys/dev/hyperv/hvheartbeat.c: revision 1.1
	sys/dev/hyperv/vmbusicreg.h: revision 1.2
	sys/dev/hyperv/hvheartbeat.c: revision 1.2
	sys/dev/hyperv/files.hyperv: revision 1.1
	sys/dev/ic/rndisreg.h: revision 1.1
	sys/arch/i386/i386/genassym.cf: revision 1.111
	sys/dev/ic/rndisreg.h: revision 1.2
	sys/dev/hyperv/hyperv_common.c: revision 1.1
	sys/dev/hyperv/hvtimesync.c: revision 1.1
	sys/dev/hyperv/hypervreg.h: revision 1.1
	sys/dev/hyperv/hvtimesync.c: revision 1.2
	sys/dev/hyperv/vmbusicvar.h: revision 1.1
	sys/dev/hyperv/if_hvnreg.h: revision 1.1
	sys/arch/x86/x86/lapic.c: revision 1.70
	sys/arch/amd64/amd64/vector.S: revision 1.70
	sys/dev/ic/ndisreg.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.516
	sys/dev/hyperv/hypervvar.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.518
	sys/arch/amd64/conf/GENERIC: revision 1.519
	sys/arch/i386/conf/files.i386: revision 1.400
	sys/dev/acpi/vmbus_acpi.c: revision 1.1
	sys/dev/hyperv/vmbus.c: revision 1.1
	sys/dev/hyperv/vmbus.c: revision 1.2
	sys/arch/x86/x86/intr.c: revision 1.144
	sys/arch/i386/i386/vector.S: revision 1.83
	sys/arch/amd64/conf/files.amd64: revision 1.112

separate RNDIS definitions from urndis(4) for use with Hyper-V NetVSC.

 -

Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.
graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.

 -

Add __diagused.

 -

PR/53984: Partial revert of modify lapic_calibrate_timer() in lapic.c r1.69.

 -

Update Hyper-V related drivers description.

 -

Remove unused definition.

 -

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.
NFCI intended.

 -

commented out hvkvp entry.

 -

fix typo. pointed out by pgoyette@n.o.

 -

Use IDTVEC instead of NENTRY for handle_hyperv_hypercall.

 -

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Feb 15 08:54:01 2019 UTC (5 years, 1 month ago) by nonaka
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.33: +4 -4 lines
Diff to previous 1.33 (colored) to selected 1.15 (colored)

Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.

graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.

Revision 1.30.14.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:46 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.30: +3 -239 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.15 (colored)

sync to netbsd-5

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:16 2009 UTC (14 years, 4 months ago) by jym
Branch: jym-xensuspend
Changes since 1.31.2.2: +0 -0 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:36 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.31.2.1: +3 -239 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.28.4.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:12 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28.4.2: +3 -239 lines
Diff to previous 1.28.4.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored) to selected 1.15 (colored)

sync with head

Revision 1.30.8.1 / (download) - annotate - [select for diffs], Fri Jun 19 21:22:10 2009 UTC (14 years, 9 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.30: +3 -239 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.15 (colored)

Pull up following revision(s) (requested by bouyer in ticket #816):
	sys/arch/amd64/conf/files.amd64: revision 1.68
	sys/arch/i386/conf/files.i386: revision 1.350
	sys/arch/x86/include/rtc.h: revision 1.1
	sys/arch/x86/isa/clock.c: revision 1.33
	sys/arch/x86/isa/rtc.c: revision 1.1
	sys/arch/xen/conf/files.xen: revision 1.100
	sys/arch/xen/xen/clock.c: revision 1.50 via patch
Split mc146818-related functions from clock.c into rtc.c.
Call rtc_set_ymdhms() from xen/xen/clock.c:xen_rtc_set() for xen3 dom0
kernels as the Xen3 hypervisor doesn't write the new date/time to the CMOS
by itself.
Now a XEN3_DOM0 kernel properly updates the CMOS time.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 16 21:05:34 2009 UTC (14 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, 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, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, 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, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, 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-premerge-20091211, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, khorben-n900, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: phil-wifi, netbsd-8
Changes since 1.32: +3 -239 lines
Diff to previous 1.32 (colored) to selected 1.15 (colored)

Split mc146818-related functions from clock.c into rtc.c.
Call rtc_set_ymdhms() from xen/xen/clock.c:xen_rtc_set() for xen3 dom0
kernels as the Xen3 hypervisor doesn't write the new date/time to the CMOS
by itself.
Now a XEN3_DOM0 kernel properly updates the CMOS time.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:44 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.31: +5 -4 lines
Diff to previous 1.31 (colored) to selected 1.15 (colored)

Sync with HEAD.

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

Revision 1.28.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:10 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28.4.1: +7 -6 lines
Diff to previous 1.28.4.1 (colored) to branchpoint 1.28 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.30.6.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:56 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.30.6.1: +5 -4 lines
Diff to previous 1.30.6.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 7 17:51:46 2009 UTC (14 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.31: +5 -4 lines
Diff to previous 1.31 (colored) to selected 1.15 (colored)

Detach sysbeep0 at shutdown.

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:09 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.25.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:38 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.2: +2 -2 lines
Diff to previous 1.25.6.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Dec 16 22:35:28 2008 UTC (15 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored) to selected 1.15 (colored)

replace bitmask_snprintf(9) with snprintb(3)

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:50 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.28: +15 -14 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.15 (colored)

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

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:18 2008 UTC (15 years, 9 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.7: +4 -5 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.15 (colored)

Sync with netbsd-4.

Revision 1.25.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:50 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.1: +14 -13 lines
Diff to previous 1.25.6.1 (colored) to branchpoint 1.25 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:03 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.28: +15 -14 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sat May 17 16:09:46 2008 UTC (15 years, 10 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.7.2.1: +4 -5 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.15 (colored)

Pull up following revision(s) (requested by kardel in ticket #1058):
	sys/arch/x86/isa/clock.c: revision 1.25 via patch
unbreak i8254_get_timecount() in environments where the
clock interrupt is derived from other sources (e.g. lapic)
and the i8254 timer is running the full cycle without
being used as clock interrupt source.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:28 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28: +15 -14 lines
Diff to previous 1.28 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Sun May 11 22:18:08 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, 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, netbsd-5-base, 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-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64
Changes since 1.29: +15 -12 lines
Diff to previous 1.29 (colored) to selected 1.15 (colored)

Fix the qemu (?) problem.

Revision 1.29 / (download) - annotate - [select for diffs], Sat May 10 16:12:32 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.28: +2 -4 lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Sun Apr 6 12:19:36 2008 UTC (15 years, 11 months ago) by cherry
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) to selected 1.15 (colored)

Correct comment about struct timecounter field

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:30 2008 UTC (15 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25: +7 -9 lines
Diff to previous 1.25 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:09 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.25: +7 -9 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.9.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:28 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.9.10.2: +9 -12 lines
Diff to previous 1.9.10.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.15 (colored)

sync with HEAD

Revision 1.8.2.8 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:34 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.7: +7 -9 lines
Diff to previous 1.8.2.7 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 5 22:47:53 2008 UTC (16 years ago) by cube
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.26: +6 -8 lines
Diff to previous 1.26 (colored) to selected 1.15 (colored)

Cosmetics:  use device_t and cfdata_t.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 4 14:38:05 2008 UTC (16 years ago) by cube
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) to selected 1.15 (colored)

sysbeep has no softc, use CFATTACH_DECL_NEW.

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:17 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.12.2.3: +20 -16 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Jan 21 20:48:54 2008 UTC (16 years, 2 months ago) by bouyer
Branch: netbsd-4
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.15 (colored)

Pull up following revision(s) (requested by chuck in ticket #1049):
	src/sys/arch/x86/isa/clock.c 1.23 via patch
fixes clock accounting problem in i8254_get_timecount that caused
the auich auich_calibrate() function to get the wrong ac97 freq
(may cause audio to play at wrong speed on some systems).

Revision 1.8.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:10 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.6: +23 -16 lines
Diff to previous 1.8.2.6 (colored) to branchpoint 1.8 (colored) to selected 1.15 (colored)

sync with head

Revision 1.15.2.4 / (download) - annotate - [select for diffs], Sun Jan 20 17:51:26 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.15.2.3: +2 -1 lines
Diff to previous 1.15.2.3 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 19 15:06:52 2008 UTC (16 years, 2 months ago) by kardel
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored) to selected 1.15 (colored)

unbreak i8254_get_timecount() in environments where the
clock interrupt is derived from other sources (e.g. lapic)
and the i8254 timer is running the full cycle without
being used as clock interrupt source.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:48 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.15.2.2: +1 -3 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jan 17 01:56:02 2008 UTC (16 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored) to selected 1.15 (colored)

Remove unnecessary references to config_time.h.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jan 16 18:38:24 2008 UTC (16 years, 2 months ago) by chuck
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.15 (colored)

fix clock accounting problem in i8254_get_timecount that caused
the auich auich_calibrate() function to get the wrong ac97 freq
(may cause audio to play at wrong speed on some systems).  this
error was inadvertently introduced in rev 1.98 of the old
src/sys/arch/i386/isa/clock.c (2006/09/03) and manifests itself
on systems that do not use an alternate timecounter (e.g. ACPI-Fast).

the basic problem is that the code that handled when the i8254
counter wrapped was firing in cases when it shouldn't have,
causing the counter to run fast.   a more detailed discussion
can be found here:
  http://mail-index.netbsd.org/tech-kern/2008/01/15/0001.html
  http://mail-index.netbsd.org/tech-kern/2008/01/16/0000.html

Revision 1.9.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:50 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.9.10.1: +45 -45 lines
Diff to previous 1.9.10.1 (colored) to branchpoint 1.9 (colored) to selected 1.15 (colored)

sync with HEAD

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:35 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.15.2.1: +15 -3 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jan 4 22:28:20 2008 UTC (16 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.21: +2 -4 lines
Diff to previous 1.21 (colored) to selected 1.15 (colored)

Remove superfluous #if (NPCPPI > 0).

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jan 4 22:10:34 2008 UTC (16 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) to selected 1.15 (colored)

Move #endif to the place where it belongs.  Thanks, Chavdar Ivanov,
for noticing this.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jan 4 21:17:43 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.19: +5 -4 lines
Diff to previous 1.19 (colored) to selected 1.15 (colored)

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jan 4 20:38:01 2008 UTC (16 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored) to selected 1.15 (colored)

add missing includes

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 3 21:30:16 2008 UTC (16 years, 2 months ago) by he
Branch: MAIN
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored) to selected 1.15 (colored)

Declare sysbeepdetach(), and protect a small additional section
with #if (NPCPPI > 0).

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 3 04:50:19 2008 UTC (16 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.16: +12 -3 lines
Diff to previous 1.16 (colored) to selected 1.15 (colored)

Support detachment of pchb(4) and sysbeep(4).

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:22 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.15: +3 -10 lines
Diff to previous 1.15 (colored)

Sync with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 28 14:05:22 2007 UTC (16 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.15: +3 -10 lines
Diff to previous 1.15 (colored)

Remove delaytab and just compute the reminder directly. This requires
two muls and a shift, which needs at most 2ms on a 25MHz i386 and should
end up as fast as delay(1) was before due to using a reminder of 2.
Discussed with ad@.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:43:24 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.12.2.2: +5 -2 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:38:48 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.13.2.1: +5 -2 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.15 (colored)

Sync with head.

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

sync with head.

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

Merge jmcneill-pm branch.

Revision 1.9.8.6 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:27 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.9.8.5: +26 -31 lines
Diff to previous 1.9.8.5 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:10 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.12.2.1: +26 -31 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:56:32 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.13: +26 -31 lines
Diff to previous 1.13 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.9.8.5 / (download) - annotate - [select for diffs], Sat Dec 8 16:20:58 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.9.8.4: +3 -3 lines
Diff to previous 1.9.8.4 (colored) to branchpoint 1.9 (colored) to selected 1.15 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.8.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:26:57 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.5: +26 -31 lines
Diff to previous 1.8.2.5 (colored) to branchpoint 1.8 (colored) to selected 1.15 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 4 16:05:34 2007 UTC (16 years, 3 months ago) by ad
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.13: +26 -31 lines
Diff to previous 1.13 (colored) to selected 1.15 (colored)

- Fix the locking around the i8254. Values for the TSC clock and lapic
  delay function were wildly inaccurate due to multiple CPUs competing
  in DELAY() during calibration, confusing the clock chip.
- Use i8254_delay() explictly in a few more places.

Revision 1.8.8.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:10 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.8.8.2: +32 -48 lines
Diff to previous 1.8.8.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.9.8.4 / (download) - annotate - [select for diffs], Wed Nov 28 01:11:46 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.9.8.3: +5 -2 lines
Diff to previous 1.9.8.3 (colored) to branchpoint 1.9 (colored) to selected 1.15 (colored)

Register with power management framework.

Revision 1.9.8.3 / (download) - annotate - [select for diffs], Wed Nov 21 21:53:38 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.8.2: +2 -5 lines
Diff to previous 1.9.8.2 (colored) to branchpoint 1.9 (colored) to selected 1.15 (colored)

Sync with HEAD.

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

Sync with HEAD.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:34:46 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.10.2.1: +0 -3 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.8.2.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:43:39 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.4: +2 -5 lines
Diff to previous 1.8.2.4 (colored) to branchpoint 1.8 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 14 17:55:00 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2
Changes since 1.12: +2 -5 lines
Diff to previous 1.12 (colored) to selected 1.15 (colored)

- Remove I486_CPU, I586_CPU, I686_CPU options. They buy us nothing and
  clutter the code significantly.
- Remove pccons.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:18 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.10: +32 -45 lines
Diff to previous 1.10 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.9.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:39 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.9: +41 -62 lines
Diff to previous 1.9 (colored) to selected 1.15 (colored)

sync with HEAD

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

Sync with HEAD.

Revision 1.8.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:57 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.3: +41 -62 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 26 13:24:40 2007 UTC (16 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.11: +32 -45 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:15 2007 UTC (16 years, 5 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (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.8.8.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:43 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.8.8.1: +11 -19 lines
Diff to previous 1.8.8.1 (colored) to branchpoint 1.8 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.9.12.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:33:33 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.9: +11 -19 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.8.16.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:51 2007 UTC (16 years, 5 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.8: +22 -26 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.15 (colored)

Sync with HEAD

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:50 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9: +11 -19 lines
Diff to previous 1.9 (colored) to selected 1.15 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 26 19:48:42 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.9: +11 -19 lines
Diff to previous 1.9 (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.8.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:21 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.2: +14 -10 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.8.10.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:16 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.8: +14 -10 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 9 20:52:37 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.8: +14 -10 lines
Diff to previous 1.8 (colored) to selected 1.15 (colored)

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

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

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Tue Apr 10 12:11:18 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.8: +14 -10 lines
Diff to previous 1.8 (colored) to selected 1.15 (colored)

Replace some more locks.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:01:01 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.4.2.1: +5 -5 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:22 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.1: +817 -0 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.4.8.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:42 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.4.8.1: +15 -15 lines
Diff to previous 1.4.8.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.8.2.1, Fri Dec 8 15:05:18 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8: +0 -817 lines
FILE REMOVED

file clock.c was added on branch yamt-lazymbuf on 2006-12-30 20:47:22 +0000

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 8 15:05:18 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-lazymbuf, vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored) to selected 1.15 (colored)

- pass intrframe by-pointer, not by-value.
- make i386 and xen use per-cpu interrupt stack.

xen part is reviewed by Manuel Bouyer.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:38 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.4: +6 -4 lines
Diff to previous 1.4 (colored) to selected 1.15 (colored)

Sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:39 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-base-1, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.6: +13 -13 lines
Diff to previous 1.6 (colored) to selected 1.15 (colored)

__unused removal on arguments; approved by core.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:16 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.4: +14 -12 lines
Diff to previous 1.4 (colored) to selected 1.15 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 13 10:09:36 2006 UTC (17 years, 5 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.15 (colored)

More __unused (NPCPPI == 0 case).

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:44 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.4: +13 -11 lines
Diff to previous 1.4 (colored) to selected 1.15 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:22 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4.6.1: +815 -0 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.15 (colored)

sync with head.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:44:49 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.4.4.1: +815 -0 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.15 (colored)

sync with head

Revision 1.4.6.1, Thu Sep 7 00:18:50 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4: +0 -815 lines
FILE REMOVED

file clock.c was added on branch yamt-pdpolicy on 2006-09-14 12:31:22 +0000

Revision 1.4.4.1, Thu Sep 7 00:18:50 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.4: +0 -815 lines
FILE REMOVED

file clock.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:44:49 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Thu Sep 7 00:18:50 2006 UTC (17 years, 6 months ago) by gdamore
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, yamt-pdpolicy, rpaulo-netinet-merge-pcb, newlock2
Changes since 1.3: +20 -51 lines
Diff to previous 1.3 (colored) to selected 1.15 (colored)

Use common todr_settime_ymdhms/gettime_ymdhms.
While here, fix an incorrect test for timeset (that's in kern_todr already),
and an incorrect to time_second (instead of using the date passed in).

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 4 23:45:30 2006 UTC (17 years, 6 months ago) by gdamore
Branch: MAIN
Changes since 1.2: +2 -16 lines
Diff to previous 1.2 (colored) to selected 1.15 (colored)

Remove unused todr_setcal/todr_getcal and all the assorted stub
implementations.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 4 03:07:52 2006 UTC (17 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored) to selected 1.15 (colored)

Undo static declaration on gettick -- lapic.c uses it.
Pointed out by Geoff Wing (mason at primenet.com.au)

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 4 02:16:03 2006 UTC (17 years, 6 months ago) by perry
Branch: MAIN
Diff to selected 1.15 (colored)

switch to a common clock.c

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>