dt_impl.h revision e5803b76927480e8f9b67b22201c484ccf4c2bcf
17aec1d6cindi/*
27aec1d6cindi * CDDL HEADER START
37aec1d6cindi *
47aec1d6cindi * The contents of this file are subject to the terms of the
580ab886wesolows * Common Development and Distribution License (the "License").
680ab886wesolows * You may not use this file except in compliance with the License.
77aec1d6cindi *
87aec1d6cindi * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97aec1d6cindi * or http://www.opensolaris.org/os/licensing.
107aec1d6cindi * See the License for the specific language governing permissions
117aec1d6cindi * and limitations under the License.
127aec1d6cindi *
137aec1d6cindi * When distributing Covered Code, include this CDDL HEADER in each
147aec1d6cindi * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157aec1d6cindi * If applicable, add the following below this CDDL HEADER, with the
167aec1d6cindi * fields enclosed by brackets "[]" replaced with your own identifying
177aec1d6cindi * information: Portions Copyright [yyyy] [name of copyright owner]
187aec1d6cindi *
197aec1d6cindi * CDDL HEADER END
207aec1d6cindi */
2180ab886wesolows
227aec1d6cindi/*
23a62774dSinanallur Balasubramanian * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
247aec1d6cindi * Use is subject to license terms.
257aec1d6cindi */
267aec1d6cindi
27a62774dSinanallur Balasubramanian/*
287aec1d6cindi * Copyright (c) 2011, Joyent, Inc. All rights reserved.
297aec1d6cindi * Copyright (c) 2012 by Delphix. All rights reserved.
307aec1d6cindi */
317aec1d6cindi
3214ea4bbsd#ifndef	_DT_IMPL_H
337aec1d6cindi#define	_DT_IMPL_H
347aec1d6cindi
357aec1d6cindi#include <sys/param.h>
360eb822acindi#include <sys/objfs.h>
370eb822acindi#include <setjmp.h>
387aec1d6cindi#include <libctf.h>
3914ea4bbsd#include <dtrace.h>
4014ea4bbsd#include <gelf.h>
4114ea4bbsd#include <synch.h>
4214ea4bbsd
4314ea4bbsd#ifdef	__cplusplus
4414ea4bbsdextern "C" {
457aec1d6cindi#endif
460eb822acindi
477aec1d6cindi#include <dt_parser.h>
487aec1d6cindi#include <dt_regset.h>
49