NSPM at present provides both TrustZone context management functions and tfm_register_client_id API in the same runtime, dynamically identifying which API are implemented by NS RTOS.
Provide different compilation options to support in the binary:
- no TZ API and no client_id API (no concurrent service requests, all NS requests are associated with client id -1)
- no client_id API (all NS context are client id -1) but provide TZ API for multiple contexts (to not block concurrent service requests)
- support TZ API and mandate call to register_client_api before secure service call