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

Go to the source code of this file.

Macros

#define OCD_DID   0x0000 /* Device ID */
 
#define OCD_DC   0x0008 /* Development Control */
 
#define OCD_DS   0x0010 /* Development Status */
 
#define OCD_RWCS   0x001c /* R/W Access Control */
 
#define OCD_RWA   0x0024 /* R/W Access Address */
 
#define OCD_RWD   0x0028 /* R/W Access Data */
 
#define OCD_WT   0x002c /* Watchpoint Trigger */
 
#define OCD_DTC   0x0034 /* Data Trace Control */
 
#define OCD_DTSA0   0x0038 /* DT Start Addr Channel 0 */
 
#define OCD_DTSA1   0x003c /* DT Start Addr Channel 1 */
 
#define OCD_DTEA0   0x0048 /* DT End Addr Channel 0 */
 
#define OCD_DTEA1   0x004c /* DT End Addr Channel 1 */
 
#define OCD_BWC0A   0x0058 /* PC BP/WP Control 0A */
 
#define OCD_BWC0B   0x005c /* PC BP/WP Control 0B */
 
#define OCD_BWC1A   0x0060 /* PC BP/WP Control 1A */
 
#define OCD_BWC1B   0x0064 /* PC BP/WP Control 1B */
 
#define OCD_BWC2A   0x0068 /* PC BP/WP Control 2A */
 
#define OCD_BWC2B   0x006c /* PC BP/WP Control 2B */
 
#define OCD_BWC3A   0x0070 /* Data BP/WP Control 3A */
 
#define OCD_BWC3B   0x0074 /* Data BP/WP Control 3B */
 
#define OCD_BWA0A   0x0078 /* PC BP/WP Address 0A */
 
#define OCD_BWA0B   0x007c /* PC BP/WP Address 0B */
 
#define OCD_BWA1A   0x0080 /* PC BP/WP Address 1A */
 
#define OCD_BWA1B   0x0084 /* PC BP/WP Address 1B */
 
#define OCD_BWA2A   0x0088 /* PC BP/WP Address 2A */
 
#define OCD_BWA2B   0x008c /* PC BP/WP Address 2B */
 
#define OCD_BWA3A   0x0090 /* Data BP/WP Address 3A */
 
#define OCD_BWA3B   0x0094 /* Data BP/WP Address 3B */
 
#define OCD_NXCFG   0x0100 /* Nexus Configuration */
 
#define OCD_DINST   0x0104 /* Debug Instruction */
 
#define OCD_DPC   0x0108 /* Debug Program Counter */
 
#define OCD_CPUCM   0x010c /* CPU Control Mask */
 
#define OCD_DCCPU   0x0110 /* Debug Comm CPU */
 
#define OCD_DCEMU   0x0114 /* Debug Comm Emulator */
 
#define OCD_DCSR   0x0118 /* Debug Comm Status */
 
#define OCD_PID   0x011c /* Ownership Trace PID */
 
#define OCD_EPC0   0x0120 /* Event Pair Control 0 */
 
#define OCD_EPC1   0x0124 /* Event Pair Control 1 */
 
#define OCD_EPC2   0x0128 /* Event Pair Control 2 */
 
#define OCD_EPC3   0x012c /* Event Pair Control 3 */
 
#define OCD_AXC   0x0130 /* AUX port Control */
 
#define OCD_DID_MID_START   1
 
#define OCD_DID_MID_SIZE   11
 
#define OCD_DID_PN_START   12
 
#define OCD_DID_PN_SIZE   16
 
#define OCD_DID_RN_START   28
 
#define OCD_DID_RN_SIZE   4
 
#define OCD_DC_TM_START   0
 
#define OCD_DC_TM_SIZE   2
 
#define OCD_DC_EIC_START   3
 
#define OCD_DC_EIC_SIZE   2
 
#define OCD_DC_OVC_START   5
 
#define OCD_DC_OVC_SIZE   3
 
#define OCD_DC_SS_BIT   8
 
#define OCD_DC_DBR_BIT   12
 
#define OCD_DC_DBE_BIT   13
 
#define OCD_DC_EOS_START   20
 
#define OCD_DC_EOS_SIZE   2
 
#define OCD_DC_SQA_BIT   22
 
#define OCD_DC_IRP_BIT   23
 
#define OCD_DC_IFM_BIT   24
 
#define OCD_DC_TOZ_BIT   25
 
#define OCD_DC_TSR_BIT   26
 
#define OCD_DC_RID_BIT   27
 
#define OCD_DC_ORP_BIT   28
 
#define OCD_DC_MM_BIT   29
 
#define OCD_DC_RES_BIT   30
 
#define OCD_DC_ABORT_BIT   31
 
#define OCD_DS_SSS_BIT   0
 
#define OCD_DS_SWB_BIT   1
 
#define OCD_DS_HWB_BIT   2
 
#define OCD_DS_HWE_BIT   3
 
#define OCD_DS_STP_BIT   4
 
#define OCD_DS_DBS_BIT   5
 
#define OCD_DS_BP_START   8
 
#define OCD_DS_BP_SIZE   8
 
#define OCD_DS_INC_BIT   24
 
#define OCD_DS_BOZ_BIT   25
 
#define OCD_DS_DBA_BIT   26
 
#define OCD_DS_EXB_BIT   27
 
#define OCD_DS_NTBF_BIT   28
 
#define OCD_RWCS_DV_BIT   0
 
#define OCD_RWCS_ERR_BIT   1
 
#define OCD_RWCS_CNT_START   2
 
#define OCD_RWCS_CNT_SIZE   14
 
#define OCD_RWCS_CRC_BIT   19
 
#define OCD_RWCS_NTBC_START   20
 
#define OCD_RWCS_NTBC_SIZE   2
 
#define OCD_RWCS_NTE_BIT   22
 
#define OCD_RWCS_NTAP_BIT   23
 
#define OCD_RWCS_WRAPPED_BIT   24
 
#define OCD_RWCS_CCTRL_START   25
 
#define OCD_RWCS_CCTRL_SIZE   2
 
#define OCD_RWCS_SZ_START   27
 
#define OCD_RWCS_SZ_SIZE   3
 
#define OCD_RWCS_RW_BIT   30
 
#define OCD_RWCS_AC_BIT   31
 
#define OCD_RWA_RWA_START   0
 
#define OCD_RWA_RWA_SIZE   32
 
#define OCD_RWD_RWD_START   0
 
#define OCD_RWD_RWD_SIZE   32
 
#define OCD_WT_DTE_START   20
 
#define OCD_WT_DTE_SIZE   3
 
#define OCD_WT_DTS_START   23
 
#define OCD_WT_DTS_SIZE   3
 
#define OCD_WT_PTE_START   26
 
#define OCD_WT_PTE_SIZE   3
 
#define OCD_WT_PTS_START   29
 
#define OCD_WT_PTS_SIZE   3
 
#define OCD_DTC_T0WP_BIT   0
 
#define OCD_DTC_T1WP_BIT   1
 
#define OCD_DTC_ASID0EN_BIT   2
 
#define OCD_DTC_ASID0_START   3
 
#define OCD_DTC_ASID0_SIZE   8
 
#define OCD_DTC_ASID1EN_BIT   11
 
#define OCD_DTC_ASID1_START   12
 
#define OCD_DTC_ASID1_SIZE   8
 
#define OCD_DTC_RWT1_START   28
 
