12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22 /*
23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27 /*
28 * Copyright 2007 Jason King. All rights reserved.
29 * Use is subject to license terms.
30 */
31
32 #pragma ident "%Z%%M% %I% %E% SMI"
33
34 #ifndef _DIS_SPARC_FMT_H
35 #define _DIS_SPARC_FMT_H
36
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40
41 #include <sys/types.h>
42 #include "libdisasm.h"
43 #include "dis_sparc.h"
44
45 /* which set of registers are used with an instruction */
46 #define REG_INT 0x00 /* regular integer registers */
47 #define REG_FP 0x01 /* single-precision fp registers */
48 #define REG_FPD 0x02 /* double-precision fp registers */
49 #define REG_FPQ 0x03 /* quad-precision fp registers */
50 #define REG_CP 0x04 /* coprocessor registers (v8) */
51 #define REG_ICC 0x05 /* %icc / % xcc */
52 #define REG_FCC 0x06 /* %fccn */
53 #define REG_FSR 0x07 /* %fsr */
|
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22 /*
23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27 /*
28 * Copyright 2007 Jason King. All rights reserved.
29 * Use is subject to license terms.
30 */
31
32 #ifndef _DIS_SPARC_FMT_H
33 #define _DIS_SPARC_FMT_H
34
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38
39 #include <sys/types.h>
40 #include "libdisasm.h"
41 #include "dis_sparc.h"
42
43 /* which set of registers are used with an instruction */
44 #define REG_INT 0x00 /* regular integer registers */
45 #define REG_FP 0x01 /* single-precision fp registers */
46 #define REG_FPD 0x02 /* double-precision fp registers */
47 #define REG_FPQ 0x03 /* quad-precision fp registers */
48 #define REG_CP 0x04 /* coprocessor registers (v8) */
49 #define REG_ICC 0x05 /* %icc / % xcc */
50 #define REG_FCC 0x06 /* %fccn */
51 #define REG_FSR 0x07 /* %fsr */
|