1*7a364d25Sschwartz /* 2*7a364d25Sschwartz * CDDL HEADER START 3*7a364d25Sschwartz * 4*7a364d25Sschwartz * The contents of this file are subject to the terms of the 5*7a364d25Sschwartz * Common Development and Distribution License, Version 1.0 only 6*7a364d25Sschwartz * (the "License"). You may not use this file except in compliance 7*7a364d25Sschwartz * with the License. 8*7a364d25Sschwartz * 9*7a364d25Sschwartz * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*7a364d25Sschwartz * or http://www.opensolaris.org/os/licensing. 11*7a364d25Sschwartz * See the License for the specific language governing permissions 12*7a364d25Sschwartz * and limitations under the License. 13*7a364d25Sschwartz * 14*7a364d25Sschwartz * When distributing Covered Code, include this CDDL HEADER in each 15*7a364d25Sschwartz * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*7a364d25Sschwartz * If applicable, add the following below this CDDL HEADER, with the 17*7a364d25Sschwartz * fields enclosed by brackets "[]" replaced with your own identifying 18*7a364d25Sschwartz * information: Portions Copyright [yyyy] [name of copyright owner] 19*7a364d25Sschwartz * 20*7a364d25Sschwartz * CDDL HEADER END 21*7a364d25Sschwartz */ 22*7a364d25Sschwartz /* 23*7a364d25Sschwartz * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24*7a364d25Sschwartz * Use is subject to license terms. 25*7a364d25Sschwartz */ 26*7a364d25Sschwartz 27*7a364d25Sschwartz #ifndef _SYS_MACH_INTR_H 28*7a364d25Sschwartz #define _SYS_MACH_INTR_H 29*7a364d25Sschwartz 30*7a364d25Sschwartz /* 31*7a364d25Sschwartz * Platform-dependent interrupt data structures 32*7a364d25Sschwartz * 33*7a364d25Sschwartz * This file should not be included by code that purports to be 34*7a364d25Sschwartz * platform-independent. 35*7a364d25Sschwartz * 36*7a364d25Sschwartz */ 37*7a364d25Sschwartz 38*7a364d25Sschwartz #ifdef __cplusplus 39*7a364d25Sschwartz extern "C" { 40*7a364d25Sschwartz #endif 41*7a364d25Sschwartz 42*7a364d25Sschwartz #ifdef _KERNEL 43*7a364d25Sschwartz 44*7a364d25Sschwartz /* 45*7a364d25Sschwartz * Platform dependent data which hangs off the ih_private field of a 46*7a364d25Sschwartz * ddi_intr_handle_impl_t 47*7a364d25Sschwartz */ 48*7a364d25Sschwartz typedef struct ihdl_plat { 49*7a364d25Sschwartz struct intrspec *ip_ispecp; /* intr spec */ 50*7a364d25Sschwartz kstat_t *ip_ksp; /* Kstat pointer */ 51*7a364d25Sschwartz uint64_t ip_ticks; /* Interrupt ticks for this device */ 52*7a364d25Sschwartz } ihdl_plat_t; 53*7a364d25Sschwartz 54*7a364d25Sschwartz #endif /* _KERNEL */ 55*7a364d25Sschwartz 56*7a364d25Sschwartz #ifdef __cplusplus 57*7a364d25Sschwartz } 58*7a364d25Sschwartz #endif 59*7a364d25Sschwartz 60*7a364d25Sschwartz #endif /* _SYS_MACH_INTR_H */ 61