TrustZone#

TrustZone utilities.

Functions#

void

TrustZone fatal error handler.

bool
bl_verify_ns_memory_access(const void *p, size_t s)

Validate the non-secure pointers.

Function Documentation#

bl_fatal_assert_action#

void bl_fatal_assert_action (void )

TrustZone fatal error handler.

Parameters
N/A

This function triggers a soft-reset with the reset reason set to BOOTLOADER_RESET_REASON_TZ_FAULT.


Definition at line 42 of file platform/bootloader/core/btl_tz_utils.h

bl_verify_ns_memory_access#

bool bl_verify_ns_memory_access (const void * p, size_t s)

Validate the non-secure pointers.

Parameters
N/Ap

Pointer to the memory.

N/As

Size of the memory to be validated.

Validate if the address of the memory is actually non-secure as expected.

Returns

  • True if the memory being accessed is from NS


Definition at line 54 of file platform/bootloader/core/btl_tz_utils.h