#define OCD_DTC_RWT1_SIZE   2
 
#define OCD_DTC_RWT0_START   30
 
#define OCD_DTC_RWT0_SIZE   2
 
#define OCD_DTSA0_DTSA_START   0
 
#define OCD_DTSA0_DTSA_SIZE   32
 
#define OCD_DTSA1_DTSA_START   0
 
#define OCD_DTSA1_DTSA_SIZE   32
 
#define OCD_DTEA0_DTEA_START   0
 
#define OCD_DTEA0_DTEA_SIZE   32
 
#define OCD_DTEA1_DTEA_START   0
 
#define OCD_DTEA1_DTEA_SIZE   32
 
#define OCD_BWC0A_ASIDEN_BIT   0
 
#define OCD_BWC0A_ASID_START   1
 
#define OCD_BWC0A_ASID_SIZE   8
 
#define OCD_BWC0A_EOC_BIT   14
 
#define OCD_BWC0A_AME_BIT   25
 
#define OCD_BWC0A_BWE_START   30
 
#define OCD_BWC0A_BWE_SIZE   2
 
#define OCD_BWC0B_ASIDEN_BIT   0
 
#define OCD_BWC0B_ASID_START   1
 
#define OCD_BWC0B_ASID_SIZE   8
 
#define OCD_BWC0B_EOC_BIT   14
 
#define OCD_BWC0B_AME_BIT   25
 
#define OCD_BWC0B_BWE_START   30
 
#define OCD_BWC0B_BWE_SIZE   2
 
#define OCD_BWC1A_ASIDEN_BIT   0
 
#define OCD_BWC1A_ASID_START   1
 
#define OCD_BWC1A_ASID_SIZE   8
 
#define OCD_BWC1A_EOC_BIT   14
 
#define OCD_BWC1A_AME_BIT   25
 
#define OCD_BWC1A_BWE_START   30
 
#define OCD_BWC1A_BWE_SIZE   2
 
#define OCD_BWC1B_ASIDEN_BIT   0
 
#define OCD_BWC1B_ASID_START   1
 
#define OCD_BWC1B_ASID_SIZE   8
 
#define OCD_BWC1B_EOC_BIT   14
 
#define OCD_BWC1B_AME_BIT   25
 
#define OCD_BWC1B_BWE_START   30
 
#define OCD_BWC1B_BWE_SIZE   2
 
#define OCD_BWC2A_ASIDEN_BIT   0
 
#define OCD_BWC2A_ASID_START   1
 
#define OCD_BWC2A_ASID_SIZE   8
 
#define OCD_BWC2A_EOC_BIT   14
 
#define OCD_BWC2A_AMB_START   20
 
#define OCD_BWC2A_AMB_SIZE   5
 
#define OCD_BWC2A_AME_BIT   25
 
#define OCD_BWC2A_BWE_START   30
 
#define OCD_BWC2A_BWE_SIZE   2
 
#define OCD_BWC2B_ASIDEN_BIT   0
 
#define OCD_BWC2B_ASID_START   1
 
#define OCD_BWC2B_ASID_SIZE   8
 
#define OCD_BWC2B_EOC_BIT   14
 
#define OCD_BWC2B_AME_BIT   25
 
#define OCD_BWC2B_BWE_START   30
 
#define OCD_BWC2B_BWE_SIZE   2
 
#define OCD_BWC3A_ASIDEN_BIT   0
 
#define OCD_BWC3A_ASID_START   1
 
#define OCD_BWC3A_ASID_SIZE   8
 
#define OCD_BWC3A_SIZE_START   9
 
#define OCD_BWC3A_SIZE_SIZE   3
 
#define OCD_BWC3A_EOC_BIT   14
 
#define OCD_BWC3A_BWO_START   16
 
#define OCD_BWC3A_BWO_SIZE   2
 
#define OCD_BWC3A_BME_START   20
 
#define OCD_BWC3A_BME_SIZE   4
 
#define OCD_BWC3A_BRW_START   28
 
#define OCD_BWC3A_BRW_SIZE   2
 
#define OCD_BWC3A_BWE_START   30
 
#define OCD_BWC3A_BWE_SIZE   2
 
#define OCD_BWC3B_ASIDEN_BIT   0
 
#define OCD_BWC3B_ASID_START   1
 
#define OCD_BWC3B_ASID_SIZE   8
 
#define OCD_BWC3B_SIZE_START   9
 
#define OCD_BWC3B_SIZE_SIZE   3
 
#define OCD_BWC3B_EOC_BIT   14
 
#define OCD_BWC3B_BWO_START   16
 
#define OCD_BWC3B_BWO_SIZE   2
 
#define OCD_BWC3B_BME_START   20
 
#define OCD_BWC3B_BME_SIZE   4
 
#define OCD_BWC3B_BRW_START   28
 
#define OCD_BWC3B_BRW_SIZE   2
 
#define OCD_BWC3B_BWE_START   30
 
#define OCD_BWC3B_BWE_SIZE   2
 
#define OCD_BWA0A_BWA_START   0
 
#define OCD_BWA0A_BWA_SIZE   32
 
#define OCD_BWA0B_BWA_START   0
 
#define OCD_BWA0B_BWA_SIZE   32
 
#define OCD_BWA1A_BWA_START   0
 
#define OCD_BWA1A_BWA_SIZE   32
 
#define OCD_BWA1B_BWA_START   0
 
#define OCD_BWA1B_BWA_SIZE   32
 
#define OCD_BWA2A_BWA_START   0
 
#define OCD_BWA2A_BWA_SIZE   32
 
#define OCD_BWA2B_BWA_START   0
 
#define OCD_BWA2B_BWA_SIZE   32
 
#define OCD_BWA3A_BWA_START   0
 
#define OCD_BWA3A_BWA_SIZE   32
 
#define OCD_BWA3B_BWA_START   0
 
#define OCD_BWA3B_BWA_SIZE   32
 
#define OCD_NXCFG_NXARCH_START   0
 
#define OCD_NXCFG_NXARCH_SIZE   4
 
#define OCD_NXCFG_NXOCD_START   4
 
#define OCD_NXCFG_NXOCD_SIZE   4
 
#define OCD_NXCFG_NXPCB_START   8
 
#define OCD_NXCFG_NXPCB_SIZE   4
 
#define OCD_NXCFG_NXDB_START   12
 
#define OCD_NXCFG_NXDB_SIZE   4
 
#define OCD_NXCFG_MXMSEO_BIT   16
 
#define OCD_NXCFG_NXMDO_START   17
 
#define OCD_NXCFG_NXMDO_SIZE   4
 
#define OCD_NXCFG_NXPT_BIT   21
 
#define OCD_NXCFG_NXOT_BIT   22
 
#define OCD_NXCFG_NXDWT_BIT   23
 
#define OCD_NXCFG_NXDRT_BIT   24
 
#define OCD_NXCFG_NXDTC_START   25
 
#define OCD_NXCFG_NXDTC_SIZE   3
 
#define OCD_NXCFG_NXDMA_BIT   28
 
#define OCD_DINST_DINST_START   0
 
#define OCD_DINST_DINST_SIZE   32
 
#define OCD_CPUCM_BEM_BIT   1
 
#define OCD_CPUCM_FEM_BIT   2
 
#define OCD_CPUCM_REM_BIT   3
 
#define OCD_CPUCM_IBEM_BIT   4
 
