1*b2b3ffcdSSimon Schubert /* 2*b2b3ffcdSSimon Schubert * Copyright (c) 2006 The DragonFly Project. All rights reserved. 3*b2b3ffcdSSimon Schubert * 4*b2b3ffcdSSimon Schubert * This code is derived from software contributed to The DragonFly Project 5*b2b3ffcdSSimon Schubert * by Matthew Dillon <dillon@backplane.com> 6*b2b3ffcdSSimon Schubert * 7*b2b3ffcdSSimon Schubert * Redistribution and use in source and binary forms, with or without 8*b2b3ffcdSSimon Schubert * modification, are permitted provided that the following conditions 9*b2b3ffcdSSimon Schubert * are met: 10*b2b3ffcdSSimon Schubert * 11*b2b3ffcdSSimon Schubert * 1. Redistributions of source code must retain the above copyright 12*b2b3ffcdSSimon Schubert * notice, this list of conditions and the following disclaimer. 13*b2b3ffcdSSimon Schubert * 2. Redistributions in binary form must reproduce the above copyright 14*b2b3ffcdSSimon Schubert * notice, this list of conditions and the following disclaimer in 15*b2b3ffcdSSimon Schubert * the documentation and/or other materials provided with the 16*b2b3ffcdSSimon Schubert * distribution. 17*b2b3ffcdSSimon Schubert * 3. Neither the name of The DragonFly Project nor the names of its 18*b2b3ffcdSSimon Schubert * contributors may be used to endorse or promote products derived 19*b2b3ffcdSSimon Schubert * from this software without specific, prior written permission. 20*b2b3ffcdSSimon Schubert * 21*b2b3ffcdSSimon Schubert * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22*b2b3ffcdSSimon Schubert * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23*b2b3ffcdSSimon Schubert * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 24*b2b3ffcdSSimon Schubert * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 25*b2b3ffcdSSimon Schubert * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 26*b2b3ffcdSSimon Schubert * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, 27*b2b3ffcdSSimon Schubert * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28*b2b3ffcdSSimon Schubert * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 29*b2b3ffcdSSimon Schubert * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30*b2b3ffcdSSimon Schubert * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 31*b2b3ffcdSSimon Schubert * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32*b2b3ffcdSSimon Schubert * SUCH DAMAGE. 33*b2b3ffcdSSimon Schubert */ 34*b2b3ffcdSSimon Schubert 35*b2b3ffcdSSimon Schubert #ifndef _CPU_VFRAME_H_ 36*b2b3ffcdSSimon Schubert #define _CPU_VFRAME_H_ 37*b2b3ffcdSSimon Schubert 38*b2b3ffcdSSimon Schubert #include <machine/segments.h> 39*b2b3ffcdSSimon Schubert 40*b2b3ffcdSSimon Schubert /* 41*b2b3ffcdSSimon Schubert * Virtualized external frame. This is used by the virtual kernel in 42*b2b3ffcdSSimon Schubert * addition to trapframe. 43*b2b3ffcdSSimon Schubert */ 44*b2b3ffcdSSimon Schubert struct vextframe { 45*b2b3ffcdSSimon Schubert /* XXX come back for fixing this in segments.h */ 46*b2b3ffcdSSimon Schubert struct savetls vx_tls; 47*b2b3ffcdSSimon Schubert }; 48*b2b3ffcdSSimon Schubert 49*b2b3ffcdSSimon Schubert #endif 50*b2b3ffcdSSimon Schubert 51