mdb_isautil.h (7c478bd9) mdb_isautil.h (9c3024a3)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 9 unchanged lines hidden (view full) ---

18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 9 unchanged lines hidden (view full) ---

18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26/*
27 * Copyright (c) 2018, Joyent, Inc. All rights reserved.
28 */
26
27#ifndef _MDB_ISAUTIL_H
28#define _MDB_ISAUTIL_H
29
29
30#ifndef _MDB_ISAUTIL_H
31#define _MDB_ISAUTIL_H
32
30#pragma ident "%Z%%M% %I% %E% SMI"
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37typedef uchar_t mdb_instr_t;
38
36#ifdef __amd64
37#include <mdb/mdb_amd64util.h>
38
39#define mdb_isa_printregs mdb_amd64_printregs
40#define mdb_isa_kregs mdb_amd64_kregs
41
42#define mdb_isa_step_out mdb_amd64_step_out
43#define mdb_isa_next mdb_amd64_next

--- 27 unchanged lines hidden ---
39#ifdef __amd64
40#include <mdb/mdb_amd64util.h>
41
42#define mdb_isa_printregs mdb_amd64_printregs
43#define mdb_isa_kregs mdb_amd64_kregs
44
45#define mdb_isa_step_out mdb_amd64_step_out
46#define mdb_isa_next mdb_amd64_next

--- 27 unchanged lines hidden ---