Linux Kernel
3.7.1
|
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/serial_reg.h>
#include <linux/start_kernel.h>
#include <asm/serial-regs.h>
#include <asm/timer-regs.h>
#include <asm/irc-regs.h>
#include <asm/gdb-stub.h>
#include "gdb-io.h"
Go to the source code of this file.
Macros | |
#define | __UART0(X) (*(volatile uint8_t *)(UART0_BASE + (UART_##X))) |
#define | LSR_WAIT_FOR0(STATE) |
#define | FLOWCTL_QUERY0(LINE) ({ __UART0(MSR) & UART_MSR_##LINE; }) |
#define | FLOWCTL_CLEAR0(LINE) do { __UART0(MCR) &= ~UART_MCR_##LINE; } while (0) |
#define | FLOWCTL_SET0(LINE) do { __UART0(MCR) |= UART_MCR_##LINE; } while (0) |
#define | FLOWCTL_WAIT_FOR0(LINE) |
Functions | |
asmlinkage void | debug_stub (void) |
void | debug_stub_exit (int status) |
void | debug_to_serial (const char *p, int n) |
void | debug_to_serial2 (const char *fmt,...) |
void __init | console_set_baud (unsigned baud) |
int __init | console_get_baud (void) |
void | __debug_bug_printk (const char *file, unsigned line) |
Variables | |
struct frv_debug_status | __debug_status |
#define __UART0 | ( | X | ) | (*(volatile uint8_t *)(UART0_BASE + (UART_##X))) |
Definition at line 27 of file debug-stub.c.
Definition at line 34 of file debug-stub.c.
Definition at line 33 of file debug-stub.c.
Definition at line 35 of file debug-stub.c.
#define FLOWCTL_WAIT_FOR0 | ( | LINE | ) |
Definition at line 37 of file debug-stub.c.
#define LSR_WAIT_FOR0 | ( | STATE | ) |
Definition at line 29 of file debug-stub.c.
Definition at line 253 of file debug-stub.c.
Definition at line 232 of file debug-stub.c.
Definition at line 201 of file debug-stub.c.
asmlinkage void debug_stub | ( | void | ) |
Definition at line 52 of file debug-stub.c.
Definition at line 142 of file debug-stub.c.
Definition at line 183 of file debug-stub.c.
struct frv_debug_status __debug_status |
Definition at line 42 of file debug-stub.c.