xref: /qemu/target/openrisc/exception.h (revision 28298069afff3eb696e4995e63b2579b27adf378)
11d7d4034SJia Liu /*
21d7d4034SJia Liu  * OpenRISC exception header.
31d7d4034SJia Liu  *
41d7d4034SJia Liu  * Copyright (c) 2011-2012 Jia Liu <proljc@gmail.com>
51d7d4034SJia Liu  *
61d7d4034SJia Liu  * This library is free software; you can redistribute it and/or
71d7d4034SJia Liu  * modify it under the terms of the GNU Lesser General Public
81d7d4034SJia Liu  * License as published by the Free Software Foundation; either
9779fc6adSThomas Huth  * version 2.1 of the License, or (at your option) any later version.
101d7d4034SJia Liu  *
111d7d4034SJia Liu  * This library is distributed in the hope that it will be useful,
121d7d4034SJia Liu  * but WITHOUT ANY WARRANTY; without even the implied warranty of
131d7d4034SJia Liu  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
141d7d4034SJia Liu  * Lesser General Public License for more details.
151d7d4034SJia Liu  *
161d7d4034SJia Liu  * You should have received a copy of the GNU Lesser General Public
171d7d4034SJia Liu  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
181d7d4034SJia Liu  */
191d7d4034SJia Liu 
20121d0712SMarkus Armbruster #ifndef TARGET_OPENRISC_EXCEPTION_H
21121d0712SMarkus Armbruster #define TARGET_OPENRISC_EXCEPTION_H
221d7d4034SJia Liu 
231d7d4034SJia Liu #include "cpu.h"
241d7d4034SJia Liu 
25*8905770bSMarc-André Lureau G_NORETURN void raise_exception(OpenRISCCPU *cpu, uint32_t excp);
261d7d4034SJia Liu 
27121d0712SMarkus Armbruster #endif /* TARGET_OPENRISC_EXCEPTION_H */
28