2.7.2 IrisCore lifecycle functions

IrisSupportLib defines the following functions to manage its lifecycle:

IrisCore_init()

int64_t IrisCore_init(void **iris_core_context_out)

Initialises the GlobalInstance and provides an IrisC context pointer that should be used for all future calls to IrisC functions.

Arguments:

iris_core_context_out
Output argument. The value of *iris_core_context_out is set to the IrisCore context pointer.

Return value:

An IrisErrorCode value indicating whether the call was successful.

IrisCore_shutdown()

int64_t IrisCore_shutdown(void *iris_core_context)

Destroys the GlobalInstance and shuts down Iris. All instances are unregistered and any running server is shut down. The context pointer passed in should not be used after this function returns.

Arguments:

iris_core_context
Context pointer returned by IrisCore_init().

Return value:

An IrisErrorCode value indicating whether the call was successful.

Non-ConfidentialPDF file icon PDF version101196_0100_00_en
Copyright © 2018 Arm Limited or its affiliates. All rights reserved.