#define OCD_CPUCM_IEEM_BIT   5
 
#define OCD_DCCPU_DATA_START   0
 
#define OCD_DCCPU_DATA_SIZE   32
 
#define OCD_DCEMU_DATA_START   0
 
#define OCD_DCEMU_DATA_SIZE   32
 
#define OCD_DCSR_CPUD_BIT   0
 
#define OCD_DCSR_EMUD_BIT   1
 
#define OCD_PID_PROCESS_START   0
 
#define OCD_PID_PROCESS_SIZE   32
 
#define OCD_EPC0_RNG_START   0
 
#define OCD_EPC0_RNG_SIZE   2
 
#define OCD_EPC0_CE_BIT   4
 
#define OCD_EPC0_ECNT_START   16
 
#define OCD_EPC0_ECNT_SIZE   16
 
#define OCD_EPC1_RNG_START   0
 
#define OCD_EPC1_RNG_SIZE   2
 
#define OCD_EPC1_ATB_BIT   5
 
#define OCD_EPC1_AM_BIT   6
 
#define OCD_EPC2_RNG_START   0
 
#define OCD_EPC2_RNG_SIZE   2
 
#define OCD_EPC2_DB_START   2
 
#define OCD_EPC2_DB_SIZE   2
 
#define OCD_EPC3_RNG_START   0
 
#define OCD_EPC3_RNG_SIZE   2
 
#define OCD_EPC3_DWE_BIT   2
 
#define OCD_AXC_DIV_START   0
 
#define OCD_AXC_DIV_SIZE   4
 
#define OCD_AXC_AXE_BIT   8
 
#define OCD_AXC_AXS_BIT   9
 
#define OCD_AXC_DDR_BIT   10
 
#define OCD_AXC_LS_BIT   11
 
#define OCD_AXC_REX_BIT   12
 
#define OCD_AXC_REXTEN_BIT   13
 
#define OCD_EIC_PROGRAM_AND_DATA_TRACE   0
 
#define OCD_EIC_BREAKPOINT   1
 
#define OCD_EIC_NOP   2
 
#define OCD_OVC_OVERRUN   0
 
#define OCD_OVC_DELAY_CPU_BTM   1
 
#define OCD_OVC_DELAY_CPU_DTM   2
 
#define OCD_OVC_DELAY_CPU_BTM_DTM   3
 
#define OCD_EOS_NOP   0
 
#define OCD_EOS_DEBUG_MODE   1
 
#define OCD_EOS_BREAKPOINT_WATCHPOINT   2
 
#define OCD_EOS_THQ   3
 
#define OCD_NTBC_OVERWRITE   0
 
#define OCD_NTBC_DISABLE   1
 
#define OCD_NTBC_BREAKPOINT   2
 
#define OCD_CCTRL_AUTO   0
 
#define OCD_CCTRL_CACHED   1
 
#define OCD_CCTRL_UNCACHED   2
 
#define OCD_SZ_BYTE   0
 
#define OCD_SZ_HALFWORD   1
 
#define OCD_SZ_WORD   2
 
#define OCD_PTS_DISABLED   0
 
#define OCD_PTS_PROGRAM_0B   1
 
#define OCD_PTS_PROGRAM_1A   2
 
#define OCD_PTS_PROGRAM_1B   3
 
#define OCD_PTS_PROGRAM_2A   4
 
#define OCD_PTS_PROGRAM_2B   5
 
#define OCD_PTS_DATA_3A   6
 
#define OCD_PTS_DATA_3B   7
 
#define OCD_RWT1_NO_TRACE   0
 
#define OCD_RWT1_DATA_READ   1
 
#define OCD_RWT1_DATA_WRITE   2
 
#define OCD_RWT1_DATA_READ_WRITE   3
 
#define OCD_RWT0_NO_TRACE   0
 
#define OCD_RWT0_DATA_READ   1
 
#define OCD_RWT0_DATA_WRITE   2
 
#define OCD_RWT0_DATA_READ_WRITE   3
 
#define OCD_BWE_DISABLED   0
 
#define OCD_BWE_BREAKPOINT_ENABLED   1
 
#define OCD_BWE_WATCHPOINT_ENABLED   3
 
#define OCD_BWE_DISABLED   0
 
#define OCD_BWE_BREAKPOINT_ENABLED   1
 
#define OCD_BWE_WATCHPOINT_ENABLED   3
 
#define OCD_BWE_DISABLED   0
 
#define OCD_BWE_BREAKPOINT_ENABLED   1
 
#define OCD_BWE_WATCHPOINT_ENABLED   3
 
#define OCD_BWE_DISABLED   0
 
#define OCD_BWE_BREAKPOINT_ENABLED   1
 
#define OCD_BWE_WATCHPOINT_ENABLED   3
 
#define OCD_BWE_DISABLED   0
 
#define OCD_BWE_BREAKPOINT_ENABLED   1
 
#define OCD_BWE_WATCHPOINT_ENABLED   3
 
#define OCD_BWE_DISABLED   0
 
#define OCD_BWE_BREAKPOINT_ENABLED   1
 
#define OCD_BWE_WATCHPOINT_ENABLED   3
 
#define OCD_SIZE_BYTE_ACCESS   4
 
#define OCD_SIZE_HALFWORD_ACCESS   5
 
#define OCD_SIZE_WORD_ACCESS   6
 
#define OCD_SIZE_DOUBLE_WORD_ACCESS   7
 
#define OCD_BRW_READ_BREAK   0
 
#define OCD_BRW_WRITE_BREAK   1
 
#define OCD_BRW_ANY_ACCES_BREAK   2
 
#define OCD_BWE_DISABLED   0
 
#define OCD_BWE_BREAKPOINT_ENABLED   1
 
#define OCD_BWE_WATCHPOINT_ENABLED   3
 
#define OCD_SIZE_BYTE_ACCESS   4
 
#define OCD_SIZE_HALFWORD_ACCESS   5
 
#define OCD_SIZE_WORD_ACCESS   6
 
#define OCD_SIZE_DOUBLE_WORD_ACCESS   7
 
#define OCD_BRW_READ_BREAK   0
 
#define OCD_BRW_WRITE_BREAK   1
 
#define OCD_BRW_ANY_ACCES_BREAK   2
 
#define OCD_BWE_DISABLED   0
 
#define OCD_BWE_BREAKPOINT_ENABLED   1
 
#define OCD_BWE_WATCHPOINT_ENABLED   3
 
#define OCD_RNG_DISABLED   0
 
#define OCD_RNG_EXCLUSIVE   1
 
#define OCD_RNG_INCLUSIVE   2
 
#define OCD_RNG_DISABLED   0
 
#define OCD_RNG_EXCLUSIVE   1
 
#define OCD_RNG_INCLUSIVE   2
 
#define OCD_RNG_DISABLED   0
 
#define OCD_RNG_EXCLUSIVE   1
 
#define OCD_RNG_INCLUSIVE   2
 
#define OCD_DB_DISABLED   0
 
#define OCD_DB_CHAINED_B   1
 
#define OCD_DB_CHAINED_A   2
 
#define OCD_DB_AHAINED_A_AND_B   3
 
#define OCD_RNG_DISABLED   0
 
#define OCD_RNG_EXCLUSIVE   1
 
#define OCD_RNG_INCLUSIVE   2
 
#define ocd_read(reg)   __ocd_read(OCD_##reg)
 
