Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  *    User-space Probes (UProbes) for s390
0004  *
0005  *    Copyright IBM Corp. 2014
0006  *    Author(s): Jan Willeke,
0007  */
0008 
0009 #ifndef _ASM_UPROBES_H
0010 #define _ASM_UPROBES_H
0011 
0012 #include <linux/notifier.h>
0013 
0014 typedef u16 uprobe_opcode_t;
0015 
0016 #define UPROBE_XOL_SLOT_BYTES   256 /* cache aligned */
0017 
0018 #define UPROBE_SWBP_INSN    0x0002
0019 #define UPROBE_SWBP_INSN_SIZE   2
0020 
0021 struct arch_uprobe {
0022     union{
0023         uprobe_opcode_t insn[3];
0024         uprobe_opcode_t ixol[3];
0025     };
0026     unsigned int saved_per : 1;
0027     unsigned int saved_int_code;
0028 };
0029 
0030 struct arch_uprobe_task {
0031 };
0032 
0033 #endif  /* _ASM_UPROBES_H */