Home | History | Annotate | only in /src/sys/modules/examples
History log of /src/sys/modules/examples
RevisionDateAuthorComments
 1.12 08-Aug-2021  uwe Add ddbping example module to SUBDIR list.
 1.11 30-Apr-2020  christos New kernel example module written by Ayushi Sharma
 1.10 04-Apr-2020  kamil Add new example kernel module: current_time

Submitted by Apurva Nandan.
 1.9 01-Apr-2020  kamil Import a new example kernel module fopsmapper

fopsmapper - basic implementation of mmap with fileops fo_mmap

Submitted by Aditya Vardhan Padala.
 1.8 05-Feb-2020  kamil Import new example kernel module ping_block

Subbmitted by Nisarg Joshi.
 1.7 17-Jan-2019  kamil branches: 1.7.6;
Add a new example kernel module: mapper

Basic implementation of mmap.

Submitted by Akul Pillai.
 1.6 29-May-2018  kamil branches: 1.6.2;
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.
 1.5 20-Apr-2018  kamil 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>
 1.4 13-Apr-2018  kamil 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.
 1.3 13-Apr-2018  kamil Add new example kernel module: sysctl

sysctl - demonstrates adding a sysctl handle dynamically.

Patch by <Siddharth Muralee>
Polishing by myself.
 1.2 15-Apr-2017  kamil branches: 1.2.10; 1.2.12;
Build without installation example lua kernel module: luareadhappy
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
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.
 1.1.8.1 21-Apr-2017  bouyer Sync with HEAD
 1.1.6.1 26-Apr-2017  pgoyette Sync with HEAD
 1.1.4.3 28-Aug-2017  skrll Sync with HEAD
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file Makefile was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file Makefile was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.2.12.4 18-Jan-2019  pgoyette Synch with HEAD
 1.2.12.3 25-Jun-2018  pgoyette Sync with HEAD
 1.2.12.2 22-Apr-2018  pgoyette Sync with HEAD
 1.2.12.1 16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.2.10.2 03-Dec-2017  jdolecek update from HEAD
 1.2.10.1 15-Apr-2017  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.6.2.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.6.2.1 10-Jun-2019  christos Sync with HEAD
 1.7.6.1 29-Feb-2020  ad Sync with head.
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.20;
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.
 1.1.20.2 03-Dec-2017  jdolecek update from HEAD
 1.1.20.1 13-May-2015  jdolecek file Makefile.inc was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file Makefile.inc was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file Makefile.inc was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.15 30-Apr-2020  christos New kernel example module written by Ayushi Sharma
 1.14 04-Apr-2020  kamil Add new example kernel module: current_time

Submitted by Apurva Nandan.
 1.13 01-Apr-2020  kamil Import a new example kernel module fopsmapper

fopsmapper - basic implementation of mmap with fileops fo_mmap

Submitted by Aditya Vardhan Padala.
 1.12 07-Feb-2020  pgoyette Improve wording
 1.11 06-Feb-2020  kamil Document what does ping_block.
 1.10 05-Feb-2020  kamil Import new example kernel module ping_block

Subbmitted by Nisarg Joshi.
 1.9 17-Jan-2019  kamil branches: 1.9.6;
Add a new example kernel module: mapper

Basic implementation of mmap.

Submitted by Akul Pillai.
 1.8 29-May-2018  kamil branches: 1.8.2;
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.
 1.7 20-Apr-2018  kamil 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>
 1.6 13-Apr-2018  kamil 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.
 1.5 13-Apr-2018  kamil Add new example kernel module: sysctl

sysctl - demonstrates adding a sysctl handle dynamically.

Patch by <Siddharth Muralee>
Polishing by myself.
 1.4 23-Apr-2017  sevan branches: 1.4.10; 1.4.12;
Add luareadhappy to the list.
 1.3 15-May-2015  pgoyette branches: 1.3.2; 1.3.4; 1.3.6;
Even though this isn't a man page, it looks like one. So sort the
SEE ALSO section accordingly.
 1.2 13-May-2015  pgoyette Fix up another internal reference to renamed module, and adjust some
