arm_gdbstub_callback.h File Reference

Data Structures

Defines

Enumerations

Functions


Define Documentation

#define CALLBACK_EXSIST   (cmdCallbackContainer.numberOfCBentrys > 0)

Enumeration Type Documentation

enum pendingACT

Callback Actions

Enumerator:
CB_ACTION_NON 
CB_ACTION_INPROCESS 
CB_ACTION_TERMINATE 
CB_ACTION_ERROR 
CB_ACTION_VERIFY 
CB_ACTION_VERIFY_INPROCESS 

verify | inprocess

CB_ACTION_VERIFY_EQUAL 

verify | terminate (-> no error)

CB_ACTION_VERIFY_DIFF 

verify | terminate | error

CB_ACTION_PROGRAM 
CB_ACTION_PROGRAM_INPROCESS 

program | inprocess

CB_ACTION_PROGRAM_SUCCEED 

program | terminate (-> no error)

CB_ACTION_PROGRAM_FAIL 

program | terminate | error

CB_ACTION_ERASE 
CB_ACTION_ERASE_INPROCESS 

erase | inprocess

CB_ACTION_ERASE_SUCCEED 

erase | terminate (-> no error)

CB_ACTION_ERASE_FAIL 

erase | terminate | error

CB_ACTION_MEMMAPINFO 
CB_ACTION_MEMMAPINFO_INPROCESS 

memMapInfo | inprocess

CB_ACTION_MEMMAPINFO_SUCCEED 

memMapInfo | terminate (-> no error)

CB_ACTION_MEMMAPINFO_FAIL 

memMapInfo | terminate | error


Function Documentation

void inQueueCmdCallbackEntry ( struct cmdCallbackEntry entry,
int(*)(int arg, int cnt, struct context *context)  fntCB,
int  argSrc,
int  cntSrc,
struct context *  contextSrc,
int  contextSize 
)

Append a callback entry at the end of a list.
Also update a copy of all entry elements needed for later callback.
(if a context exist, then allocate a new buffer and copy all elements to it)

Parameters:
entry pointer to callback entry
fntCB function that should be called
argSrc first functions argument
cntSrc second functions argument
contextSrc last functions argument (pointer to more data)
contextSize size of additional context data
Returns:
-

References cmdCallbackEntry::arg, cmdCallbackEntry::cnt, cmdCallbackEntry::context, cmdCallbackEntry::fntCB, cmdCallbackEntry::nextCBentry, and cmdCallbackEntry::prevCBentry.

Referenced by activateMemCleanUp(), checkFlashCB_read_sector(), eraseFlashCB_sector(), ftdiBlink(), ftdiBlinkStopCB(), gdb_flash_auto_programming(), gdb_monitor_Rcmd(), memCleanUpCB(), printmemMapCB_info(), programFlashCB_write_sector(), and verifyFlashCB_read_sector().

struct cmdCallbackEntry* deQueueCmdCallbackEntry ( void   )  [read]

collect first entry from list and remove it from the list.

Parameters:
- 
Returns:
pointer to first callback entry (or NULL)

References cmdCallbackEntry::nextCBentry, and cmdCallbackEntry::prevCBentry.

Referenced by doCallback(), and removeAllCallbacks().


This file is part of the documentation for JTAG-GDB Server for ARM .

Generated on Mon Feb 15 21:23:21 2010 by doxygen 1.6.2.