#define ocd_write(reg, value)   __ocd_write(OCD_##reg, value)
 

Functions

void ocd_enable (struct task_struct *child)
 
void ocd_disable (struct task_struct *child)
 

Macro Definition Documentation

#define OCD_AXC   0x0130 /* AUX port Control */

Definition at line 63 of file ocd.h.

#define OCD_AXC_AXE_BIT   8

Definition at line 371 of file ocd.h.

#define OCD_AXC_AXS_BIT   9

Definition at line 372 of file ocd.h.

#define OCD_AXC_DDR_BIT   10

Definition at line 373 of file ocd.h.

#define OCD_AXC_DIV_SIZE   4

Definition at line 370 of file ocd.h.

#define OCD_AXC_DIV_START   0

Definition at line 369 of file ocd.h.

#define OCD_AXC_LS_BIT   11

Definition at line 374 of file ocd.h.

#define OCD_AXC_REX_BIT   12

Definition at line 375 of file ocd.h.

#define OCD_AXC_REXTEN_BIT   13

Definition at line 376 of file ocd.h.

#define OCD_BRW_ANY_ACCES_BREAK   2

Definition at line 487 of file ocd.h.

#define OCD_BRW_ANY_ACCES_BREAK   2

Definition at line 487 of file ocd.h.

#define OCD_BRW_READ_BREAK   0

Definition at line 485 of file ocd.h.

#define OCD_BRW_READ_BREAK   0

Definition at line 485 of file ocd.h.

#define OCD_BRW_WRITE_BREAK   1

Definition at line 486 of file ocd.h.

#define OCD_BRW_WRITE_BREAK   1

Definition at line 486 of file ocd.h.

#define OCD_BWA0A   0x0078 /* PC BP/WP Address 0A */

Definition at line 43 of file ocd.h.

#define OCD_BWA0A_BWA_SIZE   32

Definition at line 267 of file ocd.h.

#define OCD_BWA0A_BWA_START   0

Definition at line 266 of file ocd.h.

#define OCD_BWA0B   0x007c /* PC BP/WP Address 0B */

Definition at line 44 of file ocd.h.

#define OCD_BWA0B_BWA_SIZE   32

Definition at line 271 of file ocd.h.

#define OCD_BWA0B_BWA_START   0

Definition at line 270 of file ocd.h.

#define OCD_BWA1A   0x0080 /* PC BP/WP Address 1A */

Definition at line 45 of file ocd.h.

#define OCD_BWA1A_BWA_SIZE   32

Definition at line 275 of file ocd.h.

#define OCD_BWA1A_BWA_START   0

Definition at line 274 of file ocd.h.

#define OCD_BWA1B   0x0084 /* PC BP/WP Address 1B */

Definition at line 46 of file ocd.h.

#define OCD_BWA1B_BWA_SIZE   32

Definition at line 279 of file ocd.h.

#define OCD_BWA1B_BWA_START   0

Definition at line 278 of file ocd.h.

#define OCD_BWA2A   0x0088 /* PC BP/WP Address 2A */

Definition at line 47 of file ocd.h.

#define OCD_BWA2A_BWA_SIZE   32

Definition at line 283 of file ocd.h.

#define OCD_BWA2A_BWA_START   0

Definition at line 282 of file ocd.h.

#define OCD_BWA2B   0x008c /* PC BP/WP Address 2B */

Definition at line 48 of file ocd.h.

#define OCD_BWA2B_BWA_SIZE   32

Definition at line 287 of file ocd.h.

#define OCD_BWA2B_BWA_START   0

Definition at line 286 of file ocd.h.

#define OCD_BWA3A   0x0090 /* Data BP/WP Address 3A */

Definition at line 49 of file ocd.h.

#define OCD_BWA3A_BWA_SIZE   32

Definition at line 291 of file ocd.h.

#define OCD_BWA3A_BWA_START   0

Definition at line 290 of file ocd.h.

#define OCD_BWA3B   0x0094 /* Data BP/WP Address 3B */

Definition at line 50 of file ocd.h.

#define OCD_BWA3B_BWA_SIZE   32

Definition at line 295 of file ocd.h.

#define OCD_BWA3B_BWA_START   0

Definition at line 294 of file ocd.h.

#define OCD_BWC0A   0x0058 /* PC BP/WP Control 0A */

Definition at line 35 of file ocd.h.

#define OCD_BWC0A_AME_BIT   25

Definition at line 182 of file ocd.h.

#define OCD_BWC0A_ASID_SIZE   8

Definition at line 180 of file ocd.h.

#define OCD_BWC0A_ASID_START   1

Definition at line 179 of file ocd.h.

#define OCD_BWC0A_ASIDEN_BIT   0

Definition at line 178 of file ocd.h.

#define OCD_BWC0A_BWE_SIZE   2

Definition at line 184 of file ocd.h.

#define OCD_BWC0A_BWE_START   30

Definition at line 183 of file ocd.h.

#define OCD_BWC0A_EOC_BIT   14

Definition at line 181 of file ocd.h.

#define OCD_BWC0B   0x005c /* PC BP/WP Control 0B */

Definition at line 36 of file ocd.h.

#define OCD_BWC0B_AME_BIT   25

Definition at line 191 of file ocd.h.

#define OCD_BWC0B_ASID_SIZE   8

Definition at line 189 of file ocd.h.

#define OCD_BWC0B_ASID_START   1

Definition at line 188 of file ocd.h.

#define OCD_BWC0B_ASIDEN_BIT   0

Definition at line 187 of file ocd.h.

#define OCD_BWC0B_BWE_SIZE   2

Definition at line 193 of file ocd.h.

#define OCD_BWC0B_BWE_START   30

Definition at line 192 of file ocd.h.

#define OCD_BWC0B_EOC_BIT   14

Definition at line 190 of file ocd.h.

#define OCD_BWC1A   0x0060 /* PC BP/WP Control 1A */

Definition at line 37 of file ocd.h.

#define OCD_BWC1A_AME_BIT   25

Definition at line 200 of file ocd.h.

#define OCD_BWC1A_ASID_SIZE   8

Definition at line 198 of file ocd.h.

#define OCD_BWC1A_ASID_START   1

Definition at line 197 of file ocd.h.

#define OCD_BWC1A_ASIDEN_BIT   0

Definition at line 196 of file ocd.h.

#define OCD_BWC1A_BWE_SIZE   2

Definition at line 202 of file ocd.h.

#define OCD_BWC1A_BWE_START   30

Definition at line 201 of file ocd.h.

#define OCD_BWC1A_EOC_BIT   14

Definition at line 199 of file ocd.h.

#define OCD_BWC1B   0x0064 /* PC BP/WP Control 1B */

Definition at line 38 of file ocd.h.

#define OCD_BWC1B_AME_BIT   25

Definition at line 209 of file ocd.h.

#define OCD_BWC1B_ASID_SIZE   8

Definition at line 207 of file ocd.h.

#define OCD_BWC1B_ASID_START   1

Definition at line 206 of file ocd.h.

#define OCD_BWC1B_ASIDEN_BIT   0

Definition at line 205 of file ocd.h.

#define OCD_BWC1B_BWE_SIZE   2

Definition at line 211 of file ocd.h.

#define OCD_BWC1B_BWE_START   30

Definition at line 210 of file ocd.h.

#define OCD_BWC1B_EOC_BIT   14

Definition at line 208 of file ocd.h.

