hsvc.h revision b693132f48f19b8c1bd613e914faf3589565cb57
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Common Development and Distribution License (the "License").
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * You may not use this file except in compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Use is subject to license terms.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Niagara services information
c184142912cff04e5442d8bf70febe477285fb1cCraig McDonnell * Hypervisor service groups
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Hypervisor service negotiation data strcture
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster int hsvc_rev; /* data structure revision number */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster void *hsvc_private; /* reserved for the framework */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster uint64_t hsvc_group; /* hypervisor API group */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster uint64_t hsvc_major; /* API group major number */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster uint64_t hsvc_minor; /* API group minor number */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * hsvc_rev field
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * External interface
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshottextern int hsvc_register(hsvc_info_t *hsvcreq, uint64_t *supported_minor);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int hsvc_unregister(hsvc_info_t *hsvcreq);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterextern int hsvc_version(uint64_t hsvc_group, uint64_t *major, uint64_t *minor);
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott#endif /* _ASM */
0c893a059f84246bf91e2f0fbf63e4c92f8e5165Tony Bamford#endif /* _SYS_HSVC_H */