Home
last modified time | relevance | path

Searched refs:DR_STEP (Results 1 – 5 of 5) sorted by relevance

/linux/arch/x86/include/uapi/asm/
H A Ddebugreg.h47 #define DR_STEP (0x4000) /* single-step */ macro
/linux/arch/x86/include/asm/
H A Dtraps.h32 if (condition & DR_STEP) in get_si_code()
/linux/arch/x86/kernel/
H A Dtraps.c1259 * Catch SYSENTER with TF set and clear DR_STEP. If this hit a in exc_debug_kernel()
1263 (dr6 & DR_STEP) && is_sysenter_singlestep(regs)) in exc_debug_kernel()
1264 dr6 &= ~DR_STEP; in exc_debug_kernel()
1281 * So if we get here with DR_STEP set, something is wonky. in exc_debug_kernel()
1286 if (WARN_ON_ONCE(dr6 & DR_STEP)) in exc_debug_kernel()
1318 * Start the virtual/ptrace DR6 value with just the DR_STEP mask in exc_debug_user()
1321 * Userspace expects DR_STEP to be visible in ptrace_get_debugreg(6) in exc_debug_user()
1324 current->thread.virtual_dr6 = (dr6 & DR_STEP); in exc_debug_user()
1357 if (dr6 & (DR_STEP | DR_TRAP_BITS) || icebp) in exc_debug_user()
H A Dkgdb.c490 (*(unsigned long *)ERR_PTR(args->err)) &= ~DR_STEP; in single_step_cont()
/linux/arch/x86/mm/
H A Dkmmio.c596 if (val == DIE_DEBUG && (*dr6_p & DR_STEP)) in kmmio_die_notifier()
602 *dr6_p &= ~DR_STEP; in kmmio_die_notifier()