genassym.cf revision 1.1
11.1Sthorpej#	$NetBSD: genassym.cf,v 1.1 2021/11/24 02:01:15 thorpej Exp $
21.1Sthorpej
31.1Sthorpej#
41.1Sthorpej# Copyright (c) 2021 The NetBSD Foundation, Inc.
51.1Sthorpej# All rights reserved.
61.1Sthorpej#
71.1Sthorpej# This code is derived from software contributed to The NetBSD Foundation
81.1Sthorpej# by Jason R. Thorpe.
91.1Sthorpej#
101.1Sthorpej# Redistribution and use in source and binary forms, with or without
111.1Sthorpej# modification, are permitted provided that the following conditions
121.1Sthorpej# are met:
131.1Sthorpej# 1. Redistributions of source code must retain the above copyright
141.1Sthorpej#    notice, this list of conditions and the following disclaimer.
151.1Sthorpej# 2. Redistributions in binary form must reproduce the above copyright
161.1Sthorpej#    notice, this list of conditions and the following disclaimer in the
171.1Sthorpej#    documentation and/or other materials provided with the distribution.
181.1Sthorpej#
191.1Sthorpej# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
201.1Sthorpej# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
211.1Sthorpej# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
221.1Sthorpej# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
231.1Sthorpej# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
241.1Sthorpej# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
251.1Sthorpej# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
261.1Sthorpej# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
271.1Sthorpej# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
281.1Sthorpej# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
291.1Sthorpej# POSSIBILITY OF SUCH DAMAGE.
301.1Sthorpej#
311.1Sthorpej
321.1Sthorpejinclude <sys/types.h>
331.1Sthorpejinclude <ucontext.h>
341.1Sthorpej
351.1Sthorpejdefine _UC_GREGS	offsetof(ucontext_t, uc_mcontext.__gregs[0])
361.1Sthorpej
371.1Sthorpejdefine _REG_R0		_REG_R0
381.1Sthorpejdefine _REG_R1		_REG_R1
391.1Sthorpejdefine _REG_R2		_REG_R2
401.1Sthorpejdefine _REG_R3		_REG_R3
411.1Sthorpejdefine _REG_R4		_REG_R4
421.1Sthorpejdefine _REG_R5		_REG_R5
431.1Sthorpejdefine _REG_R6		_REG_R6
441.1Sthorpejdefine _REG_R7		_REG_R7
451.1Sthorpejdefine _REG_R8		_REG_R8
461.1Sthorpejdefine _REG_R9		_REG_R9
471.1Sthorpejdefine _REG_R10		_REG_R10
481.1Sthorpejdefine _REG_R11		_REG_R11
491.1Sthorpejdefine _REG_R12		_REG_R12
501.1Sthorpejdefine _REG_R13		_REG_R13
511.1Sthorpejdefine _REG_R14		_REG_R14
521.1Sthorpejdefine _REG_R15		_REG_R15
531.1Sthorpejdefine _REG_GBR		_REG_GBR
541.1Sthorpejdefine _REG_PC		_REG_PC
551.1Sthorpejdefine _REG_SR		_REG_SR
561.1Sthorpejdefine _REG_MACL	_REG_MACL
571.1Sthorpejdefine _REG_MACH	_REG_MACH
581.1Sthorpejdefine _REG_PR		_REG_PR
59