ep93xx_intr.h revision 1.1
11.1Sjoff/* $NetBSD: ep93xx_intr.h,v 1.1 2004/12/22 19:07:14 joff 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 * 3. All advertising materials mentioning features or use of this software 161.1Sjoff * must display the following acknowledgement: 171.1Sjoff * This product includes software developed for the NetBSD Project by 181.1Sjoff * Wasabi Systems, Inc. 191.1Sjoff * 4. The name of Wasabi Systems, Inc. may not be used to endorse 201.1Sjoff * or promote products derived from this software without specific prior 211.1Sjoff * written permission. 221.1Sjoff * 231.1Sjoff * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 241.1Sjoff * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 251.1Sjoff * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 261.1Sjoff * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 271.1Sjoff * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 281.1Sjoff * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 291.1Sjoff * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 301.1Sjoff * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 311.1Sjoff * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 321.1Sjoff * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 331.1Sjoff * POSSIBILITY OF SUCH DAMAGE. 341.1Sjoff */ 351.1Sjoff 361.1Sjoff#ifndef _EP93XX_INTR_H_ 371.1Sjoff#define _EP93XX_INTR_H_ 381.1Sjoff 391.1Sjoff#define ARM_IRQ_HANDLER _C_LABEL(ep93xx_intr_dispatch) 401.1Sjoff 411.1Sjoff#ifndef _LOCORE 421.1Sjoff 431.1Sjoffint _splraise(int); 441.1Sjoffint _spllower(int); 451.1Sjoffvoid splx(int); 461.1Sjoffvoid _setsoftintr(int); 471.1Sjoff 481.1Sjoff#endif /* ! _LOCORE */ 491.1Sjoff 501.1Sjoff#endif /* _EP93XX_INTR_H_ */ 51