#define OCD_BWC2A   0x0068 /* PC BP/WP Control 2A */

Definition at line 39 of file ocd.h.

#define OCD_BWC2A_AMB_SIZE   5

Definition at line 219 of file ocd.h.

#define OCD_BWC2A_AMB_START   20

Definition at line 218 of file ocd.h.

#define OCD_BWC2A_AME_BIT   25

Definition at line 220 of file ocd.h.

#define OCD_BWC2A_ASID_SIZE   8

Definition at line 216 of file ocd.h.

#define OCD_BWC2A_ASID_START   1

Definition at line 215 of file ocd.h.

#define OCD_BWC2A_ASIDEN_BIT   0

Definition at line 214 of file ocd.h.

#define OCD_BWC2A_BWE_SIZE   2

Definition at line 222 of file ocd.h.

#define OCD_BWC2A_BWE_START   30

Definition at line 221 of file ocd.h.

#define OCD_BWC2A_EOC_BIT   14

Definition at line 217 of file ocd.h.

#define OCD_BWC2B   0x006c /* PC BP/WP Control 2B */

Definition at line 40 of file ocd.h.

#define OCD_BWC2B_AME_BIT   25

Definition at line 229 of file ocd.h.

#define OCD_BWC2B_ASID_SIZE   8

Definition at line 227 of file ocd.h.

#define OCD_BWC2B_ASID_START   1

Definition at line 226 of file ocd.h.

#define OCD_BWC2B_ASIDEN_BIT   0

Definition at line 225 of file ocd.h.

#define OCD_BWC2B_BWE_SIZE   2

Definition at line 231 of file ocd.h.

#define OCD_BWC2B_BWE_START   30

Definition at line 230 of file ocd.h.

#define OCD_BWC2B_EOC_BIT   14

Definition at line 228 of file ocd.h.

#define OCD_BWC3A   0x0070 /* Data BP/WP Control 3A */

Definition at line 41 of file ocd.h.

#define OCD_BWC3A_ASID_SIZE   8

Definition at line 236 of file ocd.h.

#define OCD_BWC3A_ASID_START   1

Definition at line 235 of file ocd.h.

#define OCD_BWC3A_ASIDEN_BIT   0

Definition at line 234 of file ocd.h.

#define OCD_BWC3A_BME_SIZE   4

Definition at line 243 of file ocd.h.

#define OCD_BWC3A_BME_START   20

Definition at line 242 of file ocd.h.

#define OCD_BWC3A_BRW_SIZE   2

Definition at line 245 of file ocd.h.

#define OCD_BWC3A_BRW_START   28

Definition at line 244 of file ocd.h.

#define OCD_BWC3A_BWE_SIZE   2

Definition at line 247 of file ocd.h.

#define OCD_BWC3A_BWE_START   30

Definition at line 246 of file ocd.h.

#define OCD_BWC3A_BWO_SIZE   2

Definition at line 241 of file ocd.h.

#define OCD_BWC3A_BWO_START   16

Definition at line 240 of file ocd.h.

#define OCD_BWC3A_EOC_BIT   14

Definition at line 239 of file ocd.h.

#define OCD_BWC3A_SIZE_SIZE   3

Definition at line 238 of file ocd.h.

#define OCD_BWC3A_SIZE_START   9

Definition at line 237 of file ocd.h.

#define OCD_BWC3B   0x0074 /* Data BP/WP Control 3B */

Definition at line 42 of file ocd.h.

#define OCD_BWC3B_ASID_SIZE   8

Definition at line 252 of file ocd.h.

#define OCD_BWC3B_ASID_START   1

Definition at line 251 of file ocd.h.

#define OCD_BWC3B_ASIDEN_BIT   0

Definition at line 250 of file ocd.h.

#define OCD_BWC3B_BME_SIZE   4

Definition at line 259 of file ocd.h.

#define OCD_BWC3B_BME_START   20

Definition at line 258 of file ocd.h.

#define OCD_BWC3B_BRW_SIZE   2

Definition at line 261 of file ocd.h.

#define OCD_BWC3B_BRW_START   28

Definition at line 260 of file ocd.h.

#define OCD_BWC3B_BWE_SIZE   2

Definition at line 263 of file ocd.h.

#define OCD_BWC3B_BWE_START   30

Definition at line 262 of file ocd.h.

#define OCD_BWC3B_BWO_SIZE   2

Definition at line 257 of file ocd.h.

#define OCD_BWC3B_BWO_START   16

Definition at line 256 of file ocd.h.

#define OCD_BWC3B_EOC_BIT   14

Definition at line 255 of file ocd.h.

#define OCD_BWC3B_SIZE_SIZE   3

Definition at line 254 of file ocd.h.

#define OCD_BWC3B_SIZE_START   9

Definition at line 253 of file ocd.h.

#define OCD_BWE_BREAKPOINT_ENABLED   1

Definition at line 491 of file ocd.h.

#define OCD_BWE_BREAKPOINT_ENABLED   1

Definition at line 491 of file ocd.h.

#define OCD_BWE_BREAKPOINT_ENABLED   1

Definition at line 491 of file ocd.h.

#define OCD_BWE_BREAKPOINT_ENABLED   1

Definition at line 491 of file ocd.h.

#define OCD_BWE_BREAKPOINT_ENABLED   1

Definition at line 491 of file ocd.h.

#define OCD_BWE_BREAKPOINT_ENABLED   1

Definition at line 491 of file ocd.h.

#define OCD_BWE_BREAKPOINT_ENABLED   1

Definition at line 491 of file ocd.h.

#define OCD_BWE_BREAKPOINT_ENABLED   1

Definition at line 491 of file ocd.h.

#define OCD_BWE_DISABLED   0

Definition at line 490 of file ocd.h.

#define OCD_BWE_DISABLED   0

Definition at line 490 of file ocd.h.

#define OCD_BWE_DISABLED   0

Definition at line 490 of file ocd.h.

#define OCD_BWE_DISABLED   0

Definition at line 490 of file ocd.h.

#define OCD_BWE_DISABLED   0

Definition at line 490 of file ocd.h.

#define OCD_BWE_DISABLED   0

Definition at line 490 of file ocd.h.

#define OCD_BWE_DISABLED   0

Definition at line 490 of file ocd.h.

#define OCD_BWE_DISABLED   0

Definition at line 490 of file ocd.h.

#define OCD_BWE_WATCHPOINT_ENABLED   3

Definition at line 492 of file ocd.h.

#define OCD_BWE_WATCHPOINT_ENABLED   3

Definition at line 492 of file ocd.h.

#define OCD_BWE_WATCHPOINT_ENABLED   3

Definition at line 492 of file ocd.h.

#define OCD_BWE_WATCHPOINT_ENABLED   3

Definition at line 492 of file ocd.h.

#define OCD_BWE_WATCHPOINT_ENABLED   3

Definition at line 492 of file ocd.h.

#define OCD_BWE_WATCHPOINT_ENABLED   3

Definition at line 492 of file ocd.h.

#define OCD_BWE_WATCHPOINT_ENABLED   3

Definition at line 492 of file ocd.h.

#define OCD_BWE_WATCHPOINT_ENABLED   3

Definition at line 492 of file ocd.h.

#define OCD_CCTRL_AUTO   0

Definition at line 401 of file ocd.h.

#define OCD_CCTRL_CACHED   1

Definition at line 402 of file ocd.h.

