Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
kdb_io.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/ctype.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/kdev_t.h>
#include <linux/console.h>
#include <linux/string.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/nmi.h>
#include <linux/delay.h>
#include <linux/kgdb.h>
#include <linux/kdb.h>
#include <linux/kallsyms.h>
#include "kdb_private.h"

Go to the source code of this file.

Macros

#define CMD_BUFLEN   256
 
#define ESCAPE_UDELAY   1000
 
#define ESCAPE_DELAY   (2*1000000/ESCAPE_UDELAY) /* 2 seconds worth of udelays */
 

Functions

charkdb_getstr (char *buffer, size_t bufsize, char *prompt)
 
int vkdb_printf (const char *fmt, va_list ap)
 
int kdb_printf (const char *fmt,...)
 
 EXPORT_SYMBOL_GPL (kdb_printf)
 

Variables

char kdb_prompt_str [CMD_BUFLEN]
 
int kdb_trap_printk
 

Macro Definition Documentation

#define CMD_BUFLEN   256

Definition at line 29 of file kdb_io.c.

#define ESCAPE_DELAY   (2*1000000/ESCAPE_UDELAY) /* 2 seconds worth of udelays */
#define ESCAPE_UDELAY   1000

Function Documentation

EXPORT_SYMBOL_GPL ( kdb_printf  )
char* kdb_getstr ( char buffer,
size_t  bufsize,
char prompt 
)

Definition at line 442 of file kdb_io.c.

int kdb_printf ( const char fmt,
  ... 
)

Definition at line 841 of file kdb_io.c.

int vkdb_printf ( const char fmt,
va_list  ap 
)

Definition at line 551 of file kdb_io.c.

Variable Documentation

char kdb_prompt_str[CMD_BUFLEN]

Definition at line 30 of file kdb_io.c.

int kdb_trap_printk

Definition at line 32 of file kdb_io.c.