1*6c558ed3Smatt /* $Id: at91intr.h,v 1.4 2014/02/04 18:51:16 matt Exp $ */ 2*6c558ed3Smatt /* $NetBSD: at91intr.h,v 1.4 2014/02/04 18:51:16 matt Exp $ */ 3c62a0ac4Smatt 4c62a0ac4Smatt /* 5c62a0ac4Smatt * Copyright (c) 2007 Embedtronics Oy. 6c62a0ac4Smatt * All rights reserved. 7c62a0ac4Smatt * 8c62a0ac4Smatt * Based on ep93xx_intr.h, 9c62a0ac4Smatt * Copyright (c) 2004 Jesse Off 10c62a0ac4Smatt * All rights reserved. 11c62a0ac4Smatt * 12c62a0ac4Smatt * Redistribution and use in source and binary forms, with or without 13c62a0ac4Smatt * modification, are permitted provided that the following conditions 14c62a0ac4Smatt * are met: 15c62a0ac4Smatt * 1. Redistributions of source code must retain the above copyright 16c62a0ac4Smatt * notice, this list of conditions and the following disclaimer. 17c62a0ac4Smatt * 2. Redistributions in binary form must reproduce the above copyright 18c62a0ac4Smatt * notice, this list of conditions and the following disclaimer in the 19c62a0ac4Smatt * documentation and/or other materials provided with the distribution. 20c62a0ac4Smatt * 21c62a0ac4Smatt * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND 22c62a0ac4Smatt * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 23c62a0ac4Smatt * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24c62a0ac4Smatt * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC 25c62a0ac4Smatt * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26c62a0ac4Smatt * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27c62a0ac4Smatt * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28c62a0ac4Smatt * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29c62a0ac4Smatt * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30c62a0ac4Smatt * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31c62a0ac4Smatt * POSSIBILITY OF SUCH DAMAGE. 32c62a0ac4Smatt */ 33c62a0ac4Smatt 34c62a0ac4Smatt #ifndef _AT91INTR_H_ 35c62a0ac4Smatt #define _AT91INTR_H_ 36c62a0ac4Smatt 37c62a0ac4Smatt #define ARM_IRQ_HANDLER _C_LABEL(at91aic_intr_dispatch) 38c62a0ac4Smatt 39c62a0ac4Smatt #ifndef _LOCORE 40c62a0ac4Smatt 41c62a0ac4Smatt int _splraise(int); 42c62a0ac4Smatt int _spllower(int); 43c62a0ac4Smatt void splx(int); 44c62a0ac4Smatt 45c62a0ac4Smatt #endif /* ! _LOCORE */ 46c62a0ac4Smatt 47c62a0ac4Smatt #endif /* _AT91INTR_H_ */ 48