xref: /illumos-gate/usr/src/uts/sun4u/sunfire/sys/jtag.h (revision 29949e86)
1*29949e86Sstevel /*
2*29949e86Sstevel  * CDDL HEADER START
3*29949e86Sstevel  *
4*29949e86Sstevel  * The contents of this file are subject to the terms of the
5*29949e86Sstevel  * Common Development and Distribution License, Version 1.0 only
6*29949e86Sstevel  * (the "License").  You may not use this file except in compliance
7*29949e86Sstevel  * with the License.
8*29949e86Sstevel  *
9*29949e86Sstevel  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*29949e86Sstevel  * or http://www.opensolaris.org/os/licensing.
11*29949e86Sstevel  * See the License for the specific language governing permissions
12*29949e86Sstevel  * and limitations under the License.
13*29949e86Sstevel  *
14*29949e86Sstevel  * When distributing Covered Code, include this CDDL HEADER in each
15*29949e86Sstevel  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*29949e86Sstevel  * If applicable, add the following below this CDDL HEADER, with the
17*29949e86Sstevel  * fields enclosed by brackets "[]" replaced with your own identifying
18*29949e86Sstevel  * information: Portions Copyright [yyyy] [name of copyright owner]
19*29949e86Sstevel  *
20*29949e86Sstevel  * CDDL HEADER END
21*29949e86Sstevel  */
22*29949e86Sstevel /*
23*29949e86Sstevel  * Copyright (c) 1995,1997-1998 by Sun Microsystems, Inc.
24*29949e86Sstevel  * All rights reserved.
25*29949e86Sstevel  */
26*29949e86Sstevel 
27*29949e86Sstevel #ifndef	_SYS_JTAG_H
28*29949e86Sstevel #define	_SYS_JTAG_H
29*29949e86Sstevel 
30*29949e86Sstevel #pragma ident	"%Z%%M%	%I%	%E% SMI"
31*29949e86Sstevel 
32*29949e86Sstevel #ifdef	__cplusplus
33*29949e86Sstevel extern "C" {
34*29949e86Sstevel #endif
35*29949e86Sstevel 
36*29949e86Sstevel enum board_type jtag_get_board_type(volatile uint_t *, sysc_cfga_stat_t *);
37*29949e86Sstevel int jtag_powerdown_board(volatile uint_t *, int, enum board_type,
38*29949e86Sstevel 	uint_t *, uint_t *, int);
39*29949e86Sstevel int jtag_get_board_info(volatile uint_t *, struct sysc_cfga_stat *);
40*29949e86Sstevel int jtag_init_disk_board(volatile uint_t *, int, uint_t *, uint_t *);
41*29949e86Sstevel 
42*29949e86Sstevel #ifdef	__cplusplus
43*29949e86Sstevel }
44*29949e86Sstevel #endif
45*29949e86Sstevel 
46*29949e86Sstevel #endif	/* _SYS_JTAG_H */
47