English grammar.
 1.1 13-May-2015  pgoyette 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.
 1.3.6.1 26-Apr-2017  pgoyette Sync with HEAD
 1.3.4.3 28-Aug-2017  skrll Sync with HEAD
 1.3.4.2 06-Jun-2015  skrll Sync with HEAD
 1.3.4.1 15-May-2015  skrll file README was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.3.2.2 03-Jun-2015  snj 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.
 1.3.2.1 15-May-2015  snj file README was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.4.12.4 18-Jan-2019  pgoyette Synch with HEAD
 1.4.12.3 25-Jun-2018  pgoyette Sync with HEAD
 1.4.12.2 22-Apr-2018  pgoyette Sync with HEAD
 1.4.12.1 16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.4.10.2 03-Dec-2017  jdolecek update from HEAD
 1.4.10.1 23-Apr-2017  jdolecek file README was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.8.2.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.8.2.1 10-Jun-2019  christos Sync with HEAD
 1.9.6.1 29-Feb-2020  ad Sync with head.
 1.1 04-Apr-2020  kamil branches: 1.1.4;
Add new example kernel module: current_time

Submitted by Apurva Nandan.
 1.1.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.4.1 04-Apr-2020  martin file Makefile was added on branch phil-wifi on 2020-04-13 08:05:11 +0000
 1.2 04-Apr-2020  kamil branches: 1.2.4;
Switch to type generic PRIu macros

Fixes build on i386.
 1.1 04-Apr-2020  kamil Add new example kernel module: current_time

Submitted by Apurva Nandan.
 1.2.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.4.1 04-Apr-2020  martin file current_time.c was added on branch phil-wifi on 2020-04-13 08:05:11 +0000
 1.1 01-Jun-2020  uwe Example of a kernel module that registers DDB commands.
 1.3 01-Feb-2023  uwe ddbping - restore the original narration of the example, NFCI

Adjust previous change so that it only replaces my home-grown define
for the end marker with the new official DDB_END_CMD marker that it
introduced. Undo the rest of that last change.

As the author of this example I'm pretty sure what example I wanted to
set and this narration order is an important part of it.
 1.2 23-Feb-2021  mrg introduce DDB_END_CMD and replace more than 20 copies of the same
list of NULLs and 0. idea from rillig@.

all touched ports built, several booted.
 1.1 01-Jun-2020  uwe branches: 1.1.2;
Example of a kernel module that registers DDB commands.
 1.1.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1 13-Apr-2018  kamil branches: 1.1.2;
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.
 1.1.2.2 16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.1.2.1 13-Apr-2018  pgoyette file Makefile was added on branch pgoyette-compat on 2018-04-16 02:00:08 +0000
 1.3 06-Jul-2024  andvar s/elasped/elapsed/ in comment.
 1.2 14-Dec-2019  ad branches: 1.2.32;
Use MPSAFE callouts.
 1.1 13-Apr-2018  kamil branches: 1.1.2; 1.1.4;
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.
 1.1.4.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.2.2 16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.1.2.1 13-Apr-2018  pgoyette file executor.c was added on branch pgoyette-compat on 2018-04-16 02:00:08 +0000
 1.2.32.1 02-Aug-2025  perseant Sync with HEAD
 1.1 01-Apr-2020  kamil branches: 1.1.4;
Import a new example kernel module fopsmapper

fopsmapper - basic implementation of mmap with fileops fo_mmap

Submitted by Aditya Vardhan Padala.
 1.1.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.4.1 01-Apr-2020  martin file Makefile was added on branch phil-wifi on 2020-04-13 08:05:11 +0000
 1.3 17-Apr-2024  riastradh modules/examples/fopsmapper: KNF, sprinkle comments

Missing: MP-safety; this is a kind of broken example.
 1.2 01-Apr-2020  kamil branches: 1.2.4;
Fix CVS Id
 1.1 01-Apr-2020  kamil Import a new example kernel module fopsmapper

fopsmapper - basic implementation of mmap with fileops fo_mmap

