Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
rt_trace_defs.h File Reference

Go to the source code of this file.

Data Structures

struct  reg_rt_trace_rw_cfg
 
struct  reg_rt_trace_rw_tap_ctrl
 
struct  reg_rt_trace_r_tap_stat
 
struct  reg_rt_trace_rw_tap_hdata
 

Macros

#define REG_RD(scope, inst, reg)
 
#define REG_WR(scope, inst, reg, val)
 
#define REG_RD_VECT(scope, inst, reg, index)
 
#define REG_WR_VECT(scope, inst, reg, index, val)
 
#define REG_RD_INT(scope, inst, reg)   REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg )
 
#define REG_WR_INT(scope, inst, reg, val)   REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) )
 
#define REG_RD_INT_VECT(scope, inst, reg, index)
 
#define REG_WR_INT_VECT(scope, inst, reg, index, val)
 
#define REG_TYPE_CONV(type, orgtype, val)   ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
 
#define reg_page_size   8192
 
#define REG_ADDR(scope, inst, reg)   ( (inst) + REG_RD_ADDR_##scope##_##reg )
 
#define REG_ADDR_VECT(scope, inst, reg, index)
 
#define REG_RD_ADDR_rt_trace_rw_cfg   0
 
#define REG_WR_ADDR_rt_trace_rw_cfg   0
 
#define REG_RD_ADDR_rt_trace_rw_tap_ctrl   4
 
#define REG_WR_ADDR_rt_trace_rw_tap_ctrl   4
 
#define REG_RD_ADDR_rt_trace_r_tap_stat   8
 
#define REG_RD_ADDR_rt_trace_rw_tap_data   12
 
#define REG_WR_ADDR_rt_trace_rw_tap_data   12
 
#define REG_RD_ADDR_rt_trace_rw_tap_hdata   16
 
#define REG_WR_ADDR_rt_trace_rw_tap_hdata   16
 
#define REG_RD_ADDR_rt_trace_r_redir   20
 

Typedefs

typedef unsigned int reg_rt_trace_rw_tap_data
 
typedef unsigned int reg_rt_trace_r_redir
 

Enumerations

enum  {
  regk_rt_trace_brk = 0x0000000c, regk_rt_trace_dbg = 0x00000003, regk_rt_trace_dbgdi = 0x00000004, regk_rt_trace_dbgdo = 0x00000005,
  regk_rt_trace_gmode = 0x00000000, regk_rt_trace_no = 0x00000000, regk_rt_trace_nop = 0x00000000, regk_rt_trace_normal = 0x00000000,
  regk_rt_trace_rdmem = 0x00000007, regk_rt_trace_rdmemb = 0x00000009, regk_rt_trace_rdpreg = 0x00000002, regk_rt_trace_rdreg = 0x00000001,
  regk_rt_trace_rdsreg = 0x00000003, regk_rt_trace_redir = 0x00000006, regk_rt_trace_ret = 0x0000000b, regk_rt_trace_rw_cfg_default = 0x00000000,
  regk_rt_trace_trcfg = 0x00000001, regk_rt_trace_wp = 0x00000001, regk_rt_trace_wp0 = 0x00000001, regk_rt_trace_wp1 = 0x00000002,
  regk_rt_trace_wp2 = 0x00000004, regk_rt_trace_wp3 = 0x00000008, regk_rt_trace_wp4 = 0x00000010, regk_rt_trace_wp5 = 0x00000020,
  regk_rt_trace_wp6 = 0x00000040, regk_rt_trace_wrmem = 0x00000008, regk_rt_trace_wrmemb = 0x0000000a, regk_rt_trace_wrpreg = 0x00000005,
  regk_rt_trace_wrreg = 0x00000004, regk_rt_trace_wrsreg = 0x00000006, regk_rt_trace_yes = 0x00000001
}
 

Macro Definition Documentation

#define REG_ADDR (   scope,
  inst,
  reg 
)    ( (inst) + REG_RD_ADDR_##scope##_##reg )

Definition at line 75 of file rt_trace_defs.h.

#define REG_ADDR_VECT (   scope,
  inst,
  reg,
  index 
)
Value:
( (inst) + REG_RD_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg )

Definition at line 80 of file rt_trace_defs.h.

#define reg_page_size   8192

Definition at line 71 of file rt_trace_defs.h.

