Up to [cvs.NetBSD.org] / src / sys / modules / examples
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 30 00:48:10 2020 UTC (3 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
netbsd-10-base,
netbsd-10,
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,
HEAD
Changes since 1.14: +5 -1
lines
Diff to previous 1.14 (colored)
New kernel example module written by Ayushi Sharma
Revision 1.8.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:55 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.8.2.1: +17 -5
lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)
Merge changes from current as of 20200406
Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 4 21:15:04 2020 UTC (3 years, 1 month ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Changes since 1.13: +5 -1
lines
Diff to previous 1.13 (colored)
Add new example kernel module: current_time Submitted by Apurva Nandan.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 1 01:57:20 2020 UTC (3 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.12: +5 -1
lines
Diff to previous 1.12 (colored)
Import a new example kernel module fopsmapper fopsmapper - basic implementation of mmap with fileops fo_mmap Submitted by Aditya Vardhan Padala.
Revision 1.9.6.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:05 2020 UTC (3 years, 3 months ago) by ad
Branch: ad-namecache
Changes since 1.9: +9 -5
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Sync with head.
Revision 1.12 / (download) - annotate - [select for diffs], Fri Feb 7 19:22:21 2020 UTC (3 years, 3 months ago) by pgoyette
Branch: MAIN
CVS Tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Changes since 1.11: +5 -5
lines
Diff to previous 1.11 (colored)
Improve wording
Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 6 22:52:25 2020 UTC (3 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.10: +2 -1
lines
Diff to previous 1.10 (colored)
Document what does ping_block.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 5 13:23:42 2020 UTC (3 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.9: +4 -1
lines
Diff to previous 1.9 (colored)
Import new example kernel module ping_block Subbmitted by Nisarg Joshi.
Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:23 2019 UTC (3 years, 11 months ago) by christos
Branch: phil-wifi
Changes since 1.8: +5 -1
lines
Diff to previous 1.8 (colored)
Sync with HEAD
Revision 1.4.12.4 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:57 2019 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.4.12.3: +5 -1
lines
Diff to previous 1.4.12.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
Synch with HEAD
Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 17 20:47:42 2019 UTC (4 years, 4 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
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,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Changes since 1.8: +5 -1
lines
Diff to previous 1.8 (colored)
Add a new example kernel module: mapper Basic implementation of mmap. Submitted by Akul Pillai.
Revision 1.4.12.3 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:05 2018 UTC (4 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4.12.2: +6 -2
lines
Diff to previous 1.4.12.2 (colored) to branchpoint 1.4 (colored)
Sync with HEAD
Revision 1.8 / (download) - annotate - [select for diffs], Tue May 29 16:53:56 2018 UTC (5 years ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.7: +6 -2
lines
Diff to previous 1.7 (colored)
Introduce new example kernel module: panic_string The panic_string module accepts input from a device file over the write(2) system call. It prints panic(9) message passed from user space, e.g.: echo "Hello world" > /dev/panic If a string is empty or contain only whitespaces it's ignored and panic(9) is not triggered. If a non printable character is passed within the input buffer, the rest of the string is ignored. This module performs the sync(8) operation before panic(9) to flush cache. Submitted by Harry Pantazis. Simplified and cleaned up by myself.
Revision 1.4.12.2 / (download) - annotate - [select for diffs], Sun Apr 22 07:20:27 2018 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4.12.1: +4 -3
lines
Diff to previous 1.4.12.1 (colored) to branchpoint 1.4 (colored)
Sync with HEAD
Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 20 00:06:45 2018 UTC (5 years, 1 month ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422
Changes since 1.6: +4 -3
lines
Diff to previous 1.6 (colored)
Add new example loadable kernel module: readhappy_mpsafe readhappy_mpsafe - demonstrates how to make a module MPSAFE This module contains an additional helper program test_readhappy.c, that is designed to exercise the kernel module with multiple threads. Submitted by <Siddharth Muralee>
Revision 1.4.12.1 / (download) - annotate - [select for diffs], Mon Apr 16 02:00:08 2018 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4: +9 -4
lines
Diff to previous 1.4 (colored)
Sync with HEAD, resolve some conflicts
Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 13 20:30:09 2018 UTC (5 years, 1 month ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-0415
Changes since 1.5: +8 -7
lines
Diff to previous 1.5 (colored)
Add a new example kernel module executor - basic implementation of callout and RUN_ONCE While there, perform a small cleanup in README. Patch by <Siddharth Muralee> Polishing by myself.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 13 01:20:27 2018 UTC (5 years, 1 month ago) by kamil
Branch: MAIN
Changes since 1.4: +6 -2
lines
Diff to previous 1.4 (colored)
Add new example kernel module: sysctl sysctl - demonstrates adding a sysctl handle dynamically. Patch by <Siddharth Muralee> Polishing by myself.
Revision 1.4.10.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:53 2017 UTC (5 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4.10.1: +60 -0
lines
Diff to previous 1.4.10.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
update from HEAD
Revision 1.3.4.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:09 2017 UTC (5 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3.4.2: +4 -3
lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Sync with HEAD
Revision 1.3.6.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:28 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.3: +4 -3
lines
Diff to previous 1.3 (colored) next main 1.4 (colored)
Sync with HEAD
Revision 1.4.10.1, Sun Apr 23 23:39:42 2017 UTC (6 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4: +0 -60
lines
FILE REMOVED
file README was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 23 23:39:42 2017 UTC (6 years, 1 month ago) by sevan
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-compat-base,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Branch point for: tls-maxphys,
pgoyette-compat
Changes since 1.3: +4 -3
lines
Diff to previous 1.3 (colored)
Add luareadhappy to the list.
Revision 1.3.4.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:23 2015 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3.4.1: +59 -0
lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)
Sync with HEAD
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Jun 3 06:51:40 2015 UTC (8 years ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
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
Changes since 1.3.2.1: +59 -0
lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Pull up following revision(s) (requested by pgoyette in ticket #752): sys/modules/example/Makefile: file removal sys/modules/example/example.c: file removal sys/modules/examples/Makefile: revision 1.1 sys/modules/examples/Makefile.inc: revision 1.1 sys/modules/examples/README: revisions 1.1-1.3 sys/modules/examples/hello/Makefile: revision 1.1 sys/modules/examples/hello/hello.c: revision 1.1 sys/modules/examples/luahello/luahello.lua: revisions 1.1, 1.2 sys/modules/examples/ping/Makefile: revision 1.1 sys/modules/examples/ping/cmd_ping.c: revisions 1.1, 1.2 sys/modules/examples/ping/ping.c: revision 1.1 sys/modules/examples/ping/ping.h: revision 1.1 sys/modules/examples/properties/Makefile: revision 1.1 sys/modules/examples/properties/properties.c: revision 1.1 sys/modules/examples/readhappy/Makefile: revision 1.1 sys/modules/examples/readhappy/readhappy.c: revision 1.1 Soon to be replaced with a more comprehensive set of examples. -- A set of more comprehensive example kernel modules to replace our previous single example. These examples were provided by Kamil Rytarowski. XXX These modules are built as part of a system build, but they XXX are NOT installed in $DESTDIR. -- Fix instructions to match reality. (I renamed the example from the original submitter, but didn't catch all internal references.) -- Fix up another internal reference to renamed module, and adjust some English grammar. -- Even though this isn't a man page, it looks like one. So sort the SEE ALSO section accordingly. -- Fix RCS ID.
Revision 1.3.4.1, Fri May 15 06:21:12 2015 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.3: +0 -59
lines
FILE REMOVED
file README was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
Revision 1.3.2.1, Fri May 15 06:21:12 2015 UTC (8 years ago) by snj
Branch: netbsd-7
Changes since 1.3: +0 -59
lines
FILE REMOVED
file README was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Fri May 15 06:21:12 2015 UTC (8 years ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
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,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-localcount,
nick-nhusb,
netbsd-7
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
Even though this isn't a man page, it looks like one. So sort the SEE ALSO section accordingly.
Revision 1.2 / (download) - annotate - [select for diffs], Wed May 13 22:41:48 2015 UTC (8 years ago) by pgoyette
Branch: MAIN
Changes since 1.1: +3 -3
lines
Diff to previous 1.1 (colored)
Fix up another internal reference to renamed module, and adjust some English grammar.
Revision 1.1 / (download) - annotate - [select for diffs], Wed May 13 07:07:36 2015 UTC (8 years ago) by pgoyette
Branch: MAIN
A set of more comprehensive example kernel modules to replace our previous single example. These examples were provided by Kamil Rytarowski. XXX These modules are built as part of a system build, but they XXX are NOT installed in $DESTDIR.