BOLOS TEE
Functions
bolos_continuation.h File Reference

Continuation API. More...

Go to the source code of this file.

Functions

int bls_continuation_supported (void)
 Check if continuation API is supported on this platform. More...
 
void bls_set_continuation (const void *addr, size_t length)
 Interrupt the current execution, exchanging data with the Normal World and resuming with data available as Normal World input parameters. More...
 

Detailed Description

Continuation API.

Author
Ledger Firmware Team hello.nosp@m.@led.nosp@m.ger.f.nosp@m.r
Version
1.0
Date
6th of March 2017

The continuation API provides a transparent interruption of the running proccess, exchanging data with the Normal World before resuming.

Support of this API is platform dependent

Function Documentation

int bls_continuation_supported ( void  )

Check if continuation API is supported on this platform.

Returns
1 if supported, 0 if not supported
void bls_set_continuation ( const void *  addr,
size_t  length 
)

Interrupt the current execution, exchanging data with the Normal World and resuming with data available as Normal World input parameters.

Parameters
[in]addrthe buffer containing the data to return
[in]lengthlength of the data to return