OpenOCD
xscale.h File Reference
Include dependency graph for xscale.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  xscale_common
 
struct  xscale_reg
 
struct  xscale_trace
 
struct  xscale_trace_data
 
struct  xscale_trace_entry
 

Macros

#define DCSR_TA   (1 << 19)
 
#define DCSR_TD   (1 << 20)
 
#define DCSR_TF   (1 << 23)
 
#define DCSR_TI   (1 << 22)
 
#define DCSR_TR   (1 << 16)
 
#define DCSR_TRAP_MASK    (DCSR_TF | DCSR_TI | DCSR_TD | DCSR_TA | DCSR_TS | DCSR_TU | DCSR_TR)
 
#define DCSR_TS   (1 << 18)
 
#define DCSR_TU   (1 << 17)
 
#define ERROR_XSCALE_NO_TRACE_DATA   (-700)
 
#define XSCALE_COMMON_MAGIC   0x58534341U
 
#define XSCALE_DBGRX   0x02
 
#define XSCALE_DBGTX   0x10
 
#define XSCALE_IXP4XX_PXA2XX   0x0
 
#define XSCALE_LDIC   0x07
 
#define XSCALE_PXA3XX   0x4
 
#define XSCALE_SELDCSR   0x09
 

Enumerations

enum  {
  XSCALE_MAINID , XSCALE_CACHETYPE , XSCALE_CTRL , XSCALE_AUXCTRL ,
  XSCALE_TTB , XSCALE_DAC , XSCALE_FSR , XSCALE_FAR ,
  XSCALE_PID , XSCALE_CPACCESS , XSCALE_IBCR0 , XSCALE_IBCR1 ,
  XSCALE_DBR0 , XSCALE_DBR1 , XSCALE_DBCON , XSCALE_TBREG ,
  XSCALE_CHKPT0 , XSCALE_CHKPT1 , XSCALE_DCSR , XSCALE_TX ,
  XSCALE_RX , XSCALE_TXRXCTRL
}
 
enum  trace_mode { XSCALE_TRACE_DISABLED , XSCALE_TRACE_FILL , XSCALE_TRACE_WRAP }
 
enum  xscale_debug_reason { XSCALE_DBG_REASON_GENERIC , XSCALE_DBG_REASON_RESET , XSCALE_DBG_REASON_TB_FULL }
 
enum  xscale_trace_entry_type { XSCALE_TRACE_MESSAGE = 0x0 , XSCALE_TRACE_ADDRESS = 0x1 }
 

Functions

static struct xscale_commontarget_to_xscale (struct target *target)
 

Macro Definition Documentation

◆ DCSR_TA

#define DCSR_TA   (1 << 19)

Definition at line 170 of file xscale.h.

◆ DCSR_TD

#define DCSR_TD   (1 << 20)

Definition at line 171 of file xscale.h.

◆ DCSR_TF

#define DCSR_TF   (1 << 23)

Definition at line 173 of file xscale.h.

◆ DCSR_TI

#define DCSR_TI   (1 << 22)

Definition at line 172 of file xscale.h.

◆ DCSR_TR

#define DCSR_TR   (1 << 16)

Definition at line 167 of file xscale.h.

◆ DCSR_TRAP_MASK

#define DCSR_TRAP_MASK    (DCSR_TF | DCSR_TI | DCSR_TD | DCSR_TA | DCSR_TS | DCSR_TU | DCSR_TR)

Definition at line 174 of file xscale.h.

◆ DCSR_TS

#define DCSR_TS   (1 << 18)

Definition at line 169 of file xscale.h.

◆ DCSR_TU

#define DCSR_TU   (1 << 17)

Definition at line 168 of file xscale.h.

◆ ERROR_XSCALE_NO_TRACE_DATA

#define ERROR_XSCALE_NO_TRACE_DATA   (-700)

Definition at line 164 of file xscale.h.

◆ XSCALE_COMMON_MAGIC

#define XSCALE_COMMON_MAGIC   0x58534341U

Definition at line 18 of file xscale.h.

◆ XSCALE_DBGRX

#define XSCALE_DBGRX   0x02

Definition at line 23 of file xscale.h.

◆ XSCALE_DBGTX

#define XSCALE_DBGTX   0x10

Definition at line 24 of file xscale.h.

◆ XSCALE_IXP4XX_PXA2XX

#define XSCALE_IXP4XX_PXA2XX   0x0

Definition at line 29 of file xscale.h.

◆ XSCALE_LDIC

#define XSCALE_LDIC   0x07

Definition at line 25 of file xscale.h.

◆ XSCALE_PXA3XX

#define XSCALE_PXA3XX   0x4

Definition at line 30 of file xscale.h.

◆ XSCALE_SELDCSR

#define XSCALE_SELDCSR   0x09

Definition at line 26 of file xscale.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
XSCALE_MAINID 
XSCALE_CACHETYPE 
XSCALE_CTRL 
XSCALE_AUXCTRL 
XSCALE_TTB 
XSCALE_DAC 
XSCALE_FSR 
XSCALE_FAR 
XSCALE_PID 
XSCALE_CPACCESS 
XSCALE_IBCR0 
XSCALE_IBCR1 
XSCALE_DBR0 
XSCALE_DBR1 
XSCALE_DBCON 
XSCALE_TBREG 
XSCALE_CHKPT0 
XSCALE_CHKPT1 
XSCALE_DCSR 
XSCALE_TX 
XSCALE_RX 
XSCALE_TXRXCTRL 

Definition at line 139 of file xscale.h.

◆ trace_mode

enum trace_mode
Enumerator
XSCALE_TRACE_DISABLED 
XSCALE_TRACE_FILL 
XSCALE_TRACE_WRAP 

Definition at line 58 of file xscale.h.

◆ xscale_debug_reason

Enumerator
XSCALE_DBG_REASON_GENERIC 
XSCALE_DBG_REASON_RESET 
XSCALE_DBG_REASON_TB_FULL 

Definition at line 32 of file xscale.h.

◆ xscale_trace_entry_type

Enumerator
XSCALE_TRACE_MESSAGE 
XSCALE_TRACE_ADDRESS 

Definition at line 38 of file xscale.h.

Function Documentation

◆ target_to_xscale()