My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Macros | Enumerations
otz_common.h File Reference

Go to the source code of this file.

Classes

struct  otzc_notify_data
 Shared memory for Notification. More...
 
struct  otzc_encode_meta
 Metadata used for encoding/decoding. More...
 
struct  otz_smc_cmd
 SMC command structure. More...
 

Macros

#define OTZ_MAX_REQ_PARAMS   12
 
#define OTZ_MAX_RES_PARAMS   4
 
#define OTZ_1K_SIZE   1024
 

Enumerations

enum  otz_cmd_status { OTZ_STATUS_INCOMPLETE = 0, OTZ_STATUS_COMPLETE, OTZ_STATUS_MAX = 0x7FFFFFFF }
 SMC return values. More...
 
enum  otz_cmd_type {
  OTZ_CMD_TYPE_INVALID = 0, OTZ_CMD_TYPE_NS_TO_SECURE, OTZ_CMD_TYPE_SECURE_TO_NS, OTZ_CMD_TYPE_SECURE_TO_SECURE,
  OTZ_CMD_TYPE_MAX = 0x7FFFFFFF
}
 Command type. More...
 
enum  otzc_param_type { OTZC_PARAM_IN = 0, OTZC_PARAM_OUT }
 Parameters type. More...
 

Macro Definition Documentation

#define OTZ_1K_SIZE   1024
#define OTZ_MAX_REQ_PARAMS   12
#define OTZ_MAX_RES_PARAMS   4

Enumeration Type Documentation

SMC return values.

Command status

Enumerator
OTZ_STATUS_INCOMPLETE 
OTZ_STATUS_COMPLETE 
OTZ_STATUS_MAX 

Command type.

Enumerator
OTZ_CMD_TYPE_INVALID 
OTZ_CMD_TYPE_NS_TO_SECURE 
OTZ_CMD_TYPE_SECURE_TO_NS 
OTZ_CMD_TYPE_SECURE_TO_SECURE 
OTZ_CMD_TYPE_MAX 

Parameters type.

Enumerator
OTZC_PARAM_IN 
OTZC_PARAM_OUT