|
Linux Kernel
3.7.1
|
#include <linux/bug.h>#include <linux/errno.h>#include <linux/fs.h>#include <linux/hrtimer.h>#include <linux/kernel.h>#include <linux/ktime.h>#include <linux/init.h>#include <linux/miscdevice.h>#include <linux/module.h>#include <linux/moduleparam.h>#include <linux/platform_device.h>#include <linux/spinlock.h>#include <linux/uaccess.h>#include <linux/watchdog.h>#include <xen/xen.h>#include <asm/xen/hypercall.h>#include <xen/interface/sched.h>Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| #define | DRV_NAME "wdt" |
| #define | DRV_VERSION "0.01" |
| #define | WATCHDOG_TIMEOUT 60 /* in seconds */ |
Functions | |
| module_param (timeout, uint, S_IRUGO) | |
| MODULE_PARM_DESC (timeout,"Watchdog timeout in seconds ""(default="__MODULE_STRING(WATCHDOG_TIMEOUT)")") | |
| module_param (nowayout, bool, S_IRUGO) | |
| MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started ""(default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")") | |
| module_init (xen_wdt_init_module) | |
| module_exit (xen_wdt_cleanup_module) | |
| MODULE_AUTHOR ("Jan Beulich <[email protected]>") | |
| MODULE_DESCRIPTION ("Xen WatchDog Timer Driver") | |
| MODULE_VERSION (DRV_VERSION) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
| MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
| MODULE_AUTHOR | ( | "Jan Beulich <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "Xen WatchDog Timer Driver" | ) |
| module_exit | ( | xen_wdt_cleanup_module | ) |
| module_init | ( | xen_wdt_init_module | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| MODULE_PARM_DESC | ( | timeout | , |
| "Watchdog timeout in seconds ""(default="__MODULE_STRING(WATCHDOG_TIMEOUT)")" | |||
| ) |
| MODULE_PARM_DESC | ( | nowayout | , |
| "Watchdog cannot be stopped once started ""(default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")" | |||
| ) |
| MODULE_VERSION | ( | DRV_VERSION | ) |
1.8.2