120c794b3Sgavinm /*
220c794b3Sgavinm  * CDDL HEADER START
320c794b3Sgavinm  *
420c794b3Sgavinm  * The contents of this file are subject to the terms of the
520c794b3Sgavinm  * Common Development and Distribution License (the "License").
620c794b3Sgavinm  * You may not use this file except in compliance with the License.
720c794b3Sgavinm  *
820c794b3Sgavinm  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
920c794b3Sgavinm  * or http://www.opensolaris.org/os/licensing.
1020c794b3Sgavinm  * See the License for the specific language governing permissions
1120c794b3Sgavinm  * and limitations under the License.
1220c794b3Sgavinm  *
1320c794b3Sgavinm  * When distributing Covered Code, include this CDDL HEADER in each
1420c794b3Sgavinm  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1520c794b3Sgavinm  * If applicable, add the following below this CDDL HEADER, with the
1620c794b3Sgavinm  * fields enclosed by brackets "[]" replaced with your own identifying
1720c794b3Sgavinm  * information: Portions Copyright [yyyy] [name of copyright owner]
1820c794b3Sgavinm  *
1920c794b3Sgavinm  * CDDL HEADER END
2020c794b3Sgavinm  */
2120c794b3Sgavinm 
2220c794b3Sgavinm /*
23*f899e573SVuong Nguyen  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2420c794b3Sgavinm  * Use is subject to license terms.
2520c794b3Sgavinm  */
2620c794b3Sgavinm 
2720c794b3Sgavinm #ifndef _RANK_H
2820c794b3Sgavinm #define	_RANK_H
2920c794b3Sgavinm 
3020c794b3Sgavinm #ifdef __cplusplus
3120c794b3Sgavinm extern "C" {
3220c794b3Sgavinm #endif
3320c794b3Sgavinm 
3420c794b3Sgavinm struct rank_base {
3520c794b3Sgavinm 	uint64_t base;
3620c794b3Sgavinm 	uint64_t limit;
3720c794b3Sgavinm 	uint32_t hole;
3820c794b3Sgavinm 	uint32_t hole_size;
3920c794b3Sgavinm 	int branch_interleave;
4020c794b3Sgavinm 	int way;
4120c794b3Sgavinm 	int interleave;
4220c794b3Sgavinm };
4320c794b3Sgavinm 
4420c794b3Sgavinm extern struct rank_base *rank_base;
4520c794b3Sgavinm 
4620c794b3Sgavinm #ifdef __cplusplus
4720c794b3Sgavinm }
4820c794b3Sgavinm #endif
4920c794b3Sgavinm 
5020c794b3Sgavinm #endif /* _RANK_H */
51