My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
tzhyp.h File Reference
#include <cpu_asm.h>

Go to the source code of this file.

Macros

#define GET_CORE_BOUNDARY(world)   ((struct system_context *)GET_CORE_CONTEXT(world) + GUESTS_NO)
 
#define GET_CORE_CONTEXT(context)
 
#define GET_CORE_CONTEXT_BYID(context, id)
 
#define SET_CORE_CONTEXT(new, context)
 

Functions

int tzhyp_init (void)
 Trustzone hypervisor initialization. More...
 
void tzhyp_boot_ack_event (void)
 Hypervisor boot ack event. More...
 
void mon_nscpu_context_init ()
 Non secure cpu context initialization. More...
 

Macro Definition Documentation

#define GET_CORE_BOUNDARY (   world)    ((struct system_context *)GET_CORE_CONTEXT(world) + GUESTS_NO)
#define GET_CORE_CONTEXT (   context)
Value:
((char *)context + (get_cpu_id() * sizeof(struct system_context)\
#define GUESTS_NO
Definition: tzhyp_config.h:35
Definition: system_context.h:133
u32 get_cpu_id(void)
#define GET_CORE_CONTEXT_BYID (   context,
  id 
)
Value:
((char *)context + (id * sizeof(struct system_context) \
#define GUESTS_NO
Definition: tzhyp_config.h:35
Definition: system_context.h:133
#define SET_CORE_CONTEXT (   new,
  context 
)
Value:
(context = (struct system_context *)((char *)new - (get_cpu_id() \
* sizeof(struct system_context) * GUESTS_NO)))
#define GUESTS_NO
Definition: tzhyp_config.h:35
Definition: system_context.h:133
u32 get_cpu_id(void)

Function Documentation

void mon_nscpu_context_init ( )

Non secure cpu context initialization.

void tzhyp_boot_ack_event ( void  )

Hypervisor boot ack event.

int tzhyp_init ( void  )

Trustzone hypervisor initialization.

Returns