My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
secure_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 __SECURE_EXCEPTION_H__
24 #define __SECURE_EXCEPTION_H__
25 
26 #include <sw_types.h>
27 #include <cpu.h>
28 
29 #define SVC_SCHEDULE 0xbbbb
30 
31 #ifdef __CCODE__
32 
38 void secure_exception_handler(u32 esr_elx, core_registers **regs);
39 
43 void invoke_ns_kernel(void);
44 
50 void secure_fiq_handler(core_registers *regs);
51 
57 void return_secure_api(u32 retval);
58 
59 #endif /* __CCODE__ */
60 
61 #endif
void secure_fiq_handler(core_registers *regs)
Definition: secure_exception.c:133
void invoke_ns_kernel(void)
Calls smc function with appropriate argument and hence non-secure kernel gets invoked on reaching the...
Definition: smc_wrapper.c:63
void return_secure_api(u32 retval)
Calls smc function with appropriate return value obtained by executing the secure api...
Definition: smc_wrapper.c:91
void secure_exception_handler(u32 esr_elx, core_registers **regs)
Definition: secure_exception.c:42