1*dedaf267Syamt /* $NetBSD: vcpuvar.h,v 1.1 2007/03/06 12:35:39 yamt Exp $ */ 2*dedaf267Syamt 3*dedaf267Syamt /*- 4*dedaf267Syamt * Copyright (c)2007 YAMAMOTO Takashi, 5*dedaf267Syamt * All rights reserved. 6*dedaf267Syamt * 7*dedaf267Syamt * Redistribution and use in source and binary forms, with or without 8*dedaf267Syamt * modification, are permitted provided that the following conditions 9*dedaf267Syamt * are met: 10*dedaf267Syamt * 1. Redistributions of source code must retain the above copyright 11*dedaf267Syamt * notice, this list of conditions and the following disclaimer. 12*dedaf267Syamt * 2. Redistributions in binary form must reproduce the above copyright 13*dedaf267Syamt * notice, this list of conditions and the following disclaimer in the 14*dedaf267Syamt * documentation and/or other materials provided with the distribution. 15*dedaf267Syamt * 16*dedaf267Syamt * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17*dedaf267Syamt * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18*dedaf267Syamt * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19*dedaf267Syamt * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20*dedaf267Syamt * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21*dedaf267Syamt * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22*dedaf267Syamt * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23*dedaf267Syamt * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24*dedaf267Syamt * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25*dedaf267Syamt * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26*dedaf267Syamt * SUCH DAMAGE. 27*dedaf267Syamt */ 28*dedaf267Syamt 29*dedaf267Syamt #ifndef _XEN_VCPUVAR_H_ 30*dedaf267Syamt #define _XEN_VCPUVAR_H_ 31*dedaf267Syamt 32*dedaf267Syamt #include <x86/cpuvar.h> 33*dedaf267Syamt 34*dedaf267Syamt struct vcpu_attach_args { 35*dedaf267Syamt const char *vcaa_name; 36*dedaf267Syamt struct cpu_attach_args vcaa_caa; 37*dedaf267Syamt }; 38*dedaf267Syamt 39*dedaf267Syamt #endif /* _XEN_VCPUVAR_H_ */ 40