• Tony Luck's avatar
    [IA64] enable trap code on slot 1 · 08ed38b6
    Tony Luck authored
    
    Because slot 1 of one instr bundle crosses border of two consecutive
    8-bytes, kprobe on slot 1 is disabled. This patch enables kprobe on
    slot1, it only replaces higher 8-bytes of the instruction bundle and
    changes the exception code to ignore the low 12 bits of the break
    number (which is across the border in the lower 8-bytes of the bundle).
    
    For those instructions which must execute regardless qp bits,
    kprobe on slot 1 is still disabled.
    Signed-off-by: default avatarbibo,mao <bibo.mao@intel.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    08ed38b6
break.h 475 Bytes
#ifndef _ASM_IA64_BREAK_H
#define _ASM_IA64_BREAK_H

/*
 * IA-64 Linux break numbers.
 *
 * Copyright (C) 1999 Hewlett-Packard Co
 * Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com>
 */

/*
 * OS-specific debug break numbers:
 */
#define __IA64_BREAK_KDB		0x80100
#define __IA64_BREAK_KPROBE		0x81000 /* .. 0x81fff */
#define __IA64_BREAK_JPROBE		0x82000

/*
 * OS-specific break numbers:
 */
#define __IA64_BREAK_SYSCALL		0x100000

#endif /* _ASM_IA64_BREAK_H */