Searched refs:debug_state (Results 1 – 11 of 11) sorted by relevance
| /kernel/arch/arm64/ |
| A D | registers.cpp | 63 debug_state->hw_bps[0].dbgbcr = __arm_rsr("dbgbcr0_el1"); in arm64_read_hw_breakpoint_by_index() 67 debug_state->hw_bps[1].dbgbcr = __arm_rsr("dbgbcr1_el1"); in arm64_read_hw_breakpoint_by_index() 71 debug_state->hw_bps[2].dbgbcr = __arm_rsr("dbgbcr2_el1"); in arm64_read_hw_breakpoint_by_index() 75 debug_state->hw_bps[3].dbgbcr = __arm_rsr("dbgbcr3_el1"); in arm64_read_hw_breakpoint_by_index() 79 debug_state->hw_bps[4].dbgbcr = __arm_rsr("dbgbcr4_el1"); in arm64_read_hw_breakpoint_by_index() 83 debug_state->hw_bps[5].dbgbcr = __arm_rsr("dbgbcr5_el1"); in arm64_read_hw_breakpoint_by_index() 87 debug_state->hw_bps[6].dbgbcr = __arm_rsr("dbgbcr6_el1"); in arm64_read_hw_breakpoint_by_index() 91 debug_state->hw_bps[7].dbgbcr = __arm_rsr("dbgbcr7_el1"); in arm64_read_hw_breakpoint_by_index() 95 debug_state->hw_bps[8].dbgbcr = __arm_rsr("dbgbcr8_el1"); in arm64_read_hw_breakpoint_by_index() 134 arm64_read_hw_breakpoint_by_index(debug_state, i); in arm64_read_hw_debug_regs() [all …]
|
| A D | thread.cpp | 74 t->arch.debug_state.hw_bps[i].dbgbcr =(0b10u << ARM64_DBGBCR_PMC_SHIFT) | ARM64_DBGBCR_BAS; in arch_thread_initialize() 75 t->arch.debug_state.hw_bps[i].dbgbvr = 0; in arch_thread_initialize() 134 arm64_write_hw_debug_regs(&new_thread->arch.debug_state); in arm64_debug_state_context_switch()
|
| A D | debugger.cpp | 151 out->hw_bps[i].dbgbcr = thread->arch.debug_state.hw_bps[i].dbgbcr; in arch_get_debug_regs() 152 out->hw_bps[i].dbgbvr = thread->arch.debug_state.hw_bps[i].dbgbvr; in arch_get_debug_regs() 183 thread->arch.debug_state = state; in arch_set_debug_regs()
|
| /kernel/arch/x86/ |
| A D | registers.cpp | 687 uint64_t addr = debug_state->dr[i]; in x86_validate_debug_state() 697 uint64_t dr7 = debug_state->dr7; in x86_validate_debug_state() 698 debug_state->dr7 = X86_DR7_MASK; in x86_validate_debug_state() 700 debug_state->dr7 |= values_to_write2; in x86_validate_debug_state() 710 asm("mov %%dr6, %0" :"=r" (debug_state->dr6)); in x86_read_debug_status() 711 debug_state->dr6 |= X86_DR6_MASK; in x86_read_debug_status() 726 x86_read_debug_status(debug_state); in x86_read_hw_debug_regs() 728 asm("mov %%dr7, %0" :"=r" (debug_state->dr7)); in x86_read_hw_debug_regs() 732 asm("mov %0, %%dr0" ::"r"(debug_state->dr[0])); in x86_write_hw_debug_regs() 733 asm("mov %0, %%dr1" ::"r"(debug_state->dr[1])); in x86_write_hw_debug_regs() [all …]
|
| A D | debugger.cpp | 370 debug_state->dr[0], in print_debug_state() 371 debug_state->dr[1], in print_debug_state() 372 debug_state->dr[2], in print_debug_state() 373 debug_state->dr[3], in print_debug_state() 374 debug_state->dr6, in print_debug_state() 375 debug_state->dr7); in print_debug_state() 384 out->dr[0] = thread->arch.debug_state.dr[0]; in arch_get_debug_regs() 385 out->dr[1] = thread->arch.debug_state.dr[1]; in arch_get_debug_regs() 386 out->dr[2] = thread->arch.debug_state.dr[2]; in arch_get_debug_regs() 388 out->dr6 = thread->arch.debug_state.dr6; in arch_get_debug_regs() [all …]
|
| A D | thread.cpp | 71 t->arch.debug_state.dr[i] = 0; in arch_thread_initialize() 73 t->arch.debug_state.dr6 = ~X86_DR6_USER_MASK; in arch_thread_initialize() 74 t->arch.debug_state.dr7 = ~X86_DR7_USER_MASK; in arch_thread_initialize() 178 x86_write_hw_debug_regs(&new_thread->arch.debug_state); in x86_debug_state_context_switch()
|
| A D | faults.cpp | 139 x86_read_debug_status(&thread->arch.debug_state); in x86_debug_handler()
|
| /kernel/arch/arm64/include/arch/arm64/ |
| A D | registers.h | 108 bool arm64_validate_debug_state(arm64_debug_state_t *debug_state); 114 void arm64_read_hw_debug_regs(arm64_debug_state_t* debug_state); 121 void arm64_write_hw_debug_regs(const arm64_debug_state_t* debug_state);
|
| /kernel/arch/x86/include/arch/x86/ |
| A D | registers.h | 334 bool x86_validate_debug_state(x86_debug_state_t* debug_state); 337 void x86_read_debug_status(x86_debug_state_t* debug_state); 340 void x86_read_hw_debug_regs(x86_debug_state_t* debug_state); 347 void x86_write_hw_debug_regs(const x86_debug_state_t* debug_state);
|
| /kernel/arch/arm64/include/arch/ |
| A D | arch_thread.h | 64 arm64_debug_state_t debug_state; member
|
| /kernel/arch/x86/include/arch/ |
| A D | arch_thread.h | 56 x86_debug_state_t debug_state; member
|
Completed in 31 milliseconds