genassym.cf revision 1.1
11.1Srjs#	$NetBSD: genassym.cf,v 1.1 2002/01/09 15:54:19 rjs Exp $
21.1Srjs
31.1Srjs# Copyright (c) 1982, 1990 The Regents of the University of California.
41.1Srjs# All rights reserved.
51.1Srjs#
61.1Srjs# This code is derived from software contributed to Berkeley by
71.1Srjs# William Jolitz.
81.1Srjs#
91.1Srjs# Redistribution and use in source and binary forms, with or without
101.1Srjs# modification, are permitted provided that the following conditions
111.1Srjs# are met:
121.1Srjs# 1. Redistributions of source code must retain the above copyright
131.1Srjs#    notice, this list of conditions and the following disclaimer.
141.1Srjs# 2. Redistributions in binary form must reproduce the above copyright
151.1Srjs#    notice, this list of conditions and the following disclaimer in the
161.1Srjs#    documentation and/or other materials provided with the distribution.
171.1Srjs# 3. All advertising materials mentioning features or use of this software
181.1Srjs#    must display the following acknowledgement:
191.1Srjs#	This product includes software developed by the University of
201.1Srjs#	California, Berkeley and its contributors.
211.1Srjs# 4. Neither the name of the University nor the names of its contributors
221.1Srjs#    may be used to endorse or promote products derived from this software
231.1Srjs#    without specific prior written permission.
241.1Srjs#
251.1Srjs# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
261.1Srjs# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
271.1Srjs# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
281.1Srjs# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
291.1Srjs# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
301.1Srjs# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
311.1Srjs# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
321.1Srjs# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
331.1Srjs# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
341.1Srjs# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
351.1Srjs# SUCH DAMAGE.
361.1Srjs
371.1Srjsinclude <machine/intr.h>
381.1Srjs
391.1Srjsdefine	IH_FUNC			offsetof(struct irqhandler, ih_func)
401.1Srjsdefine	IH_ARG			offsetof(struct irqhandler, ih_arg)
411.1Srjsdefine	IH_FLAGS		offsetof(struct irqhandler, ih_flags)
421.1Srjsdefine	IH_LEVEL		offsetof(struct irqhandler, ih_level)
431.1Srjsdefine	IH_NUM			offsetof(struct irqhandler, ih_num)
441.1Srjsdefine	IH_MASKADDR		offsetof(struct irqhandler, ih_maskaddr)
451.1Srjsdefine	IH_MASKBITS		offsetof(struct irqhandler, ih_maskbits)
461.1Srjsdefine	IH_NEXT			offsetof(struct irqhandler, ih_next)
471.1Srjs
48