#define OCD_CCTRL_UNCACHED   2

Definition at line 403 of file ocd.h.

#define OCD_CPUCM   0x010c /* CPU Control Mask */

Definition at line 54 of file ocd.h.

#define OCD_CPUCM_BEM_BIT   1

Definition at line 322 of file ocd.h.

#define OCD_CPUCM_FEM_BIT   2

Definition at line 323 of file ocd.h.

#define OCD_CPUCM_IBEM_BIT   4

Definition at line 325 of file ocd.h.

#define OCD_CPUCM_IEEM_BIT   5

Definition at line 326 of file ocd.h.

#define OCD_CPUCM_REM_BIT   3

Definition at line 324 of file ocd.h.

#define OCD_DB_AHAINED_A_AND_B   3

Definition at line 513 of file ocd.h.

#define OCD_DB_CHAINED_A   2

Definition at line 512 of file ocd.h.

#define OCD_DB_CHAINED_B   1

Definition at line 511 of file ocd.h.

#define OCD_DB_DISABLED   0

Definition at line 510 of file ocd.h.

#define OCD_DC   0x0008 /* Development Control */

Definition at line 24 of file ocd.h.

#define OCD_DC_ABORT_BIT   31

Definition at line 94 of file ocd.h.

#define OCD_DC_DBE_BIT   13

Definition at line 82 of file ocd.h.

#define OCD_DC_DBR_BIT   12

Definition at line 81 of file ocd.h.

#define OCD_DC_EIC_SIZE   2

Definition at line 77 of file ocd.h.

#define OCD_DC_EIC_START   3

Definition at line 76 of file ocd.h.

#define OCD_DC_EOS_SIZE   2

Definition at line 84 of file ocd.h.

#define OCD_DC_EOS_START   20

Definition at line 83 of file ocd.h.

#define OCD_DC_IFM_BIT   24

Definition at line 87 of file ocd.h.

#define OCD_DC_IRP_BIT   23

Definition at line 86 of file ocd.h.

#define OCD_DC_MM_BIT   29

Definition at line 92 of file ocd.h.

#define OCD_DC_ORP_BIT   28

Definition at line 91 of file ocd.h.

#define OCD_DC_OVC_SIZE   3

Definition at line 79 of file ocd.h.

#define OCD_DC_OVC_START   5

Definition at line 78 of file ocd.h.

#define OCD_DC_RES_BIT   30

Definition at line 93 of file ocd.h.

#define OCD_DC_RID_BIT   27

Definition at line 90 of file ocd.h.

#define OCD_DC_SQA_BIT   22

Definition at line 85 of file ocd.h.

#define OCD_DC_SS_BIT   8

Definition at line 80 of file ocd.h.

#define OCD_DC_TM_SIZE   2

Definition at line 75 of file ocd.h.

#define OCD_DC_TM_START   0

Definition at line 74 of file ocd.h.

#define OCD_DC_TOZ_BIT   25

Definition at line 88 of file ocd.h.

#define OCD_DC_TSR_BIT   26

Definition at line 89 of file ocd.h.

#define OCD_DCCPU   0x0110 /* Debug Comm CPU */

Definition at line 55 of file ocd.h.

#define OCD_DCCPU_DATA_SIZE   32

Definition at line 330 of file ocd.h.

#define OCD_DCCPU_DATA_START   0

Definition at line 329 of file ocd.h.

#define OCD_DCEMU   0x0114 /* Debug Comm Emulator */

Definition at line 56 of file ocd.h.

#define OCD_DCEMU_DATA_SIZE   32

Definition at line 334 of file ocd.h.

#define OCD_DCEMU_DATA_START   0

Definition at line 333 of file ocd.h.

#define OCD_DCSR   0x0118 /* Debug Comm Status */

Definition at line 57 of file ocd.h.

#define OCD_DCSR_CPUD_BIT   0

Definition at line 337 of file ocd.h.

#define OCD_DCSR_EMUD_BIT   1

Definition at line 338 of file ocd.h.

#define OCD_DID   0x0000 /* Device ID */

Definition at line 23 of file ocd.h.

#define OCD_DID_MID_SIZE   11

Definition at line 67 of file ocd.h.

#define OCD_DID_MID_START   1

Definition at line 66 of file ocd.h.

#define OCD_DID_PN_SIZE   16

Definition at line 69 of file ocd.h.

#define OCD_DID_PN_START   12

Definition at line 68 of file ocd.h.

#define OCD_DID_RN_SIZE   4

Definition at line 71 of file ocd.h.

#define OCD_DID_RN_START   28

Definition at line 70 of file ocd.h.

#define OCD_DINST   0x0104 /* Debug Instruction */

Definition at line 52 of file ocd.h.

#define OCD_DINST_DINST_SIZE   32

Definition at line 319 of file ocd.h.

#define OCD_DINST_DINST_START   0

Definition at line 318 of file ocd.h.

#define OCD_DPC   0x0108 /* Debug Program Counter */

Definition at line 53 of file ocd.h.

#define OCD_DS   0x0010 /* Development Status */

Definition at line 25 of file ocd.h.

#define OCD_DS_BOZ_BIT   25

Definition at line 106 of file ocd.h.

#define OCD_DS_BP_SIZE   8

Definition at line 104 of file ocd.h.

#define OCD_DS_BP_START   8

Definition at line 103 of file ocd.h.

#define OCD_DS_DBA_BIT   26

Definition at line 107 of file ocd.h.

#define OCD_DS_DBS_BIT   5

Definition at line 102 of file ocd.h.

#define OCD_DS_EXB_BIT   27

Definition at line 108 of file ocd.h.

#define OCD_DS_HWB_BIT   2

Definition at line 99 of file ocd.h.

#define OCD_DS_HWE_BIT   3

Definition at line 100 of file ocd.h.

#define OCD_DS_INC_BIT   24

Definition at line 105 of file ocd.h.

#define OCD_DS_NTBF_BIT   28

Definition at line 109 of file ocd.h.

#define OCD_DS_SSS_BIT   0

Definition at line 97 of file ocd.h.

#define OCD_DS_STP_BIT   4

Definition at line 101 of file ocd.h.

#define OCD_DS_SWB_BIT   1

Definition at line 98 of file ocd.h.

#define OCD_DTC   0x0034 /* Data Trace Control */

Definition at line 30 of file ocd.h.

#define OCD_DTC_ASID0_SIZE   8

Definition at line 152 of file ocd.h.

#define OCD_DTC_ASID0_START   3

Definition at line 151 of file ocd.h.

#define OCD_DTC_ASID0EN_BIT   2

Definition at line 150 of file ocd.h.

#define OCD_DTC_ASID1_SIZE   8

Definition at line 155 of file ocd.h.

#define OCD_DTC_ASID1_START   12

Definition at line 154 of file ocd.h.

#define OCD_DTC_ASID1EN_BIT   11

Definition at line 153 of file ocd.h.

#define OCD_DTC_RWT0_SIZE   2

Definition at line 159 of file ocd.h.

#define OCD_DTC_RWT0_START   30

Definition at line 158 of file ocd.h.

#define OCD_DTC_RWT1_SIZE   2

Definition at line 157 of file ocd.h.

#define OCD_DTC_RWT1_START   28

Definition at line 156 of file ocd.h.

#define OCD_DTC_T0WP_BIT   0

Definition at line 148 of file ocd.h.