Submitted by Aditya Vardhan Padala.
 1.2.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.4.1 01-Apr-2020  martin file cmd_mapper.c was added on branch phil-wifi on 2020-04-13 08:05:11 +0000
 1.3 17-Apr-2024  riastradh modules/examples/fopsmapper: KNF, sprinkle comments

Missing: MP-safety; this is a kind of broken example.
 1.2 01-Apr-2020  kamil branches: 1.2.4;
Avoid comparison between signed and unsigned integer

Cast PAGE_SIZE to size_t.
 1.1 01-Apr-2020  kamil Import a new example kernel module fopsmapper

fopsmapper - basic implementation of mmap with fileops fo_mmap

Submitted by Aditya Vardhan Padala.
 1.2.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.4.1 01-Apr-2020  martin file fopsmapper.c was added on branch phil-wifi on 2020-04-13 08:05:11 +0000
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.20;
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.
 1.1.20.2 03-Dec-2017  jdolecek update from HEAD
 1.1.20.1 13-May-2015  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file Makefile was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file Makefile was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.20;
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.
 1.1.20.2 03-Dec-2017  jdolecek update from HEAD
 1.1.20.1 13-May-2015  jdolecek file hello.c was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file hello.c was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file hello.c was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.3 16-Apr-2023  nikita Resolve conflicts for lua 5.4.4 import.
Adjust various files for lua 5.4.4.
 1.2 13-May-2015  pgoyette branches: 1.2.2; 1.2.4; 1.2.20; 1.2.54;
