1*1370Sschwartz /* 2*1370Sschwartz * CDDL HEADER START 3*1370Sschwartz * 4*1370Sschwartz * The contents of this file are subject to the terms of the 5*1370Sschwartz * Common Development and Distribution License (the "License"). 6*1370Sschwartz * You may not use this file except in compliance with the License. 7*1370Sschwartz * 8*1370Sschwartz * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*1370Sschwartz * or http://www.opensolaris.org/os/licensing. 10*1370Sschwartz * See the License for the specific language governing permissions 11*1370Sschwartz * and limitations under the License. 12*1370Sschwartz * 13*1370Sschwartz * When distributing Covered Code, include this CDDL HEADER in each 14*1370Sschwartz * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*1370Sschwartz * If applicable, add the following below this CDDL HEADER, with the 16*1370Sschwartz * fields enclosed by brackets "[]" replaced with your own identifying 17*1370Sschwartz * information: Portions Copyright [yyyy] [name of copyright owner] 18*1370Sschwartz * 19*1370Sschwartz * CDDL HEADER END 20*1370Sschwartz */ 21*1370Sschwartz 22*1370Sschwartz /* 23*1370Sschwartz * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*1370Sschwartz * Use is subject to license terms. 25*1370Sschwartz */ 26*1370Sschwartz 27*1370Sschwartz #ifndef _FPC_IMPL_4V_H 28*1370Sschwartz #define _FPC_IMPL_4V_H 29*1370Sschwartz 30*1370Sschwartz #pragma ident "%Z%%M% %I% %E% SMI" 31*1370Sschwartz 32*1370Sschwartz #ifdef __cplusplus 33*1370Sschwartz extern "C" { 34*1370Sschwartz #endif 35*1370Sschwartz 36*1370Sschwartz typedef uint64_t devhandle_t; 37*1370Sschwartz 38*1370Sschwartz #define DEVHDLE_MASK 0xFFFFFFF 39*1370Sschwartz 40*1370Sschwartz extern int fpc_get_fire_perfreg(devhandle_t dev_hdl, int regid, uint64_t *data); 41*1370Sschwartz extern int fpc_set_fire_perfreg(devhandle_t dev_hdl, int regid, uint64_t data); 42*1370Sschwartz 43*1370Sschwartz #ifdef __cplusplus 44*1370Sschwartz } 45*1370Sschwartz #endif 46*1370Sschwartz 47*1370Sschwartz #endif /* _FPC_IMPL_4V_H */ 48