11.5Ssnj/*	$NetBSD: ep93xx_intr.h,v 1.5 2009/10/23 00:39:30 snj Exp $	*/
21.1Sjoff
31.1Sjoff/*
41.1Sjoff * Copyright (c) 2004 Jesse Off
51.1Sjoff * All rights reserved.
61.1Sjoff *
71.1Sjoff * Redistribution and use in source and binary forms, with or without
81.1Sjoff * modification, are permitted provided that the following conditions
91.1Sjoff * are met:
101.1Sjoff * 1. Redistributions of source code must retain the above copyright
111.1Sjoff *    notice, this list of conditions and the following disclaimer.
121.1Sjoff * 2. Redistributions in binary form must reproduce the above copyright
131.1Sjoff *    notice, this list of conditions and the following disclaimer in the
141.1Sjoff *    documentation and/or other materials provided with the distribution.
151.1Sjoff *
161.1Sjoff * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
171.1Sjoff * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
181.1Sjoff * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
191.1Sjoff * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
201.1Sjoff * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
211.1Sjoff * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
221.1Sjoff * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
231.1Sjoff * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
241.1Sjoff * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
251.1Sjoff * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
261.1Sjoff * POSSIBILITY OF SUCH DAMAGE.
271.1Sjoff */
281.1Sjoff
291.1Sjoff#ifndef _EP93XX_INTR_H_
301.1Sjoff#define _EP93XX_INTR_H_
311.1Sjoff
321.1Sjoff#define	ARM_IRQ_HANDLER	_C_LABEL(ep93xx_intr_dispatch)
331.1Sjoff
341.1Sjoff#ifndef _LOCORE
351.1Sjoff
361.1Sjoffint	_splraise(int);
371.1Sjoffint	_spllower(int);
381.1Sjoffvoid	splx(int);
391.1Sjoff
401.1Sjoff#endif /* ! _LOCORE */
411.1Sjoff
421.1Sjoff#endif /* _EP93XX_INTR_H_ */
43