#define OCD_DTC_T1WP_BIT   1

Definition at line 149 of file ocd.h.

#define OCD_DTEA0   0x0048 /* DT End Addr Channel 0 */

Definition at line 33 of file ocd.h.

#define OCD_DTEA0_DTEA_SIZE   32

Definition at line 171 of file ocd.h.

#define OCD_DTEA0_DTEA_START   0

Definition at line 170 of file ocd.h.

#define OCD_DTEA1   0x004c /* DT End Addr Channel 1 */

Definition at line 34 of file ocd.h.

#define OCD_DTEA1_DTEA_SIZE   32

Definition at line 175 of file ocd.h.

#define OCD_DTEA1_DTEA_START   0

Definition at line 174 of file ocd.h.

#define OCD_DTSA0   0x0038 /* DT Start Addr Channel 0 */

Definition at line 31 of file ocd.h.

#define OCD_DTSA0_DTSA_SIZE   32

Definition at line 163 of file ocd.h.

#define OCD_DTSA0_DTSA_START   0

Definition at line 162 of file ocd.h.

#define OCD_DTSA1   0x003c /* DT Start Addr Channel 1 */

Definition at line 32 of file ocd.h.

#define OCD_DTSA1_DTSA_SIZE   32

Definition at line 167 of file ocd.h.

#define OCD_DTSA1_DTSA_START   0

Definition at line 166 of file ocd.h.

#define OCD_EIC_BREAKPOINT   1

Definition at line 380 of file ocd.h.

#define OCD_EIC_NOP   2

Definition at line 381 of file ocd.h.

#define OCD_EIC_PROGRAM_AND_DATA_TRACE   0

Definition at line 379 of file ocd.h.

#define OCD_EOS_BREAKPOINT_WATCHPOINT   2

Definition at line 392 of file ocd.h.

#define OCD_EOS_DEBUG_MODE   1

Definition at line 391 of file ocd.h.

#define OCD_EOS_NOP   0

Definition at line 390 of file ocd.h.

#define OCD_EOS_THQ   3

Definition at line 393 of file ocd.h.

#define OCD_EPC0   0x0120 /* Event Pair Control 0 */

Definition at line 59 of file ocd.h.

#define OCD_EPC0_CE_BIT   4

Definition at line 347 of file ocd.h.

#define OCD_EPC0_ECNT_SIZE   16

Definition at line 349 of file ocd.h.

#define OCD_EPC0_ECNT_START   16

Definition at line 348 of file ocd.h.

#define OCD_EPC0_RNG_SIZE   2

Definition at line 346 of file ocd.h.

#define OCD_EPC0_RNG_START   0

Definition at line 345 of file ocd.h.

#define OCD_EPC1   0x0124 /* Event Pair Control 1 */

Definition at line 60 of file ocd.h.

#define OCD_EPC1_AM_BIT   6

Definition at line 355 of file ocd.h.

#define OCD_EPC1_ATB_BIT   5

Definition at line 354 of file ocd.h.

#define OCD_EPC1_RNG_SIZE   2

Definition at line 353 of file ocd.h.

#define OCD_EPC1_RNG_START   0

Definition at line 352 of file ocd.h.

#define OCD_EPC2   0x0128 /* Event Pair Control 2 */

Definition at line 61 of file ocd.h.

#define OCD_EPC2_DB_SIZE   2

Definition at line 361 of file ocd.h.

#define OCD_EPC2_DB_START   2

Definition at line 360 of file ocd.h.

#define OCD_EPC2_RNG_SIZE   2

Definition at line 359 of file ocd.h.

#define OCD_EPC2_RNG_START   0

Definition at line 358 of file ocd.h.

#define OCD_EPC3   0x012c /* Event Pair Control 3 */

Definition at line 62 of file ocd.h.

#define OCD_EPC3_DWE_BIT   2

Definition at line 366 of file ocd.h.

#define OCD_EPC3_RNG_SIZE   2

Definition at line 365 of file ocd.h.

#define OCD_EPC3_RNG_START   0

Definition at line 364 of file ocd.h.

#define OCD_NTBC_BREAKPOINT   2

Definition at line 398 of file ocd.h.

#define OCD_NTBC_DISABLE   1

Definition at line 397 of file ocd.h.

#define OCD_NTBC_OVERWRITE   0

Definition at line 396 of file ocd.h.

#define OCD_NXCFG   0x0100 /* Nexus Configuration */

Definition at line 51 of file ocd.h.

#define OCD_NXCFG_MXMSEO_BIT   16

Definition at line 306 of file ocd.h.

#define OCD_NXCFG_NXARCH_SIZE   4

Definition at line 299 of file ocd.h.

#define OCD_NXCFG_NXARCH_START   0

Definition at line 298 of file ocd.h.

#define OCD_NXCFG_NXDB_SIZE   4

Definition at line 305 of file ocd.h.

#define OCD_NXCFG_NXDB_START   12

Definition at line 304 of file ocd.h.

#define OCD_NXCFG_NXDMA_BIT   28

Definition at line 315 of file ocd.h.

#define OCD_NXCFG_NXDRT_BIT   24

Definition at line 312 of file ocd.h.

#define OCD_NXCFG_NXDTC_SIZE   3

Definition at line 314 of file ocd.h.

#define OCD_NXCFG_NXDTC_START   25

Definition at line 313 of file ocd.h.

#define OCD_NXCFG_NXDWT_BIT   23

Definition at line 311 of file ocd.h.

#define OCD_NXCFG_NXMDO_SIZE   4

Definition at line 308 of file ocd.h.

#define OCD_NXCFG_NXMDO_START   17

Definition at line 307 of file ocd.h.

#define OCD_NXCFG_NXOCD_SIZE   4

Definition at line 301 of file ocd.h.

#define OCD_NXCFG_NXOCD_START   4

Definition at line 300 of file ocd.h.

#define OCD_NXCFG_NXOT_BIT   22

Definition at line 310 of file ocd.h.

#define OCD_NXCFG_NXPCB_SIZE   4

Definition at line 303 of file ocd.h.

#define OCD_NXCFG_NXPCB_START   8

Definition at line 302 of file ocd.h.

#define OCD_NXCFG_NXPT_BIT   21

Definition at line 309 of file ocd.h.

#define OCD_OVC_DELAY_CPU_BTM   1

Definition at line 385 of file ocd.h.

#define OCD_OVC_DELAY_CPU_BTM_DTM   3

Definition at line 387 of file ocd.h.

#define OCD_OVC_DELAY_CPU_DTM   2

Definition at line 386 of file ocd.h.

#define OCD_OVC_OVERRUN   0

Definition at line 384 of file ocd.h.

#define OCD_PID   0x011c /* Ownership Trace PID */

Definition at line 58 of file ocd.h.

#define OCD_PID_PROCESS_SIZE   32

Definition at line 342 of file ocd.h.

#define OCD_PID_PROCESS_START   0

Definition at line 341 of file ocd.h.

#define OCD_PTS_DATA_3A   6

Definition at line 417 of file ocd.h.

#define OCD_PTS_DATA_3B   7

Definition at line 418 of file ocd.h.

#define OCD_PTS_DISABLED   0

Definition at line 411 of file ocd.h.

#define OCD_PTS_PROGRAM_0B   1

Definition at line 412 of file ocd.h.

#define OCD_PTS_PROGRAM_1A   2

Definition at line 413 of file ocd.h.

