xref: /netbsd-src/lib/libc/arch/powerpc64/genassym.cf (revision 38dcdc34d982bf8ab9a66b4b5b2e99311457ea36)
1*38dcdc34Smatt#	$NetBSD: genassym.cf,v 1.1 2014/08/23 02:24:22 matt Exp $
2*38dcdc34Smatt
3*38dcdc34Smatt#
4*38dcdc34Smatt# Copyright (c) 2001 The NetBSD Foundation, Inc.
5*38dcdc34Smatt# All rights reserved.
6*38dcdc34Smatt#
7*38dcdc34Smatt# This code is derived from software contributed to The NetBSD Foundation
8*38dcdc34Smatt# by Matt Thomas <matt@3am-sfotware.com>.
9*38dcdc34Smatt#
10*38dcdc34Smatt# Redistribution and use in source and binary forms, with or without
11*38dcdc34Smatt# modification, are permitted provided that the following conditions
12*38dcdc34Smatt# are met:
13*38dcdc34Smatt# 1. Redistributions of source code must retain the above copyright
14*38dcdc34Smatt#    notice, this list of conditions and the following disclaimer.
15*38dcdc34Smatt# 2. Redistributions in binary form must reproduce the above copyright
16*38dcdc34Smatt#    notice, this list of conditions and the following disclaimer in the
17*38dcdc34Smatt#    documentation and/or other materials provided with the distribution.
18*38dcdc34Smatt#
19*38dcdc34Smatt# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20*38dcdc34Smatt# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21*38dcdc34Smatt# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*38dcdc34Smatt# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23*38dcdc34Smatt# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24*38dcdc34Smatt# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25*38dcdc34Smatt# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26*38dcdc34Smatt# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27*38dcdc34Smatt# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28*38dcdc34Smatt# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29*38dcdc34Smatt# POSSIBILITY OF SUCH DAMAGE.
30*38dcdc34Smatt#
31*38dcdc34Smatt
32*38dcdc34Smattinclude <sys/types.h>
33*38dcdc34Smattinclude <sys/queue.h>
34*38dcdc34Smattinclude <sys/cpu.h>
35*38dcdc34Smattinclude <sys/signal.h>
36*38dcdc34Smattinclude <sys/ucontext.h>
37*38dcdc34Smatt
38*38dcdc34Smattinclude <machine/frame.h>
39*38dcdc34Smatt
40*38dcdc34Smattdefine UC_GREGS_R1	offsetof(ucontext_t, uc_mcontext.__gregs[_REG_R1])
41*38dcdc34Smattdefine UC_GREGS_R3	offsetof(ucontext_t, uc_mcontext.__gregs[_REG_R3])
42*38dcdc34Smattdefine UC_GREGS_PC	offsetof(ucontext_t, uc_mcontext.__gregs[_REG_PC])
43*38dcdc34Smatt
44*38dcdc34Smattdefine SIG_BLOCK	SIG_BLOCK
45*38dcdc34Smattdefine SIG_SETMASK	SIG_SETMASK
46