Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
kgdbts.c File Reference
#include <linux/kernel.h>
#include <linux/kgdb.h>
#include <linux/ctype.h>
#include <linux/uaccess.h>
#include <linux/syscalls.h>
#include <linux/nmi.h>
#include <linux/delay.h>
#include <linux/kthread.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  test_struct
 
struct  test_state
 

Macros

#define v1printk(a...)
 
#define v2printk(a...)
 
#define eprintk(a...)
 
#define MAX_CONFIG_LEN   40
 

Functions

 __setup ("kgdbts=", kgdbts_option_setup)
 
 module_init (init_kgdbts)
 
 module_param_call (kgdbts, param_set_kgdbts_var, param_get_string,&kps, 0644)
 
 MODULE_PARM_DESC (kgdbts,"<A|V1|V2>[F#|S#][N#]")
 
 MODULE_DESCRIPTION ("KGDB Test Suite")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Wind River Systems, Inc.")
 

Macro Definition Documentation

#define eprintk (   a...)
Value:
do { \
printk(KERN_ERR a); \
WARN_ON(1); \
} while (0)

Definition at line 116 of file kgdbts.c.

#define MAX_CONFIG_LEN   40

Definition at line 120 of file kgdbts.c.

#define v1printk (   a...)
Value:
do { \
if (verbose) \
printk(KERN_INFO a); \
} while (0)

Definition at line 107 of file kgdbts.c.

#define v2printk (   a...)
Value:
do { \
if (verbose > 1) \
printk(KERN_INFO a); \
touch_nmi_watchdog(); \
} while (0)

Definition at line 111 of file kgdbts.c.

Function Documentation

__setup ( )
MODULE_AUTHOR ( "Wind River  Systems,
Inc."   
)
MODULE_DESCRIPTION ( "KGDB Test Suite"  )
module_init ( init_kgdbts  )
MODULE_LICENSE ( "GPL"  )
module_param_call ( kgdbts  ,
param_set_kgdbts_var  ,
param_get_string  ,
kps,
0644   
)
MODULE_PARM_DESC ( kgdbts  ,
"<A|V1|V2>"  [F#|S#][N#] 
)