My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
monitor.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  * Monitor declarations
25  */
26 
27 #include "sw_types.h"
28 
35 void invoke_ns_kernel(void);
36 
43 void return_secure_api(u32 retval);
44 
51 void __execute_smc(u32 smc_arg);
52 
56 void smc_nscpu_context_init(void);
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 __execute_smc(u32 smc_arg)
The function actually executes the smc instruction It is always called in privileged mode...
Definition: smc_wrapper.c:47
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 smc_nscpu_context_init(void)
non-secure cpu context initialization
Definition: smc_wrapper.c:118