xref: /freebsd/sys/powerpc/include/sigframe.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
191078fcaSMarcel Moolenaar /*-
2*51369649SPedro F. Giffuni  * SPDX-License-Identifier: BSD-3-Clause
3*51369649SPedro F. Giffuni  *
491078fcaSMarcel Moolenaar  * Copyright (c) 1999 Marcel Moolenaar
591078fcaSMarcel Moolenaar  * All rights reserved.
691078fcaSMarcel Moolenaar  *
791078fcaSMarcel Moolenaar  * Redistribution and use in source and binary forms, with or without
891078fcaSMarcel Moolenaar  * modification, are permitted provided that the following conditions
991078fcaSMarcel Moolenaar  * are met:
1091078fcaSMarcel Moolenaar  * 1. Redistributions of source code must retain the above copyright
1191078fcaSMarcel Moolenaar  *    notice, this list of conditions and the following disclaimer
1291078fcaSMarcel Moolenaar  *    in this position and unchanged.
1391078fcaSMarcel Moolenaar  * 2. Redistributions in binary form must reproduce the above copyright
1491078fcaSMarcel Moolenaar  *    notice, this list of conditions and the following disclaimer in the
1591078fcaSMarcel Moolenaar  *    documentation and/or other materials provided with the distribution.
1691078fcaSMarcel Moolenaar  * 3. The name of the author may not be used to endorse or promote products
1791078fcaSMarcel Moolenaar  *    derived from this software without specific prior written permission.
1891078fcaSMarcel Moolenaar  *
1991078fcaSMarcel Moolenaar  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
2091078fcaSMarcel Moolenaar  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2191078fcaSMarcel Moolenaar  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2291078fcaSMarcel Moolenaar  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2391078fcaSMarcel Moolenaar  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2491078fcaSMarcel Moolenaar  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2591078fcaSMarcel Moolenaar  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2691078fcaSMarcel Moolenaar  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2791078fcaSMarcel Moolenaar  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2891078fcaSMarcel Moolenaar  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2991078fcaSMarcel Moolenaar  */
3091078fcaSMarcel Moolenaar 
3191078fcaSMarcel Moolenaar #ifndef _MACHINE_SIGFRAME_H_
3291078fcaSMarcel Moolenaar #define _MACHINE_SIGFRAME_H_ 1
3391078fcaSMarcel Moolenaar 
3491078fcaSMarcel Moolenaar struct sigframe {
3591078fcaSMarcel Moolenaar 	ucontext_t	sf_uc;
3691078fcaSMarcel Moolenaar 	siginfo_t	sf_si;
3791078fcaSMarcel Moolenaar };
3891078fcaSMarcel Moolenaar 
3991078fcaSMarcel Moolenaar #endif /* _MACHINE_SIGFRAME_H_ */
40