My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
exception_handlers.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 /*
24  * Header for exception handlers methods implementation
25  */
26 
27 #ifndef __ARM__EXCEPTION_HANDLERS_H__
28 #define __ARM__EXCEPTION_HANDLERS_H__
29 
30 #include <sw_types.h>
31 #include <cpu_data.h>
32 
37 void print_data_abort(void);
38 
43 void print_prefetch_abort(void);
44 
48 void fiq_c_handler(void);
49 
53 void prefetch_abort_handler(void);
54 
60 void data_abort_handler(u32 pc);
61 
65 void undefined_handler(void);
66 
73 void swi_handler(int swi_id, struct swi_temp_regs *regs);
74 
75 
79 void smc_error_handler(void);
80 
81 #endif
void print_prefetch_abort(void)
gets & prints the ifsr & ifar
Definition: exception_handlers.c:156
void print_data_abort(void)
gets & prints the dfsr & dfar
Definition: exception_handlers.c:140
Structure to store register in SWI handler.
Definition: cpu_data.h:47
void smc_error_handler(void)
TZ API error handler.
Definition: exception_handlers.c:413
void fiq_c_handler(void)
FIQ 'C' handler.
Definition: exception_handlers.c:171
void swi_handler(int swi_id, struct swi_temp_regs *regs)
SWI handler.
Definition: exception_handlers.c:304
void data_abort_handler(u32 pc)
Data abort handler.
Definition: exception_handlers.c:212
void undefined_handler(void)
Undefined handler.
Definition: exception_handlers.c:290
void prefetch_abort_handler(void)
Prefetch abor handler.
Definition: exception_handlers.c:258