11.4Sthorpej# $NetBSD: genassym.cf,v 1.4 2021/11/23 18:45:53 thorpej Exp $ 21.1Sskrll 31.1Sskrll# 41.1Sskrll# Copyright (c) 2012 The NetBSD Foundation, Inc. 51.1Sskrll# All rights reserved. 61.1Sskrll# 71.1Sskrll# This code is derived from software contributed to The NetBSD Foundation 81.1Sskrll# by Nick Hudson 91.1Sskrll# 101.1Sskrll# Redistribution and use in source and binary forms, with or without 111.1Sskrll# modification, are permitted provided that the following conditions 121.1Sskrll# are met: 131.1Sskrll# 1. Redistributions of source code must retain the above copyright 141.1Sskrll# notice, this list of conditions and the following disclaimer. 151.1Sskrll# 2. Redistributions in binary form must reproduce the above copyright 161.1Sskrll# notice, this list of conditions and the following disclaimer in the 171.1Sskrll# documentation and/or other materials provided with the distribution. 181.1Sskrll# 191.1Sskrll# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 201.1Sskrll# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 211.1Sskrll# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 221.1Sskrll# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 231.1Sskrll# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 241.1Sskrll# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 251.1Sskrll# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 261.1Sskrll# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 271.1Sskrll# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281.1Sskrll# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291.1Sskrll# POSSIBILITY OF SUCH DAMAGE. 301.1Sskrll# 311.1Sskrll 321.1Sskrllinclude <sys/types.h> 331.4Sthorpejinclude <signal.h> 341.1Sskrllinclude <ucontext.h> 351.1Sskrll 361.4Sthorpejdefine _UC_GREGS offsetof(ucontext_t, uc_mcontext.__gregs[0]) 371.2Sskrlldefine _UC_REGS_R0 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_R0]) 381.1Sskrlldefine _UC_REGS_SP offsetof(ucontext_t, uc_mcontext.__gregs[_REG_SP]) 391.1Sskrlldefine _UC_REGS_PC offsetof(ucontext_t, uc_mcontext.__gregs[_REG_PC]) 401.4Sthorpej 411.4Sthorpejdefine SIZEOF_SIGINFO sizeof(siginfo_t) 421.4Sthorpej 431.4Sthorpejdefine _REG_R0 _REG_R0 441.4Sthorpejdefine _REG_R1 _REG_R1 451.4Sthorpejdefine _REG_R2 _REG_R2 461.4Sthorpejdefine _REG_R3 _REG_R3 471.4Sthorpejdefine _REG_R4 _REG_R4 481.4Sthorpejdefine _REG_R5 _REG_R5 491.4Sthorpejdefine _REG_R6 _REG_R6 501.4Sthorpejdefine _REG_R7 _REG_R7 511.4Sthorpejdefine _REG_R8 _REG_R8 521.4Sthorpejdefine _REG_R9 _REG_R9 531.4Sthorpejdefine _REG_R10 _REG_R10 541.4Sthorpejdefine _REG_R11 _REG_R11 551.4Sthorpejdefine _REG_R12 _REG_R12 561.4Sthorpejdefine _REG_R13 _REG_R13 571.4Sthorpejdefine _REG_R14 _REG_R14 581.4Sthorpejdefine _REG_R15 _REG_R15 591.4Sthorpejdefine _REG_SP _REG_SP 60