c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * CDDL HEADER START
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * The contents of this file are subject to the terms of the
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * Common Development and Distribution License (the "License").
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * You may not use this file except in compliance with the License.
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * See the License for the specific language governing permissions
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * and limitations under the License.
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * When distributing Covered Code, include this CDDL HEADER in each
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * If applicable, add the following below this CDDL HEADER, with the
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * fields enclosed by brackets "[]" replaced with your own identifying
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * information: Portions Copyright [yyyy] [name of copyright owner]
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * CDDL HEADER END
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * Use is subject to license terms.
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish#pragma ident "%Z%%M% %I% %E% SMI"
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * This interface allows the client to negotiate a major/minor
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * version number for the specified sun4v API group.
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirishprom_set_sun4v_api_version(uint64_t api_group, uint64_t major, uint64_t minor,
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish ci[0] = p1275_ptr2cell("SUNW,set-sun4v-api-version"); /* Service */
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * This interface allows the client to get the currently negotiated
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * major/minor version number associated with the specified sun4v
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish * API group.
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirishprom_get_sun4v_api_version(uint64_t api_group, uint64_t *major, uint64_t *minor)
c56c1e58d46678af913f4c68f2ef9dcacb5f282fgirish ci[0] = p1275_ptr2cell("SUNW,get-sun4v-api-version"); /* Service */