/* SPDX-License-Identifier: GPL-2.0 */1/*2* Ptrace definitions for the Hexagon architecture3*4* Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.5*/67#ifndef _ASM_HEXAGON_PTRACE_H8#define _ASM_HEXAGON_PTRACE_H910#include <uapi/asm/ptrace.h>1112/* kprobe-based event tracer support */13extern int regs_query_register_offset(const char *name);14extern const char *regs_query_register_name(unsigned int offset);1516#define current_pt_regs() \17((struct pt_regs *) \18((unsigned long)current_thread_info() + THREAD_SIZE) - 1)1920#if CONFIG_HEXAGON_ARCH_VERSION >= 421#define arch_has_single_step() (1)22#endif2324#endif252627