1e4b86885SCheng Sean Ye /* 2e4b86885SCheng Sean Ye * CDDL HEADER START 3e4b86885SCheng Sean Ye * 4e4b86885SCheng Sean Ye * The contents of this file are subject to the terms of the 5e4b86885SCheng Sean Ye * Common Development and Distribution License (the "License"). 6e4b86885SCheng Sean Ye * You may not use this file except in compliance with the License. 7e4b86885SCheng Sean Ye * 8e4b86885SCheng Sean Ye * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9e4b86885SCheng Sean Ye * or http://www.opensolaris.org/os/licensing. 10e4b86885SCheng Sean Ye * See the License for the specific language governing permissions 11e4b86885SCheng Sean Ye * and limitations under the License. 12e4b86885SCheng Sean Ye * 13e4b86885SCheng Sean Ye * When distributing Covered Code, include this CDDL HEADER in each 14e4b86885SCheng Sean Ye * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15e4b86885SCheng Sean Ye * If applicable, add the following below this CDDL HEADER, with the 16e4b86885SCheng Sean Ye * fields enclosed by brackets "[]" replaced with your own identifying 17e4b86885SCheng Sean Ye * information: Portions Copyright [yyyy] [name of copyright owner] 18e4b86885SCheng Sean Ye * 19e4b86885SCheng Sean Ye * CDDL HEADER END 20e4b86885SCheng Sean Ye */ 21e4b86885SCheng Sean Ye 22e4b86885SCheng Sean Ye /* 23*f899e573SVuong Nguyen * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24e4b86885SCheng Sean Ye * Use is subject to license terms. 25e4b86885SCheng Sean Ye */ 26e4b86885SCheng Sean Ye 27e4b86885SCheng Sean Ye #ifndef _RANK_H 28e4b86885SCheng Sean Ye #define _RANK_H 29e4b86885SCheng Sean Ye 30e4b86885SCheng Sean Ye #ifdef __cplusplus 31e4b86885SCheng Sean Ye extern "C" { 32e4b86885SCheng Sean Ye #endif 33e4b86885SCheng Sean Ye 34e4b86885SCheng Sean Ye struct rank_base { 35e4b86885SCheng Sean Ye uint64_t base; 36e4b86885SCheng Sean Ye uint64_t limit; 37e4b86885SCheng Sean Ye uint32_t hole; 38e4b86885SCheng Sean Ye uint32_t hole_size; 39e4b86885SCheng Sean Ye int branch_interleave; 40e4b86885SCheng Sean Ye int way; 41e4b86885SCheng Sean Ye int interleave; 42e4b86885SCheng Sean Ye }; 43e4b86885SCheng Sean Ye 44e4b86885SCheng Sean Ye extern struct rank_base *rank_base; 45e4b86885SCheng Sean Ye 46e4b86885SCheng Sean Ye #ifdef __cplusplus 47e4b86885SCheng Sean Ye } 48e4b86885SCheng Sean Ye #endif 49e4b86885SCheng Sean Ye 50e4b86885SCheng Sean Ye #endif /* _RANK_H */ 51