#define OCD_PTS_PROGRAM_1B   3

Definition at line 414 of file ocd.h.

#define OCD_PTS_PROGRAM_2A   4

Definition at line 415 of file ocd.h.

#define OCD_PTS_PROGRAM_2B   5

Definition at line 416 of file ocd.h.

#define ocd_read (   reg)    __ocd_read(OCD_##reg)

Definition at line 533 of file ocd.h.

#define OCD_RNG_DISABLED   0

Definition at line 516 of file ocd.h.

#define OCD_RNG_DISABLED   0

Definition at line 516 of file ocd.h.

#define OCD_RNG_DISABLED   0

Definition at line 516 of file ocd.h.

#define OCD_RNG_DISABLED   0

Definition at line 516 of file ocd.h.

#define OCD_RNG_EXCLUSIVE   1

Definition at line 517 of file ocd.h.

#define OCD_RNG_EXCLUSIVE   1

Definition at line 517 of file ocd.h.

#define OCD_RNG_EXCLUSIVE   1

Definition at line 517 of file ocd.h.

#define OCD_RNG_EXCLUSIVE   1

Definition at line 517 of file ocd.h.

#define OCD_RNG_INCLUSIVE   2

Definition at line 518 of file ocd.h.

#define OCD_RNG_INCLUSIVE   2

Definition at line 518 of file ocd.h.

#define OCD_RNG_INCLUSIVE   2

Definition at line 518 of file ocd.h.

#define OCD_RNG_INCLUSIVE   2

Definition at line 518 of file ocd.h.

#define OCD_RWA   0x0024 /* R/W Access Address */

Definition at line 27 of file ocd.h.

#define OCD_RWA_RWA_SIZE   32

Definition at line 131 of file ocd.h.

#define OCD_RWA_RWA_START   0

Definition at line 130 of file ocd.h.

#define OCD_RWCS   0x001c /* R/W Access Control */

Definition at line 26 of file ocd.h.

#define OCD_RWCS_AC_BIT   31

Definition at line 127 of file ocd.h.

#define OCD_RWCS_CCTRL_SIZE   2

Definition at line 123 of file ocd.h.

#define OCD_RWCS_CCTRL_START   25

Definition at line 122 of file ocd.h.

#define OCD_RWCS_CNT_SIZE   14

Definition at line 115 of file ocd.h.

#define OCD_RWCS_CNT_START   2

Definition at line 114 of file ocd.h.

#define OCD_RWCS_CRC_BIT   19

Definition at line 116 of file ocd.h.

#define OCD_RWCS_DV_BIT   0

Definition at line 112 of file ocd.h.

#define OCD_RWCS_ERR_BIT   1

Definition at line 113 of file ocd.h.

#define OCD_RWCS_NTAP_BIT   23

Definition at line 120 of file ocd.h.

#define OCD_RWCS_NTBC_SIZE   2

Definition at line 118 of file ocd.h.

#define OCD_RWCS_NTBC_START   20

Definition at line 117 of file ocd.h.

#define OCD_RWCS_NTE_BIT   22

Definition at line 119 of file ocd.h.

#define OCD_RWCS_RW_BIT   30

Definition at line 126 of file ocd.h.

#define OCD_RWCS_SZ_SIZE   3

Definition at line 125 of file ocd.h.

#define OCD_RWCS_SZ_START   27

Definition at line 124 of file ocd.h.

#define OCD_RWCS_WRAPPED_BIT   24

Definition at line 121 of file ocd.h.

#define OCD_RWD   0x0028 /* R/W Access Data */

Definition at line 28 of file ocd.h.

#define OCD_RWD_RWD_SIZE   32

Definition at line 135 of file ocd.h.

#define OCD_RWD_RWD_START   0

Definition at line 134 of file ocd.h.

#define OCD_RWT0_DATA_READ   1

Definition at line 428 of file ocd.h.

#define OCD_RWT0_DATA_READ_WRITE   3

Definition at line 430 of file ocd.h.

#define OCD_RWT0_DATA_WRITE   2

Definition at line 429 of file ocd.h.

#define OCD_RWT0_NO_TRACE   0

Definition at line 427 of file ocd.h.

#define OCD_RWT1_DATA_READ   1

Definition at line 422 of file ocd.h.

#define OCD_RWT1_DATA_READ_WRITE   3

Definition at line 424 of file ocd.h.

#define OCD_RWT1_DATA_WRITE   2

Definition at line 423 of file ocd.h.

#define OCD_RWT1_NO_TRACE   0

Definition at line 421 of file ocd.h.

#define OCD_SIZE_BYTE_ACCESS   4

Definition at line 479 of file ocd.h.

#define OCD_SIZE_BYTE_ACCESS   4

Definition at line 479 of file ocd.h.

#define OCD_SIZE_DOUBLE_WORD_ACCESS   7

Definition at line 482 of file ocd.h.

#define OCD_SIZE_DOUBLE_WORD_ACCESS   7

Definition at line 482 of file ocd.h.

#define OCD_SIZE_HALFWORD_ACCESS   5

Definition at line 480 of file ocd.h.

#define OCD_SIZE_HALFWORD_ACCESS   5

Definition at line 480 of file ocd.h.

#define OCD_SIZE_WORD_ACCESS   6

Definition at line 481 of file ocd.h.

#define OCD_SIZE_WORD_ACCESS   6

Definition at line 481 of file ocd.h.

#define OCD_SZ_BYTE   0

Definition at line 406 of file ocd.h.

#define OCD_SZ_HALFWORD   1

Definition at line 407 of file ocd.h.

#define OCD_SZ_WORD   2

Definition at line 408 of file ocd.h.

#define ocd_write (   reg,
  value 
)    __ocd_write(OCD_##reg, value)

Definition at line 534 of file ocd.h.

#define OCD_WT   0x002c /* Watchpoint Trigger */

Definition at line 29 of file ocd.h.

#define OCD_WT_DTE_SIZE   3

Definition at line 139 of file ocd.h.

#define OCD_WT_DTE_START   20

Definition at line 138 of file ocd.h.

#define OCD_WT_DTS_SIZE   3

Definition at line 141 of file ocd.h.

#define OCD_WT_DTS_START   23

Definition at line 140 of file ocd.h.

#define OCD_WT_PTE_SIZE   3

Definition at line 143 of file ocd.h.

#define OCD_WT_PTE_START   26

Definition at line 142 of file ocd.h.

#define OCD_WT_PTS_SIZE   3

Definition at line 145 of file ocd.h.

#define OCD_WT_PTS_START   29

Definition at line 144 of file ocd.h.

Function Documentation

void ocd_disable ( struct task_struct child)

ocd_disable - disable on-chip debugging : task that was being debugged, but isn't anymore

If is non-NULL, ocd_disable() checks if debugging is enabled for , and if it isn't, does nothing.

If is NULL (e.g. when debugging the kernel), or debugging is enabled, ocd_disable() decrements the reference count, and if it reaches zero, disables the debugging hardware.

Definition at line 59 of file ocd.c.

void ocd_enable ( struct task_struct child)

ocd_enable - enable on-chip debugging : task to be debugged

If is non-NULL, ocd_enable() first checks if debugging has already been enabled for , and if it has, does nothing.

If is NULL (e.g. when debugging the kernel), or debugging has not already been enabled for it, ocd_enable() increments the reference count and enables the debugging hardware.

Definition at line 28 of file ocd.c.