Fix instructions to match reality. (I renamed the example from the
original submitter, but didn't catch all internal references.)
 1.1 13-May-2015  pgoyette 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.
 1.2.54.1 11-Aug-2023  martin Pull up following revision(s) (requested by nikita in ticket #313):

external/mit/lua/dist/src/ljumptab.h up to 1.2
external/mit/lua/dist/src/lopnames.h up to 1.1.1.1
external/mit/lua/dist/src/lbitlib.c delete
external/mit/lua/dist/Makefile up to 1.9
external/mit/lua/dist/README up to 1.10
external/mit/lua/dist/README.import up to 1.5
external/mit/lua/dist/doc/contents.html up to 1.9
external/mit/lua/dist/doc/lua.1 up to 1.9
external/mit/lua/dist/doc/manual.html up to 1.10
external/mit/lua/dist/doc/readme.html up to 1.9
external/mit/lua/dist/src/Makefile up to 1.7
external/mit/lua/dist/src/lapi.c up to 1.15
external/mit/lua/dist/src/lapi.h up to 1.11
external/mit/lua/dist/src/lauxlib.c up to 1.13
external/mit/lua/dist/src/lauxlib.h up to 1.9
external/mit/lua/dist/src/lbaselib.c up to 1.11
external/mit/lua/dist/src/lcode.c up to 1.14
external/mit/lua/dist/src/lcode.h up to 1.9
external/mit/lua/dist/src/lcorolib.c up to 1.10
external/mit/lua/dist/src/lctype.c up to 1.8
external/mit/lua/dist/src/lctype.h up to 1.8
external/mit/lua/dist/src/ldblib.c up to 1.12
external/mit/lua/dist/src/ldebug.c up to 1.14
external/mit/lua/dist/src/ldebug.h up to 1.11
external/mit/lua/dist/src/ldo.c up to 1.12
external/mit/lua/dist/src/ldo.h up to 1.12
external/mit/lua/dist/src/ldump.c up to 1.12
external/mit/lua/dist/src/lfunc.c up to 1.11
external/mit/lua/dist/src/lfunc.h up to 1.11
external/mit/lua/dist/src/lgc.c up to 1.13
external/mit/lua/dist/src/lgc.h up to 1.10
external/mit/lua/dist/src/linit.c up to 1.10
external/mit/lua/dist/src/liolib.c up to 1.10
external/mit/lua/dist/src/llex.c up to 1.14
external/mit/lua/dist/src/llex.h up to 1.9
external/mit/lua/dist/src/llimits.h up to 1.12
external/mit/lua/dist/src/lmathlib.c up to 1.11
external/mit/lua/dist/src/lmem.c up to 1.11
external/mit/lua/dist/src/lmem.h up to 1.9
external/mit/lua/dist/src/loadlib.c up to 1.11
external/mit/lua/dist/src/lobject.c up to 1.14
external/mit/lua/dist/src/lobject.h up to 1.12
external/mit/lua/dist/src/lopcodes.c up to 1.9
external/mit/lua/dist/src/lopcodes.h up to 1.10
external/mit/lua/dist/src/loslib.c up to 1.13
external/mit/lua/dist/src/lparser.c up to 1.15
external/mit/lua/dist/src/lparser.h up to 1.9
external/mit/lua/dist/src/lprefix.h up to 1.8
external/mit/lua/dist/src/lstate.c up to 1.12
external/mit/lua/dist/src/lstate.h up to 1.11
external/mit/lua/dist/src/lstring.c up to 1.10
external/mit/lua/dist/src/lstring.h up to 1.10
external/mit/lua/dist/src/lstrlib.c up to 1.21
external/mit/lua/dist/src/ltable.c up to 1.13
external/mit/lua/dist/src/ltable.h up to 1.10
external/mit/lua/dist/src/ltablib.c up to 1.11
external/mit/lua/dist/src/ltm.c up to 1.11
external/mit/lua/dist/src/ltm.h up to 1.10
external/mit/lua/dist/src/lua.c up to 1.12
external/mit/lua/dist/src/lua.h up to 1.14
external/mit/lua/dist/src/luac.c up to 1.12
external/mit/lua/dist/src/luaconf.h up to 1.25
external/mit/lua/dist/src/lualib.h up to 1.8
external/mit/lua/dist/src/lundump.c up to 1.11
external/mit/lua/dist/src/lundump.h up to 1.8
external/mit/lua/dist/src/lutf8lib.c up to 1.11
external/mit/lua/dist/src/lvm.c up to 1.20
external/mit/lua/dist/src/lvm.h up to 1.12
external/mit/lua/dist/src/lzio.c up to 1.9
external/mit/lua/dist/src/lzio.h up to 1.9
external/mit/lua/lib/liblua/Makefile up to 1.13
external/mit/lua/lib/liblua/shlib_version up to 1.4
distrib/sets/lists/base/ad.aarch64 1.37
distrib/sets/lists/base/mi 1.1315
distrib/sets/lists/base/shl.mi 1.947,1.949
distrib/sets/lists/debug/shl.mi 1.304,1.312
etc/mtree/NetBSD.dist.base 1.247
etc/mtree/NetBSD.dist.compat.in 1.2
share/mk/bsd.lua.mk 1.9
sys/modules/examples/luahello/luahello.lua 1.3
sys/modules/lua/Makefile 1.13
doc/CHANGES (manually edited)
doc/3RDPARTY (manually edited)

Import lua 5.4.6
 1.2.20.2 03-Dec-2017  jdolecek update from HEAD
 1.2.20.1 13-May-2015  jdolecek file luahello.lua was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.2.4.2 06-Jun-2015  skrll Sync with HEAD
 1.2.4.1 13-May-2015  skrll file luahello.lua was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.2.2.2 03-Jun-2015  snj 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.
 1.2.2.1 13-May-2015  snj file luahello.lua was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.2 17-Feb-2019  rin Bump default value of WARNS for modules from 3 to 5, and
explicitly set WARNS for modules that fail with WARNS=5.

Also, turn on -Wno-missing-noreturn for clang for some files.

At the moment, among ~ 360 modules,
- 2 (lua and zfs) need WARNS=0
- 1 (solaris) needs WARNS=1
- 136 need WARNS=3 (mostly due to sign-compare)
- 4 need WARNS=4
- others can be compiled with WARNS=5

Discussed on tech-kern.
 1.1 15-Apr-2017  kamil branches: 1.1.2; 1.1.4; 1.1.12; 1.1.16; 1.1.20;
Add new example kernel module in Lua luareadhappy

This example presents a C module with its device (/dev entry) and its
content generator with algorithm defined in Lua state. The Lua state can
be changed dynamically from userland, without interruption of read(2) over
the device.

This is an example how to call Lua code from C.
 1.1.20.1 10-Jun-2019  christos Sync with HEAD
 1.1.16.2 03-Dec-2017  jdolecek update from HEAD
 1.1.16.1 15-Apr-2017  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.12.2 28-Aug-2017  skrll Sync with HEAD
 1.1.12.1 15-Apr-2017  skrll file Makefile was added on branch nick-nhusb on 2017-08-28 17:53:10 +0000
 1.1.4.2 26-Apr-2017  pgoyette Sync with HEAD
 1.1.4.1 15-Apr-2017  pgoyette file Makefile was added on branch pgoyette-localcount on 2017-04-26 02:53:28 +0000
 1.1.2.2 15-Apr-2017  kamil 1043943
 1.1.2.1 15-Apr-2017  kamil file Makefile was added on branch bouyer-socketcan on 2017-04-15 04:27:31 +0000
 1.1 15-Apr-2017  kamil branches: 1.1.2; 1.1.4; 1.1.12; 1.1.16;
Add new example kernel module in Lua luareadhappy

This example presents a C module with its device (/dev entry) and its
content generator with algorithm defined in Lua state. The Lua state can
be changed dynamically from userland, without interruption of read(2) over
the device.

This is an example how to call Lua code from C.
 1.1.16.2 03-Dec-2017  jdolecek update from HEAD
 1.1.16.1 15-Apr-2017  jdolecek file happy.lua was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.12.2 28-Aug-2017  skrll Sync with HEAD
 1.1.12.1 15-Apr-2017  skrll file happy.lua was added on branch nick-nhusb on 2017-08-28 17:53:10 +0000
 1.1.4.2 26-Apr-2017  pgoyette Sync with HEAD
 1.1.4.1 15-Apr-2017  pgoyette file happy.lua was added on branch pgoyette-localcount on 2017-04-26 02:53:28 +0000
 1.1.2.2 15-Apr-2017  kamil 1043943
 1.1.2.1 15-Apr-2017  kamil file happy.lua was added on branch bouyer-socketcan on 2017-04-15 04:27:31 +0000
 1.2 30-Jan-2020  kamil Align major numbers in example modules with sys/conf/majors

Patch submitted by: Aditya Vardhan Padala (silv3r)
 1.1 15-Apr-2017  kamil branches: 1.1.2; 1.1.4; 1.1.12; 1.1.16; 1.1.20; 1.1.26;
Add new example kernel module in Lua luareadhappy

This example presents a C module with its device (/dev entry) and its
content generator with algorithm defined in Lua state. The Lua state can
be changed dynamically from userland, without interruption of read(2) over
the device.

This is an example how to call Lua code from C.
 1.1.26.1 29-Feb-2020  ad Sync with head.
 1.1.20.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.16.2 03-Dec-2017  jdolecek update from HEAD
 1.1.16.1 15-Apr-2017  jdolecek file luareadhappy.c was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.12.2 28-Aug-2017  skrll Sync with HEAD
 1.1.12.1 15-Apr-2017  skrll file luareadhappy.c was added on branch nick-nhusb on 2017-08-28 17:53:10 +0000
 1.1.4.2 26-Apr-2017  pgoyette Sync with HEAD
 1.1.4.1 15-Apr-2017  pgoyette file luareadhappy.c was added on branch pgoyette-localcount on 2017-04-26 02:53:28 +0000
 1.1.2.2 15-Apr-2017  kamil 1043943
 1.1.2.1 15-Apr-2017  kamil file luareadhappy.c was added on branch bouyer-socketcan on 2017-04-15 04:27:31 +0000
 1.1 17-Jan-2019  kamil branches: 1.1.2; 1.1.6;
Add a new example kernel module: mapper

Basic implementation of mmap.

Submitted by Akul Pillai.
 1.1.6.2 10-Jun-2019  christos Sync with HEAD
 1.1.6.1 17-Jan-2019  christos file Makefile was added on branch phil-wifi on 2019-06-10 22:09:24 +0000
 1.1.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.1.2.1 17-Jan-2019  pgoyette file Makefile was added on branch pgoyette-compat on 2019-01-18 08:50:58 +0000
 1.1 17-Jan-2019  kamil branches: 1.1.2; 1.1.6;
Add a new example kernel module: mapper

Basic implementation of mmap.

Submitted by Akul Pillai.
 1.1.6.2 10-Jun-2019  christos Sync with HEAD
 1.1.6.1 17-Jan-2019  christos file cmd_mapper.c was added on branch phil-wifi on 2019-06-10 22:09:24 +0000
 1.1.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.1.2.1 17-Jan-2019  pgoyette file cmd_mapper.c was added on branch pgoyette-compat on 2019-01-18 08:50:58 +0000
 1.4 06-Sep-2020  riastradh Fix fallout from previous uvm.h cleanup.

- pmap(9) needs uvm/uvm_extern.h.

- x86/pmap.h is not usable on its own; it is only usable if included
via uvm/uvm_extern.h (-> uvm/uvm_pmap.h -> machine/pmap.h).

- Make nvmm.h and nvmm_internal.h standalone.
 1.3 05-Sep-2020  riastradh Round of uvm.h cleanup.

The poorly named uvm.h is generally supposed to be for uvm-internal
users only.

- Narrow it to files that actually need it -- mostly files that need
to query whether curlwp is the pagedaemon, which should maybe be
exposed by an external header.

- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
by it. We should split up uvm_extern.h but this will serve for now
to reduce the uvm.h dependencies.

- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
UVMHIST(ubchist), since ubchist is declared in uvm.h but the
reference evaporates if UVMHIST is not defined, so we reduce header
file dependencies.

- Make uvm_device.h and uvm_swap.h independently includable while
here.

ok chs@
 1.2 30-Jan-2020  kamil Align major numbers in example modules with sys/conf/majors

Patch submitted by: Aditya Vardhan Padala (silv3r)
 1.1 17-Jan-2019  kamil branches: 1.1.2; 1.1.6; 1.1.10;
Add a new example kernel module: mapper

Basic implementation of mmap.

Submitted by Akul Pillai.
 1.1.10.1 29-Feb-2020  ad Sync with head.
 1.1.6.3 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.6.2 10-Jun-2019  christos Sync with HEAD
 1.1.6.1 17-Jan-2019  christos file mapper.c was added on branch phil-wifi on 2019-06-10 22:09:24 +0000
 1.1.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.1.2.1 17-Jan-2019  pgoyette file mapper.c was added on branch pgoyette-compat on 2019-01-18 08:50:58 +0000
 1.1 29-May-2018  kamil branches: 1.1.2;
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.
 1.1.2.2 25-Jun-2018  pgoyette Sync with HEAD
 1.1.2.1 29-May-2018  pgoyette file Makefile was added on branch pgoyette-compat on 2018-06-25 07:26:05 +0000
 1.3 21-Oct-2021  andvar fix various typos, mainly in comments, but also in man pages and log messages.
 1.2 30-Jan-2020  kamil Align major numbers in example modules with sys/conf/majors

Patch submitted by: Aditya Vardhan Padala (silv3r)
 1.1 29-May-2018  kamil branches: 1.1.2; 1.1.4; 1.1.10;
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.
 1.1.10.1 29-Feb-2020  ad Sync with head.
 1.1.4.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.2.2 25-Jun-2018  pgoyette Sync with HEAD
 1.1.2.1 29-May-2018  pgoyette file panic_string.c was added on branch pgoyette-compat on 2018-06-25 07:26:05 +0000
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.20;
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.
 1.1.20.2 03-Dec-2017  jdolecek update from HEAD
 1.1.20.1 13-May-2015  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file Makefile was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file Makefile was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.2 13-May-2015  joerg branches: 1.2.2; 1.2.4; 1.2.20;
Fix RCS ID.
 1.1 13-May-2015  pgoyette 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.
 1.2.20.2 03-Dec-2017  jdolecek update from HEAD
 1.2.20.1 13-May-2015  jdolecek file cmd_ping.c was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.2.4.2 06-Jun-2015  skrll Sync with HEAD
 1.2.4.1 13-May-2015  skrll file cmd_ping.c was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.2.2.2 03-Jun-2015  snj 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.
 1.2.2.1 13-May-2015  snj file cmd_ping.c was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.5 30-Apr-2020  christos remove debugging stuff accidentally committed.
 1.4 30-Apr-2020  christos New kernel example module written by Ayushi Sharma
 1.3 05-Feb-2020  pgoyette Use ENOTTY as error for an unrecognized ioctl() code, rather than
"magic number" 1.


ok kamil@
 1.2 30-Jan-2020  kamil Align major numbers in example modules with sys/conf/majors

Patch submitted by: Aditya Vardhan Padala (silv3r)
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.20; 1.1.24; 1.1.30;
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.
 1.1.30.1 29-Feb-2020  ad Sync with head.
 1.1.24.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.20.2 03-Dec-2017  jdolecek update from HEAD
 1.1.20.1 13-May-2015  jdolecek file ping.c was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file ping.c was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file ping.c was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.20;
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.
 1.1.20.2 03-Dec-2017  jdolecek update from HEAD
 1.1.20.1 13-May-2015  jdolecek file ping.h was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file ping.h was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file ping.h was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.1 05-Feb-2020  kamil branches: 1.1.6;
Import new example kernel module ping_block

Subbmitted by Nisarg Joshi.
 1.1.6.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.6.1 05-Feb-2020  martin file Makefile was added on branch phil-wifi on 2020-04-13 08:05:11 +0000
 1.1 05-Feb-2020  kamil branches: 1.1.6;
Import new example kernel module ping_block

Subbmitted by Nisarg Joshi.
 1.1.6.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.6.1 05-Feb-2020  martin file cmd_ping.c was added on branch phil-wifi on 2020-04-13 08:05:11 +0000
 1.2 05-Feb-2020  pgoyette branches: 1.2.6;
Use ENOTTY as error for an unrecognized ioctl() code, rather than
"magic number" 1.


ok kamil@
 1.1 05-Feb-2020  kamil Import new example kernel module ping_block

Subbmitted by Nisarg Joshi.
 1.2.6.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.6.1 05-Feb-2020  martin file ping.c was added on branch phil-wifi on 2020-04-13 08:05:11 +0000
 1.1 05-Feb-2020  kamil branches: 1.1.6;
Import new example kernel module ping_block

Subbmitted by Nisarg Joshi.
 1.1.6.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.6.1 05-Feb-2020  martin file ping.h was added on branch phil-wifi on 2020-04-13 08:05:11 +0000
 1.1 30-Apr-2020  christos New kernel example module written by Ayushi Sharma
 1.1 30-Apr-2020  christos New kernel example module written by Ayushi Sharma
 1.4 28-Mar-2022  riastradh 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
 1.3 01-May-2020  christos s/&&/&/ and also return POLLRDNORM (pointed out by joerg@)
 1.2 30-Apr-2020  mrg include sys/lwp.h and fix the build.
 1.1 30-Apr-2020  christos New kernel example module written by Ayushi Sharma
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.20;
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.
 1.1.20.2 03-Dec-2017  jdolecek update from HEAD
 1.1.20.1 13-May-2015  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file Makefile was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file Makefile was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.20;
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.
 1.1.20.2 03-Dec-2017  jdolecek update from HEAD
 1.1.20.1 13-May-2015  jdolecek file properties.c was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file properties.c was added on branch nick-nhusb on 2015-06-06 14:40:23 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file properties.c was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.2 17-Feb-2019  rin Bump default value of WARNS for modules from 3 to 5, and
explicitly set WARNS for modules that fail with WARNS=5.

Also, turn on -Wno-missing-noreturn for clang for some files.

At the moment, among ~ 360 modules,
- 2 (lua and zfs) need WARNS=0
- 1 (solaris) needs WARNS=1
- 136 need WARNS=3 (mostly due to sign-compare)
- 4 need WARNS=4
- others can be compiled with WARNS=5

Discussed on tech-kern.
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.20; 1.1.24;
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.
 1.1.24.1 10-Jun-2019  christos Sync with HEAD
 1.1.20.2 03-Dec-2017  jdolecek update from HEAD
 1.1.20.1 13-May-2015  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file Makefile was added on branch nick-nhusb on 2015-06-06 14:40:24 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file Makefile was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.1 13-May-2015  pgoyette branches: 1.1.2; 1.1.4; 1.1.20;
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.
 1.1.20.2 03-Dec-2017  jdolecek update from HEAD
 1.1.20.1 13-May-2015  jdolecek file readhappy.c was added on branch tls-maxphys on 2017-12-03 11:38:53 +0000
 1.1.4.2 06-Jun-2015  skrll Sync with HEAD
 1.1.4.1 13-May-2015  skrll file readhappy.c was added on branch nick-nhusb on 2015-06-06 14:40:24 +0000
 1.1.2.2 03-Jun-2015  snj 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.
 1.1.2.1 13-May-2015  snj file readhappy.c was added on branch netbsd-7 on 2015-06-03 06:51:40 +0000
 1.2 17-Feb-2019  rin Bump default value of WARNS for modules from 3 to 5, and
explicitly set WARNS for modules that fail with WARNS=5.

Also, turn on -Wno-missing-noreturn for clang for some files.

At the moment, among ~ 360 modules,
- 2 (lua and zfs) need WARNS=0
- 1 (solaris) needs WARNS=1
- 136 need WARNS=3 (mostly due to sign-compare)
- 4 need WARNS=4
- others can be compiled with WARNS=5

Discussed on tech-kern.
 1.1 20-Apr-2018  kamil branches: 1.1.2; 1.1.4;

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>
 1.1.4.1 10-Jun-2019  christos Sync with HEAD
 1.1.2.2 22-Apr-2018  pgoyette Sync with HEAD
 1.1.2.1 20-Apr-2018  pgoyette file Makefile was added on branch pgoyette-compat on 2018-04-22 07:20:27 +0000
 1.3 27-Jun-2025  andvar Grammar and spelling fixes, mainly in comments. A few in documentation,
logging, test description, and SCSI ASC/ASCQ assignment descriptions.
 1.2 30-Jan-2020  kamil branches: 1.2.30;
Align major numbers in example modules with sys/conf/majors

Patch submitted by: Aditya Vardhan Padala (silv3r)
 1.1 20-Apr-2018  kamil branches: 1.1.2; 1.1.4; 1.1.10;

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>
 1.1.10.1 29-Feb-2020  ad Sync with head.
 1.1.4.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.2.2 22-Apr-2018  pgoyette Sync with HEAD
 1.1.2.1 20-Apr-2018  pgoyette file readhappy_mpsafe.c was added on branch pgoyette-compat on 2018-04-22 07:20:27 +0000
 1.2.30.1 02-Aug-2025  perseant Sync with HEAD
 1.1 20-Apr-2018  kamil branches: 1.1.2;

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>
 1.1.2.2 22-Apr-2018  pgoyette Sync with HEAD
 1.1.2.1 20-Apr-2018  pgoyette file test_readhappy.c was added on branch pgoyette-compat on 2018-04-22 07:20:27 +0000
 1.1 13-Apr-2018  kamil branches: 1.1.2;
Add new example kernel module: sysctl

sysctl - demonstrates adding a sysctl handle dynamically.

Patch by <Siddharth Muralee>
Polishing by myself.
 1.1.2.2 16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.1.2.1 13-Apr-2018  pgoyette file Makefile was added on branch pgoyette-compat on 2018-04-16 02:00:08 +0000
 1.2 23-Mar-2021  simonb Add some \n's to the end of some printf()s.
 1.1 13-Apr-2018  kamil branches: 1.1.2; 1.1.16; 1.1.18;
Add new example kernel module: sysctl

sysctl - demonstrates adding a sysctl handle dynamically.

Patch by <Siddharth Muralee>
Polishing by myself.
 1.1.18.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1.16.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1.2.2 16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.1.2.1 13-Apr-2018  pgoyette file sysctl.c was added on branch pgoyette-compat on 2018-04-16 02:00:08 +0000

RSS XML Feed