Skip to main content

Functions

gpr_init

Performs external initialization of the GPR infrastructure. Each supported domain calls this function once during system bring-up or during runtime to initialize the GPR infrastructure for that domain. The GPR infrastructure must be initialized before any other GPR APIs can be called. @codeexample @lstlisting #include “gpr_api.h” int32_t rc = gpr_init(); if ( rc ) @endlstlisting @newpage
Returns AR_EOK When successful.

gpr_init_domain

To initialize GPR with particular domain.
Returns AR_EOK When successful.

gpr_deinit

Performs external deinitialization of the GPR infrastructure. Each supported domain calls this function once during system shutdown or during runtime to deinitialize the GPR infrastructure for that domain. No functions except for gpr_init() can be called after the GPR infrastructure is deinitialized. @codeexample @lstlisting #include “gpr_api.h” int32_t rc = gpr_deinit(); if ( rc ) @endlstlisting @newpage
Returns AR_EOK When successful.