IPC API  3.40.00.06
Data Structures | Macros | Enumerations
MmType.h File Reference

Detailed Description

Specific types to support the MmRpc and MmServiceMgr modules.

#include <ti/grcm/RcmServer.h>
Include dependency graph for MmType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MmType_ParamSig
 Parameter Signature. More...
 
struct  MmType_FxnSig
 Function Signature. More...
 
struct  MmType_FxnSigTab
 Function Signature Table. More...
 
struct  MmType_Param
 Marshalled Parameter structure. More...
 

Macros

#define MmType_MAX_NAMELEN   (64)
 Maximum function name length. More...
 
#define MmType_MAX_PARAMS   (10)
 Maximum number of parameters. More...
 
#define MmType_NumElem(x)   (sizeof(x)/sizeof((x)[0]))
 Compute number of elements in given array. More...
 
#define MmType_PtrType(type)   ((type) | MmType_Param_PTR)
 

Enumerations

enum  MmType_Dir {
  MmType_Dir_In = 0,
  MmType_Dir_Out,
  MmType_Dir_Bi,
  MmType_Dir_MAX
}
 Parameter Direction. More...
 
enum  MmType_ParamType {
  MmType_Param_VOID = 0,
  MmType_Param_S08,
  MmType_Param_U08,
  MmType_Param_S16,
  MmType_Param_U16,
  MmType_Param_S32,
  MmType_Param_U32,
  MmType_Param_S64,
  MmType_Param_U64,
  MmType_Param_PTR = 0x80,
  MmType_Param_MAX
}
 Parameter Type. More...
 

Macro Definition Documentation

#define MmType_MAX_NAMELEN   (64)

Maximum function name length.

#define MmType_MAX_PARAMS   (10)

Maximum number of parameters.

#define MmType_NumElem (   x)    (sizeof(x)/sizeof((x)[0]))

Compute number of elements in given array.

The given array must be the actual array buffer, not a pointer to it.

#define MmType_PtrType (   type)    ((type) | MmType_Param_PTR)

Enumeration Type Documentation

enum MmType_Dir

Parameter Direction.

The parameter direction relative to the function it describes.

Enumerator
MmType_Dir_In 
MmType_Dir_Out 
MmType_Dir_Bi 
MmType_Dir_MAX 

Parameter Type.

Enumerator
MmType_Param_VOID 
MmType_Param_S08 
MmType_Param_U08 
MmType_Param_S16 
MmType_Param_U16 
MmType_Param_S32 
MmType_Param_U32 
MmType_Param_S64 
MmType_Param_U64 
MmType_Param_PTR 

OR'd with lower type to make a pointer to the correct type

MmType_Param_MAX 
Copyright 2015, Texas Instruments Incorporated