freebsd-dev/sys/ddb
Attilio Rao 7126ba42f6 - Add the possibility to reuse the already last used timeout when patting
the watchdog, via the watchdog(9) interface.
  For that, the WD_LASTVAL bitwise operation is used. It is mutually
  exclusive with any explicit timout passing to the watchdogs.
  The last timeout can be returned via the wdog_kern_last_timeout()
  KPI.
- Add the possibility to pat the watchdogs installed via the watchdog(9)
  interface from the kernel.
  In order to do that the new KPI wdog_kern_pat() is offered and it does
  accept normalized nanoseconds or WD_LASTVAL.
- Avoid to pass WD_ACTIVE down in the watchdog handlers. All the control
  bit processing should over to the upper layer functions and not passed
  down to the handlers at all.

These changes are intended to be used in order to fix up the watchdog
tripping in situation when the userland is busted, but protection is still
wanted (examples: shutdown syncing / disk dumping).

Sponsored by:	Sandvine Incorporated
Reviewed by:	emaste, des, cognet
MFC after:	2 weeks
2011-04-27 16:43:03 +00:00
..
db_access.c
db_access.h
db_break.c
db_break.h
db_capture.c sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. 2011-01-12 19:54:19 +00:00
db_command.c - Add the possibility to reuse the already last used timeout when patting 2011-04-27 16:43:03 +00:00
db_command.h MFp4 @178364: 2010-05-24 16:41:05 +00:00
db_examine.c Add a /S mode to DDB "ex" command, which interprets and prints the 2008-03-07 18:09:07 +00:00
db_expr.c Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
db_input.c Reserve two bytes at the end of the DDB input line in db_readline() to 2008-03-07 13:13:17 +00:00
db_lex.c Add a simple scripting facility to DDB(4), allowing the user to 2007-12-26 09:33:19 +00:00
db_lex.h Add a simple scripting facility to DDB(4), allowing the user to 2007-12-26 09:33:19 +00:00
db_main.c Initialize the DDB command list when initializing DDB so that the basic 2008-09-25 19:50:14 +00:00
db_output.c There is not a good reason to have a different prototype for db_printf() 2010-05-11 17:01:14 +00:00
db_output.h
db_print.c
db_ps.c Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order 2010-01-08 15:44:49 +00:00
db_run.c Fix software single-stepping: we need to check if the instruction is a 2008-08-02 12:49:43 +00:00
db_script.c Remove duplicate $FreeBSD$ that snuck in. 2007-12-26 10:51:07 +00:00
db_sym.c Move two copies of the same definition to a common include file. 2010-04-14 23:06:07 +00:00
db_sym.h
db_textdump.c Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
db_thread.c MFp4 @178364: 2010-05-24 16:41:05 +00:00
db_variables.c Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
db_variables.h Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
db_watch.c
db_watch.h
db_write_cmd.c
ddb.h There is not a good reason to have a different prototype for db_printf() 2010-05-11 17:01:14 +00:00