Contiki-NG
Loading...
Searching...
No Matches
tz-normal.h File Reference

Normal-world TrustZone API hooks. More...

#include <stdbool.h>

Go to the source code of this file.

Functions

bool tz_normal_request_poll (void)
 Request a poll of the normal-world TrustZone process.
 
void tz_arch_init_ns_signal (void)
 Initialize the platform-specific mechanism that delivers secure-side wake-up requests to the normal world.
 

Detailed Description

Normal-world TrustZone API hooks.

Definition in file tz-normal.h.

Function Documentation

◆ tz_arch_init_ns_signal()

void tz_arch_init_ns_signal ( void )

Initialize the platform-specific mechanism that delivers secure-side wake-up requests to the normal world.

Called once during normal-world TrustZone initialization. Weakly defined as a no-op so platforms without a wake mechanism still link; in that case secure-only events do not autonomously wake the normal world.

Definition at line 65 of file tz-normal.c.

◆ tz_normal_request_poll()

bool tz_normal_request_poll ( void )

Request a poll of the normal-world TrustZone process.

   Safe to call from any context, including NS interrupt
   handlers. The platform NS-side wake handler invokes this
   when the secure side has signalled that it has work for
   the normal world to drain.

Definition at line 57 of file tz-normal.c.

References process_poll().