NetBSD/sys/ddb
atatat 13f8d2ce5f Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
2003-12-04 19:38:21 +00:00
..
TODO
db_access.c
db_access.h
db_aout.c Add a cast to make this build with -D__AUDIT__. 2003-05-17 00:28:44 +00:00
db_aout.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
db_break.c Add a BKPT_ADDR() macro which gives MD code a chance to munge a 2003-04-29 17:06:03 +00:00
db_break.h
db_command.c add "show mount" ddb command 2003-11-18 18:26:18 +00:00
db_command.h
db_elf.c
db_examine.c Fix format string warnings for platforms where 2003-11-09 20:52:18 +00:00
db_expr.c
db_extern.h switch to use strlcpy() from libkern. 2003-05-16 16:28:30 +00:00
db_input.c
db_interface.h Add a "show sched_qs" command to dump the run queues. Format is: 2003-09-20 03:02:03 +00:00
db_lex.c On some platforms, sizeof(db_expr_t) > sizeof(long), so add a method 2003-05-17 09:58:03 +00:00
db_lex.h
db_output.c
db_output.h
db_print.c
db_run.c
db_run.h
db_sym.c o Fix a bug in ksyms that changed the real meaning of st_name entries for 2003-11-17 10:16:18 +00:00
db_sym.h use strlcpy [change prototype of db_symstr to pass size_t; noone seem to use it] 2003-05-16 15:02:08 +00:00
db_trap.c Add a rudimentary 'trap to kgdb' command if KGDB is defined. This allows 2003-04-28 02:49:54 +00:00
db_variables.c Dynamic sysctl. 2003-12-04 19:38:21 +00:00
db_variables.h
db_watch.c Fix format string warnings for platforms where 2003-11-09 20:52:18 +00:00
db_watch.h
db_write_cmd.c
db_xxx.c Add a "show sched_qs" command to dump the run queues. Format is: 2003-09-20 03:02:03 +00:00
ddbvar.h Dynamic sysctl. 2003-12-04 19:38:21 +00:00