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