#define REG_RD (   scope,
  inst,
  reg 
)
Value:
REG_READ( reg_##scope##_##reg, \
(inst) + REG_RD_ADDR_##scope##_##reg )

Definition at line 18 of file rt_trace_defs.h.

#define REG_RD_ADDR_rt_trace_r_redir   20

Definition at line 136 of file rt_trace_defs.h.

#define REG_RD_ADDR_rt_trace_r_tap_stat   8

Definition at line 118 of file rt_trace_defs.h.

#define REG_RD_ADDR_rt_trace_rw_cfg   0

Definition at line 100 of file rt_trace_defs.h.

#define REG_RD_ADDR_rt_trace_rw_tap_ctrl   4

Definition at line 109 of file rt_trace_defs.h.

#define REG_RD_ADDR_rt_trace_rw_tap_data   12

Definition at line 122 of file rt_trace_defs.h.

#define REG_RD_ADDR_rt_trace_rw_tap_hdata   16

Definition at line 131 of file rt_trace_defs.h.

#define REG_RD_INT (   scope,
  inst,
  reg 
)    REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg )

Definition at line 44 of file rt_trace_defs.h.

#define REG_RD_INT_VECT (   scope,
  inst,
  reg,
  index 
)
Value:
REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg )

Definition at line 54 of file rt_trace_defs.h.

#define REG_RD_VECT (   scope,
  inst,
  reg,
  index 
)
Value:
REG_READ( reg_##scope##_##reg, \
(inst) + REG_RD_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg )

Definition at line 30 of file rt_trace_defs.h.

#define REG_TYPE_CONV (   type,
  orgtype,
  val 
)    ( { union { orgtype o; type n; } r; r.o = val; r.n; } )

Definition at line 66 of file rt_trace_defs.h.

#define REG_WR (   scope,
  inst,
  reg,
  val 
)
Value:
REG_WRITE( reg_##scope##_##reg, \
(inst) + REG_WR_ADDR_##scope##_##reg, (val) )

Definition at line 24 of file rt_trace_defs.h.

#define REG_WR_ADDR_rt_trace_rw_cfg   0

Definition at line 101 of file rt_trace_defs.h.

#define REG_WR_ADDR_rt_trace_rw_tap_ctrl   4

Definition at line 110 of file rt_trace_defs.h.

#define REG_WR_ADDR_rt_trace_rw_tap_data   12

Definition at line 123 of file rt_trace_defs.h.

#define REG_WR_ADDR_rt_trace_rw_tap_hdata   16

Definition at line 132 of file rt_trace_defs.h.

#define REG_WR_INT (   scope,
  inst,
  reg,
  val 
)    REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) )

Definition at line 49 of file rt_trace_defs.h.

#define REG_WR_INT_VECT (   scope,
  inst,
  reg,
  index,
  val 
)
Value:
REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg, (val) )

Definition at line 60 of file rt_trace_defs.h.

#define REG_WR_VECT (   scope,
  inst,
  reg,
  index,
  val 
)
Value:
REG_WRITE( reg_##scope##_##reg, \
(inst) + REG_WR_ADDR_##scope##_##reg + \
(index) * STRIDE_##scope##_##reg, (val) )

Definition at line 37 of file rt_trace_defs.h.

Typedef Documentation

typedef unsigned int reg_rt_trace_r_redir

Definition at line 135 of file rt_trace_defs.h.

typedef unsigned int reg_rt_trace_rw_tap_data

Definition at line 121 of file rt_trace_defs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
regk_rt_trace_brk 
regk_rt_trace_dbg 
regk_rt_trace_dbgdi 
regk_rt_trace_dbgdo 
regk_rt_trace_gmode 
regk_rt_trace_no 
regk_rt_trace_nop 
regk_rt_trace_normal 
regk_rt_trace_rdmem 
regk_rt_trace_rdmemb 
regk_rt_trace_rdpreg 
regk_rt_trace_rdreg 
regk_rt_trace_rdsreg 
regk_rt_trace_redir 
regk_rt_trace_ret 
regk_rt_trace_rw_cfg_default 
regk_rt_trace_trcfg 
regk_rt_trace_wp 
regk_rt_trace_wp0 
regk_rt_trace_wp1 
regk_rt_trace_wp2 
regk_rt_trace_wp3 
regk_rt_trace_wp4 
regk_rt_trace_wp5 
regk_rt_trace_wp6 
regk_rt_trace_wrmem 
regk_rt_trace_wrmemb 
regk_rt_trace_wrpreg 
regk_rt_trace_wrreg 
regk_rt_trace_wrsreg 
regk_rt_trace_yes 

Definition at line 140 of file rt_trace_defs.h.