The NetBSD Project

CVS log for src/sys/dev/clockctl.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Mar 28 12:33:20 2022 UTC (4 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -7 lines
driver(9): devsw_detach never fails.  Make it return void.

Prune a whole lotta dead branches as a result of this.  (Some logic
calling this is also wrong for other reasons; devsw_detach is final
-- you should never have any reason to decide to roll it back.  To be
cleaned up in subsequent commits...)

XXX kernel ABI change to devsw_detach signature requires bump

Revision 1.35.16.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:02 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.35.16.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.16.1: +4 -4 lines
Merge changes from current as of 20200406

Revision 1.37.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:06 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +4 -4 lines
Sync with head.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Feb 21 00:26:22 2020 UTC (6 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4 lines
Explicitly cast pointers to uintptr_t before casting to enums. They are
not necessarily the same size. Don't cast pointers to bool, check for
NULL instead.

Revision 1.35.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:04 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +14 -86 lines
Sync with HEAD

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Mar 1 11:06:56 2019 UTC (7 years, 8 months ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:41 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +14 -86 lines
Merge the [pgoyette-compat] branch

Revision 1.35.14.12: download - view: text, markup, annotated - select for diffs
Tue Jan 22 07:42:40 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.35.14.11: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.14.11: +4 -10 lines
Convert the MODULE_{,VOID_}HOOK_CALL macros to do everything in-line
rather than defining an intermediate hook##call function.  Almost
all of the hooks are called only once, and although we lose the
ability of doing things like

	if (MODULE_HOOK_CALL(...) == 0) ...

we simplify things quite a bit.  With this change, we no longer need
to have both declaration and definition macros, and the definition
no longer needs to have both prototype argument list and a "real"
argument list.

FWIW, the above if now needs to written as

	int ret;

	MODULE_HOOK_CALL(..., ret);
	if (ret == 0) ...

with appropriate use of braces {}.

Revision 1.35.14.11: download - view: text, markup, annotated - select for diffs
Fri Jan 18 00:01:01 2019 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35.14.10: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.14.10: +4 -4 lines
Don't restrict hooks to having only int or void types.  Pass the hook's
type to the various macros, as needed.

Allows us to reduce diffs to original in at least one or two places (we
no longer have to provide an additional parameter to the hook routine
for returning a non-int return value).

Revision 1.35.14.10: download - view: text, markup, annotated - select for diffs
Mon Jan 14 13:34:27 2019 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35.14.9: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.14.9: +4 -4 lines
Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.

Revision 1.35.14.9: download - view: text, markup, annotated - select for diffs
Sun Jan 13 10:49:50 2019 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35.14.8: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.14.8: +5 -5 lines
Remove the HOOK2 versions of the MODULE_HOOK macros.  There were
only a few uses, and using them led to some lack of clarity in the
code.  Instead, we now use two separate hooks, with names that
make it clear(er) what we're doing.

This also positions us to start unraveling some of the rtsock_50
mess, which will need (at least) five hooks.

Revision 1.35.14.8: download - view: text, markup, annotated - select for diffs
Sat Sep 29 21:36:14 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35.14.7: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.14.7: +3 -4 lines
In MODULE_HOOK_CALL_DECL we don't need to provide the actual argument
list for calling the hook function, nor do we need to provide the
default value (for when the hook has not been set).

Revision 1.35.14.7: download - view: text, markup, annotated - select for diffs
Thu Sep 27 03:07:21 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35.14.6: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.14.6: +4 -4 lines
Fix some NTP-related function pointers

Revision 1.35.14.6: download - view: text, markup, annotated - select for diffs
Mon Sep 24 23:18:15 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35.14.5: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.14.5: +2 -4 lines
Revert previous.  We need a MP-safe way to determine _at_runtime_ if
the NTP option was included or not.

Revision 1.35.14.5: download - view: text, markup, annotated - select for diffs
Mon Sep 24 00:01:13 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35.14.4: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.14.4: +4 -2 lines
Don't compile NTP-related case if NTP is not available.

No HOOK required here since NTP is not modularized.

Revision 1.35.14.4: download - view: text, markup, annotated - select for diffs
Tue Sep 18 23:03:54 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35.14.3: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.14.3: +4 -4 lines
The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers

Revision 1.35.14.3: download - view: text, markup, annotated - select for diffs
Tue Sep 18 01:15:57 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35.14.2: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.14.2: +5 -2 lines
Split the COMPAT_CALL_HOOK to separate the declaration from the
implementation.  Some hooks are called from multiple source files,
and the old method resulted in duplicate implementations.

Implement MP-safe hooks for the usb_subr_30 code.  Pass the helper
functions as arguments to the compat code so it does not have to
determine if the kernel contains usb code.

Revision 1.35.14.2: download - view: text, markup, annotated - select for diffs
Mon Sep 17 11:04:30 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35.14.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.14.1: +12 -7 lines
Adapt (most of) the indirect function pointers to the new MP-safe
mechanism.  Still remaining are the compat_netbsd32 stuff, and
some usb subroutines.

Revision 1.35.14.1: download - view: text, markup, annotated - select for diffs
Wed Mar 21 04:48:32 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -80 lines
Split the compat_50 code out from the dev/clockctl driver and include
it in the compat_50 and compat modules.

Revision 1.29.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.29.6.2: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.6.2: +168 -3 lines
update from HEAD

Revision 1.35.6.3: download - view: text, markup, annotated - select for diffs
Sat Apr 29 10:19:31 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.35.6.2: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.6.2: +2 -3 lines
Revise previous.  Rather than explicitly including <sys/localcount.h>
in all the places where {b,c}devsw is initialized, just include it
from <sys/conf.h>.  This avoids an include-sequence dependancy.

Revision 1.35.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 29 09:17:58 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.35.6.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.6.1: +4 -2 lines
Add DEVSW_MODULE_INIT to existing device-driver modules, so that they
willl have a localcount defined and thus be permitted to load.  Without
a localcount, loading the module will return EINVAL.

XXX the dtrace and drm stuff might need to be fed back upstream?

Revision 1.35.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 27 05:36:35 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +11 -7 lines
Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:31 2017 UTC (9 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.1: +8 -5 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.32.4.3: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:01 2016 UTC (9 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.32.4.2: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.4.2: +8 -5 lines
Sync with HEAD

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Nov 21 03:53:59 2016 UTC (9 years, 11 months ago) by rin
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2, phil-wifi, pgoyette-compat
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +8 -5 lines
- Return ENOTTY rather than EINVAL for invalid ioctl, suggested by
  mlelstv.
- Protect NTP stuff in COMPAT_50 codes by NTP macro.

Approved by mlelstv

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 20 23:47:56 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +11 -7 lines
Adapt machine-independant code to the new {b,c}devsw reference-counting
(using localcount(9)).  All callers of {b,c}devsw_lookup() now call
{b,c}devsw_lookup_acquire() which retains a reference on the 'struct
{b,c}devsw'.  This reference must be released by the caller once it is
finished with the structure's content (or other data that would disappear
if the 'struct {b,c}devsw' were to disappear).

Revision 1.32.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:08 2016 UTC (10 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.32.4.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.1: +6 -17 lines
Sync with HEAD

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jan 6 18:06:38 2016 UTC (10 years, 10 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +6 -17 lines
Simplify and fix the unload to destroy the mutex. To reproduce, configure
a kernel with LOCKDEBUG make clockctl a module:

    /etc/rc.d/ntpd stop
    modunload clockctl
    /etc/rc.d/ntpd start
    boom.

Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:48 2015 UTC (10 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +177 -4 lines
Sync with HEAD (as of 26th Dec)

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Dec 7 03:25:57 2015 UTC (10 years, 11 months ago) by pgoyette
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +177 -4 lines
Modularize the clockctl pseudo-device and link to the build.

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

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:50 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +3 -2 lines
Rebase.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:35 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-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
Branch point for: nick-nhusb
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -2 lines
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.28.12.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:19 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.28.12.2: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.12.2: +13 -4 lines
sync with head.

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

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

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:35 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +13 -4 lines
sync with head

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:26 2014 UTC (12 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +13 -4 lines
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:58 2012 UTC (13 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -6 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.28.12.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:49 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.28.12.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.12.1: +2 -6 lines
sync with head

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:18:14 2012 UTC (14 years ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -6 lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.28.12.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:25 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -4 lines
sync with head

Revision 1.28.16.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:05 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +3 -4 lines
merge to -current.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Jan 4 13:40:53 2012 UTC (14 years, 10 months ago) by apb
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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
Branch point for: tls-maxphys
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -4 lines
When processing ioctl CLOCKCTL_NTP_ADJTIME, set the return value from
ntp_timestatus instead of leaving it uninitialised, and don't use
copyout(9) because args->retval is in kernel space, not user space.

Previously, running ntpd(8) in unprivileged mode would call
libc ntp_adjtime(), which would open /dev/clockctl and call
ioctl(CLOCKCTL_NTP_ADJTIME), which would fail with EFAULT.

Revision 1.23.20.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:21 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.23.20.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.20.1: +32 -4 lines
sync with head

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Oct 3 02:01:12 2009 UTC (17 years, 1 month ago) by elad
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, 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
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +32 -4 lines
Move clockctl policy exception back to the subsystem.

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:05 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +10 -6 lines
Sync with HEAD.

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

Revision 1.23.20.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:32 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +51 -42 lines
sync with head.

Revision 1.23.28.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:31 2009 UTC (17 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.23.28.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.28.1: +10 -6 lines
Sync with HEAD.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Feb 22 13:06:59 2009 UTC (17 years, 8 months ago) by nakayama
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -4 lines
- fix copyout size in CLOCKCTL_O?ADJTIME.
- add missing break in CLOCKCTL_NTP_ADJTIME.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Feb 18 17:57:11 2009 UTC (17 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -9 lines
simply the previous as suggested by enami:
- don't check args->tp, just let copyin() fail.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Feb 18 05:17:56 2009 UTC (17 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +10 -4 lines
clock_settime1() expects the struct timespec * to be in kernel space.
make it so.

fixes crashes seen on sparc64 systems with clockctl.

Revision 1.23.28.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:51 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +47 -42 lines
Sync with HEAD.

Revision 1.23.14.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:52 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.23.14.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.14.1: +47 -42 lines
Sync with HEAD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:50 2009 UTC (17 years, 10 months ago) by christos
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +47 -42 lines
merge christos-time_t

Revision 1.23.14.1: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:33:20 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -3 lines
- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
  as these are always needed.

- convert many, many drivers over to the New Devfs World Order. For a
  list of device drivers yet to be converted see,
  http://www.netbsd.org/~mjf/devfs-todo.html.

- add a new device_unregister_all(device_t) function to remove all device
  names associated with a device_t, which saves us having to construct
  device names when the driver is detached.

- add a DEV_AUDIO type for devices.

Revision 1.23.16.1: download - view: text, markup, annotated - select for diffs
Sat Mar 29 20:47:00 2008 UTC (18 years, 7 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +47 -42 lines
Welcome to the time_t=long long dev_t=uint64_t branch.

Revision 1.22.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:12 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -3 lines
sync with HEAD

Revision 1.22.14.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:18 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -3 lines
Sync with HEAD.

Revision 1.13.4.4: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:29:16 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.4.3: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.4.3: +3 -3 lines
sync with head

Revision 1.22.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:36:58 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -3 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Nov 25 00:35:27 2007 UTC (18 years, 11 months ago) by elad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, 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, mjf-devfs-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, christos-time_t-nbase, christos-time_t-base, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, mjf-devfs2, christos-time_t
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
Refactor time modification checks and place them in the secmodel code.

okay christos@

Revision 1.13.4.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:33:11 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.4.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.2: +4 -4 lines
sync with head.

Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:59 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +3 -3 lines
Sync with head.

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 14:29:57 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +3 -3 lines
Sync with head.

Revision 1.20.4.2: download - view: text, markup, annotated - select for diffs
Thu May 17 13:41:23 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.20.4.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.4.1: +3 -3 lines
sync with head.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat May 12 20:27:13 2007 UTC (19 years, 6 months ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Change interface to settimeofday1() so that it can also be used from
compat code in order to avoid the stackgap.

Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:03 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
Sync with HEAD.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:41 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.13.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:49 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.4.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.1: +9 -9 lines
sync with head.

Revision 1.18.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:53 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.18.4.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.4.1: +5 -5 lines
sync with head.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:03 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +8 -8 lines
Sync with head.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:44 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -5 lines
__unused removal on arguments; approved by core.

Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:28 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +9 -9 lines
sync with head

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:50 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +9 -9 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:49:09 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +24 -20 lines
sync with head

Revision 1.15.8.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:55 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.15.8.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.8.2: +3 -3 lines
sync with head.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Aug 29 23:41:12 2006 UTC (20 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
fix incomplete initializer

Revision 1.15.8.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:50:37 2006 UTC (20 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.15.8.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.8.1: +8 -4 lines
sync with head.

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:11 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +25 -21 lines
sync with head.

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:58:11 2006 UTC (20 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +8 -4 lines
Sync with head.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:33:34 2006 UTC (20 years, 5 months ago) by kardel
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -4 lines
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.15.6.3: download - view: text, markup, annotated - select for diffs
Fri Jun 2 00:19:38 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.15.6.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.6.2: +3 -3 lines
- simplified interface to ntp_adjtime1

Revision 1.15.6.2: download - view: text, markup, annotated - select for diffs
Sun Apr 30 18:01:12 2006 UTC (20 years, 6 months ago) by kardel
Branches: simonb-timecounters
Diff to: previous 1.15.6.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.6.1: +8 -4 lines
- adjust to new interface form the common
  implementation

Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:45 2006 UTC (20 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +19 -19 lines
Sync with head.

Revision 1.15.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:24:23 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +19 -19 lines
sync with head.

Revision 1.15.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:08 2006 UTC (20 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +19 -19 lines
sync with head.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Mar 9 23:44:43 2006 UTC (20 years, 8 months ago) by christos
Branches: 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
Branch point for: chap-midi
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +19 -19 lines
Do not use SCARG() in userland. Eliminates need for <sys/systm.h>.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:53 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -7 lines
merge ktrace-lwp.

Revision 1.12.2.5: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:47 2005 UTC (20 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.12.2.4: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.4: +3 -3 lines
Sync with head.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Dec 5 00:16:34 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: ktrace-lwp-base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
- make settime take timespec.
- avoid wrapping of time in settime.
- pass struct proc down so that we can log a detailed message.

Revision 1.12.10.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:44 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +11 -11 lines
sync with -current

Revision 1.12.12.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:53 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +11 -11 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.12.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:53 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.2.3: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.3: +11 -11 lines
Sync with HEAD.

Hi Perry!

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:26:58 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +11 -11 lines
nuke trailing whitespace

Revision 1.12.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:26:24 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.2.2: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.2: +6 -6 lines
Fix the sync with head I botched.

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:44:28 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.1: +4 -4 lines
Sync with HEAD.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:59 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -6 lines
Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:58 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, ktrace-lwp, kent-audio2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:30 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -6 lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Feb 10 23:20:15 2003 UTC (23 years, 9 months ago) by perry
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -6 lines
Fix clockctlattach to take an (ignored) int as its parameter, which is
what the rest of the pseudo-device attach infrastructure expects. It
didn't cause any harm that the function signature was wrong because it
ignored what it was passed.

Revision 1.1.2.9: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:08:44 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.1.2.8: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.8: +3 -3 lines
Catch up to -current

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:13:00 2002 UTC (24 years ago) by jdolecek
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:41:27 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.7: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.7: +2 -3 lines
Catch up to -current.

Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:38:18 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.4.2.3: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.3: +9 -21 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Sep 23 05:51:10 2002 UTC (24 years, 1 month ago) by simonb
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -3 lines
Remove breaks after returns, unreachable returns and returns after
returns(!).

Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:19:18 2002 UTC (24 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.6: +9 -20 lines
Catch up to -current.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (24 years, 2 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +9 -20 lines
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.6.6.2: download - view: text, markup, annotated - select for diffs
Mon Jul 15 01:48:03 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.6.6.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.6.1: +3 -2 lines
make this compile.

Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Thu May 16 04:49:35 2002 UTC (24 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +8 -20 lines
Add the character device switch.

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:45:03 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +11 -4 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:48 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.4.2.2: preferred, colored
Changes since revision 1.4.2.2: +13 -4 lines
Catch up with -current.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 1 22:58:33 2002 UTC (24 years, 8 months ago) by manu
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +11 -4 lines
Two more trivial bug fixes:
- copyin() the ntv argument to ntp_adjtime1(), to avoid some panics
- correctly handle the return value
And this still relates to kern/15519

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:10 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +5 -3 lines
Catch up to -current.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Feb 25 21:16:36 2002 UTC (24 years, 8 months ago) by manu
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -3 lines
Fixes a bug in argument passing to ntp_adjtime1. patch submitted by
paul@Plectere.com (see kern/15519)

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:52:46 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.4.2.1: preferred, colored
Changes since revision 1.4.2.1: +139 -0 lines
Sync kqueue branch with -current.

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:29:18 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +16 -14 lines
Catch up to -current.

Revision 1.4.2.1
Sun Dec 9 16:10:43 2001 UTC (24 years, 11 months ago) by thorpej
Branches: kqueue
FILE REMOVED
Changes since revision 1.4: +0 -139 lines
file clockctl.c was added on branch kqueue on 2002-01-10 19:52:46 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:10:43 2001 UTC (24 years, 11 months ago) by manu
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +16 -13 lines
Changed clocktl interface to use syscallargs structures

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:03 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3 lines
don't need <sys/types.h> when including <sys/param.h>

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:41 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +4 -1 lines
Catch up to -current.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 05:32:49 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -1 lines
add RCSIDs

Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Wed Oct 10 11:56:52 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.2: +8 -7 lines
Convert all remaining devices.

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:44:11 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +134 -0 lines
Catch up with -current.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:27 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +134 -0 lines
Catch up to -current.

Revision 1.1.4.1
Sun Sep 16 06:53:56 2001 UTC (25 years, 2 months ago) by fvdl
Branches: thorpej-devvp
FILE REMOVED
Changes since revision 1.1: +0 -134 lines
file clockctl.c was added on branch thorpej-devvp on 2001-10-01 12:44:11 +0000

Revision 1.1.2.1
Sun Sep 16 06:53:56 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.1: +0 -134 lines
file clockctl.c was added on branch nathanw_sa on 2001-09-21 22:35:27 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Sep 16 06:53:56 2001 UTC (25 years, 2 months ago) by manu
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: thorpej-devvp, nathanw_sa
This is the clockctl pseudodevice. It gives non root users access to root-only
time-related system calls through ioctls. For instance, if user daemon is able
to write to /dev/clockctl, then it is able to use the CLOCKCTL_SETTIMEOFDAY
ioctl on it, which will be equivalent to a settimeofday.
Approved by Christos

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>