My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
exception.h
Go to the documentation of this file.
1 /*
2  * OpenVirtualization:
3  * For additional details and support contact developer@sierraware.com.
4  * Additional documentation can be found at www.openvirtualization.org
5  *
6  * Copyright (C) 2010-2014 SierraWare
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21  *
22  */
23 #ifndef __EXCEPTION_H__
24 #define __EXCEPTION_H__
25 
26 #include <sw_types.h>
27 #include <cpu.h>
28 
29 /* Exception class code */
30 #define ESR_EC_MASK 0xfc000000
31 #define ESR_ISS_MASK 0x0000ffff
32 #define ESR_FSC_MASK 0x0000003f
33 #define ESR_EC_SHIFT 26
34 #define ESR_EC_SVC64 0x15
35 #define ESR_EC_HVC64 0x16
36 #define ESR_EC_SMC64 0x17
37 #define ESR_EC_IAB64 0x21
38 #define ESR_EC_DAB64 0x25
39 
40 #ifdef __CCODE__
41 
49 void* sync_exception_handler(core_registers *regs);
50 
58 void* fiq_handler(core_registers *regs);
59 
60 #endif
61 #endif
void * fiq_handler(core_registers *regs)
Definition: exception.c:83
void * sync_exception_handler(core_registers *regs)
Definition: exception.c:50