Home
last modified time | relevance | path

Searched refs:coresight_base (Results 1 – 3 of 3) sorted by relevance

/xnu-8020.140.41/osfmk/arm64/
H A Ddbgwrap.c74 if ((cdp == NULL) || (cdp->coresight_base[CORESIGHT_UTT] == 0)) { in ml_dbgwrap_cpu_is_halted()
78 …return (*(volatile dbgwrap_reg_t *)(cdp->coresight_base[CORESIGHT_UTT] + DBGWRAP_REG_OFFSET) & DBG… in ml_dbgwrap_cpu_is_halted()
85 if ((cdp == NULL) || (cdp->coresight_base[CORESIGHT_UTT] == 0)) { in ml_dbgwrap_wait_cpu_halted()
89 …volatile dbgwrap_reg_t *dbgWrapReg = (volatile dbgwrap_reg_t *)(cdp->coresight_base[CORESIGHT_UTT]… in ml_dbgwrap_wait_cpu_halted()
107 if ((cdp == NULL) || (cdp->coresight_base[CORESIGHT_UTT] == 0)) { in ml_dbgwrap_halt_cpu()
123 …volatile dbgwrap_reg_t *dbgWrapReg = (volatile dbgwrap_reg_t *)(cdp->coresight_base[CORESIGHT_UTT]… in ml_dbgwrap_halt_cpu()
147 …volatile uint32_t *editr = (volatile uint32_t *)(cdp->coresight_base[CORESIGHT_ED] + EDITR_REG_OFF… in ml_dbgwrap_stuff_instr()
148 …volatile uint32_t *edscr = (volatile uint32_t *)(cdp->coresight_base[CORESIGHT_ED] + EDSCR_REG_OFF… in ml_dbgwrap_stuff_instr()
149 …volatile uint32_t *edrcr = (volatile uint32_t *)(cdp->coresight_base[CORESIGHT_ED] + EDRCR_REG_OFF… in ml_dbgwrap_stuff_instr()
206 …volatile uint32_t *edscr = (volatile uint32_t *)(cdp->coresight_base[CORESIGHT_ED] + EDSCR_REG_OFF… in ml_dbgwrap_read_dtr()
[all …]
H A Dcpu.c278 if (!cdp->coresight_base[i]) { in configure_coresight_registers()
280 cdp->coresight_base[i] = coresight_regs + CORESIGHT_OFFSET(i); in configure_coresight_registers()
283 cdp->coresight_base[i] = (vm_offset_t)ml_io_map(addr, CORESIGHT_SIZE); in configure_coresight_registers()
290 if (!cdp->coresight_base[i]) { in configure_coresight_registers()
296 …*(volatile uint32_t *)(cdp->coresight_base[i] + ARM_DEBUG_OFFSET_DBGLAR) = ARM_DBG_LOCK_ACCESS_KEY; in configure_coresight_registers()
841 cpu_data_ptr->coresight_base[i] = 0; in cpu_data_init()
1068 if (cpu_data_ptr->coresight_base[CORESIGHT_ED]) { in ml_arm_sleep()
1069 …*(volatile uint32_t *)(cpu_data_ptr->coresight_base[CORESIGHT_ED] + ARM_DEBUG_OFFSET_DBGLAR) = ARM… in ml_arm_sleep()
1070 … *(volatile uint32_t *)(cpu_data_ptr->coresight_base[CORESIGHT_ED] + ARM_DEBUG_OFFSET_DBGPRCR) = 0; in ml_arm_sleep()
1121 if (cpu_data_ptr->coresight_base[CORESIGHT_ED]) { in ml_arm_sleep()
[all …]
/xnu-8020.140.41/osfmk/arm/
H A Dcpu_data_internal.h234 vm_offset_t coresight_base[CORESIGHT_REGIONS]; member