#include "gm_call_trace.h"
#include "gm_crc32.h"
#include "gm_debug.h"
#include "gm_enable_security.h"
#include "gm_internal.h"
Functions | |
gm_status_t | gm_init () |
void | gm_finalize () |
This file contains the GM API functions gm_init() and gm_finalize().
|
gm_init() initializes GM. It increments the GM initialization counter and initializes GM if it was uninitialized. This call must be performed before any other GM call and before any reference to a GM global variable (e.g.: GM_PAGE_LEN). Each call to gm_init() should be matched by a call to gm_finalize().
|
|
gm_finalize() decrements the GM initialization counter and if it becomes zero, frees all resources associated with GM in the current process. Each call to gm_finalize() should be matched by a call to gm_init().
|