ucontext.h revision 68549
168549Sbenno/* $FreeBSD: head/sys/powerpc/include/ucontext.h 68549 2000-11-10 08:06:50Z benno $ */ 268549Sbenno/* $NetBSD: signal.h,v 1.4 1998/09/14 02:48:34 thorpej Exp $ */ 368549Sbenno 468549Sbenno/* 568549Sbenno * Copyright (C) 1995, 1996 Wolfgang Solfrank. 668549Sbenno * Copyright (C) 1995, 1996 TooLs GmbH. 768549Sbenno * All rights reserved. 868549Sbenno * 968549Sbenno * Redistribution and use in source and binary forms, with or without 1068549Sbenno * modification, are permitted provided that the following conditions 1168549Sbenno * are met: 1268549Sbenno * 1. Redistributions of source code must retain the above copyright 1368549Sbenno * notice, this list of conditions and the following disclaimer. 1468549Sbenno * 2. Redistributions in binary form must reproduce the above copyright 1568549Sbenno * notice, this list of conditions and the following disclaimer in the 1668549Sbenno * documentation and/or other materials provided with the distribution. 1768549Sbenno * 3. All advertising materials mentioning features or use of this software 1868549Sbenno * must display the following acknowledgement: 1968549Sbenno * This product includes software developed by TooLs GmbH. 2068549Sbenno * 4. The name of TooLs GmbH may not be used to endorse or promote products 2168549Sbenno * derived from this software without specific prior written permission. 2268549Sbenno * 2368549Sbenno * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR 2468549Sbenno * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 2568549Sbenno * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2668549Sbenno * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2768549Sbenno * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 2868549Sbenno * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 2968549Sbenno * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 3068549Sbenno * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 3168549Sbenno * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 3268549Sbenno * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3368549Sbenno */ 3468549Sbenno#ifndef _MACHINE_UCONTEXT_H_ 3568549Sbenno#define _MACHINE_UCONTEXT_H_ 3668549Sbenno 3768549Sbenno#include <machine/frame.h> 3868549Sbenno 3968549Sbenno 4068549Sbennotypedef struct __mcontext { 4168549Sbenno int mc_onstack; /* saved onstack flag */ 4268549Sbenno struct trapframe mc_frame; /* saved registers */ 4368549Sbenno} mcontext_t; 4468549Sbenno 4568549Sbenno#endif /* !_MACHINE_UCONTEXT_H_ */ 46