Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

sparc/ap1000/kgdb.c File Reference

#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/malloc.h>
#include <asm/ap1000/apservice.h>
#include <asm/ap1000/apreg.h>

Include dependency graph for sparc/ap1000/kgdb.c:

Go to the source code of this file.

Functions

void ap_dbg_flush (void)
void putDebugChar (char c)
char getDebugChar (void)

Variables

static char out_buf [0x100]
static int out_buf_pos = 0
static char in_buf [0x100]
static int in_buf_pos = 0
static int in_buf_count = 0
static int hash_pos = -1


Function Documentation

void ap_dbg_flush void   ) 
 

Definition at line 25 of file sparc/ap1000/kgdb.c.

References cap_request::cid, hash_pos, cap_request::header, HOST_CID, MAKE_HEADER, mpp_cid(), out_buf, out_buf_pos, REQ_PUTDEBUGSTRING, cap_request::size, cap_request::type, and write_bif_polled().

Referenced by ap_clear_clock_irq(), getDebugChar(), and putDebugChar().

Here is the call graph for this function:

char getDebugChar void   ) 
 

Definition at line 54 of file sparc/ap1000/kgdb.c.

void putDebugChar char  c  ) 
 

Definition at line 43 of file sparc/ap1000/kgdb.c.


Variable Documentation

int hash_pos = -1 [static]
 

Definition at line 23 of file sparc/ap1000/kgdb.c.

Referenced by affs_readdir(), ap_dbg_flush(), and putDebugChar().

char in_buf[0x100] [static]
 

Definition at line 19 of file sparc/ap1000/kgdb.c.

Referenced by getDebugChar().

int in_buf_count = 0 [static]
 

Definition at line 21 of file sparc/ap1000/kgdb.c.

Referenced by getDebugChar().

int in_buf_pos = 0 [static]
 

Definition at line 20 of file sparc/ap1000/kgdb.c.

Referenced by getDebugChar().

char out_buf[0x100] [static]
 

Definition at line 16 of file sparc/ap1000/kgdb.c.

Referenced by ap_dbg_flush(), and putDebugChar().

int out_buf_pos = 0 [static]
 

Definition at line 17 of file sparc/ap1000/kgdb.c.

Referenced by ap_dbg_flush(), and putDebugChar().