My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
tzhyp.c File Reference
#include <sw_types.h>
#include <sw_debug.h>
#include <system_context.h>
#include <mem_mng.h>
#include <sw_mem_functions.h>
#include <page_table.h>
#include <tzhyp.h>
#include <tzhyp_global.h>
#include <tzhyp_config.h>
#include <sw_board.h>
#include <sw_board_asm.h>

Functions

int tzhyp_init (void)
 Trustzone hypervisor initialization. More...
 

Variables

struct system_context ns_world [MAX_CORES *GUESTS_NO]
 Non secure contexts. More...
 
struct system_context s_world [1]
 Common Secure context; no secure context for secondary cores. More...
 
struct system_contextns_sys_current = (struct system_context *)ns_world
 Non secure and Secure context pointers. More...
 
struct system_contexts_sys_current = (struct system_context *)s_world
 
u32 ns_preempt_flag
 Non secure preempt flag. More...
 
u32 ns_switch_flag
 NS switch flag to indicate TLB flush. More...
 

Function Documentation

int tzhyp_init ( void  )

Trustzone hypervisor initialization.

Returns

Variable Documentation

u32 ns_preempt_flag

Non secure preempt flag.

u32 ns_switch_flag

NS switch flag to indicate TLB flush.

struct system_context* ns_sys_current = (struct system_context *)ns_world

Non secure and Secure context pointers.

struct system_context ns_world[MAX_CORES *GUESTS_NO]

Non secure contexts.

Non secure task contexts.

struct system_context* s_sys_current = (struct system_context *)s_world
struct system_context s_world[1]

Common Secure context; no secure context for secondary cores.

Common Secure context.