https://t.me/RX1948
Server : nginx/1.24.0
System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
Directory :  /usr/src/linux-headers-6.14.0-1011-aws/arch/csky/include/asm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/src/linux-headers-6.14.0-1011-aws/arch/csky/include/asm/uprobes.h
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ASM_CSKY_UPROBES_H
#define __ASM_CSKY_UPROBES_H

#include <asm/probes.h>

#define MAX_UINSN_BYTES		4

#define UPROBE_SWBP_INSN	USR_BKPT
#define UPROBE_SWBP_INSN_SIZE	2
#define UPROBE_XOL_SLOT_BYTES	MAX_UINSN_BYTES

typedef u32 uprobe_opcode_t;

struct arch_uprobe_task {
	unsigned long   saved_trap_no;
};

struct arch_uprobe {
	union {
		u8 insn[MAX_UINSN_BYTES];
		u8 ixol[MAX_UINSN_BYTES];
	};
	struct arch_probe_insn api;
	unsigned long insn_size;
	bool simulate;
};

int uprobe_breakpoint_handler(struct pt_regs *regs);
int uprobe_single_step_handler(struct pt_regs *regs);

#endif /* __ASM_CSKY_UPROBES_H */

https://t.me/RX1948 - 2025