File: zbreaksp.h

package info (click to toggle)
fis-gtm 7.1-006-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 32,908 kB
  • sloc: ansic: 344,906; asm: 5,184; csh: 4,859; sh: 2,000; awk: 294; makefile: 73; sed: 13
file content (28 lines) | stat: -rwxr-xr-x 1,305 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/****************************************************************
 *								*
 *	Copyright 2001, 2009 Fidelity Information Services, Inc	*
 *								*
 *	This source code contains the intellectual property	*
 *	of its copyright holder(s), and is made available	*
 *	under a license.  If you do not know the terms of	*
 *	the license, please stop and do not read further.	*
 *								*
 ****************************************************************/

typedef unsigned short	zb_code;
#define ZB_CODE_MASK	0xffff
#define	INST_TYPE	zb_code

/* The ZBreak command operates by finding the generated code for the op_linestart or op_linefetch for the source
 * line in question and changing the offset in the transfer table load address instruction from the op_linestart or
 * op_linefetch offset to the appropriate zbreak functionality opcode offset.
 * In some platforms(IA64 and ZOS) since the INSTRUCTION LAYOUT is complex we need following
 * macros for instruction manipulation.
 *      EXTRACT_OFFSET_TO_M_OPCODE
 *      FIX_OFFSET_WITH_ZBREAK_OFFSET
 *      EXTRACT_AND_UPDATE_INST
 * These macros are called only when COMPLEX_INSTRUCTION_UPDATE is defined
 * If COMPLEX_INSTRUCTION_UPDATE is not defined portable code in the caller of these macros
 * is invoked.
 */
#undef COMPLEX_INSTRUCTION_UPDATE