Contiki-NG
Loading...
Searching...
No Matches
tz-ns-cfg.c File Reference

Normal-world nRF5340 hooks for the TrustZone API. More...

#include "contiki.h"
#include "trustzone/normal/tz-normal.h"
#include <nrfx.h>

Go to the source code of this file.

Functions

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 nRF5340 hooks for the TrustZone API.

Provides the NS-side wake mechanism that the secure side pends via tz_arch_signal_ns. EGU0_IRQn is borrowed as a software-only doorbell: the EGU peripheral itself is unused, only its NVIC slot.

Definition in file tz-ns-cfg.c.

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 50 of file tz-ns-cfg.c.