X-Git-Url: https://git.ti.com/gitweb?p=ipc%2Fipcdev.git;a=blobdiff_plain;f=packages%2Fti%2Fipc%2FGateMP.h;h=356ee9b3573073f8948b573cbc2c03eb4631342a;hp=6feff19a58ba1b75fa233692ffd733ab00867a46;hb=1d3ba1288663722b944215fbb6a99b5b65a5cdeb;hpb=20e95a17db724e94e1b398e54e31eeb719e40dee diff --git a/packages/ti/ipc/GateMP.h b/packages/ti/ipc/GateMP.h index 6feff19..356ee9b 100644 --- a/packages/ti/ipc/GateMP.h +++ b/packages/ti/ipc/GateMP.h @@ -93,64 +93,64 @@ extern "C" { /*! * @brief The resource is still in use */ -#define GateMP_S_BUSY 2 +#define GateMP_S_BUSY (2) /*! * @brief The module has been already setup */ -#define GateMP_S_ALREADYSETUP 1 +#define GateMP_S_ALREADYSETUP (1) /*! * @brief Operation is successful. */ -#define GateMP_S_SUCCESS 0 +#define GateMP_S_SUCCESS (0) /*! * @brief Generic failure. */ -#define GateMP_E_FAIL -1 +#define GateMP_E_FAIL (-1) /*! * @brief Argument passed to function is invalid. */ -#define GateMP_E_INVALIDARG -2 +#define GateMP_E_INVALIDARG (-2) /*! * @brief Operation resulted in memory failure. */ -#define GateMP_E_MEMORY -3 +#define GateMP_E_MEMORY (-3) /*! * @brief The specified entity already exists. */ -#define GateMP_E_ALREADYEXISTS -4 +#define GateMP_E_ALREADYEXISTS (-4) /*! * @brief Unable to find the specified entity. */ -#define GateMP_E_NOTFOUND -5 +#define GateMP_E_NOTFOUND (-5) /*! * @brief Operation timed out. */ -#define GateMP_E_TIMEOUT -6 +#define GateMP_E_TIMEOUT (-6) /*! * @brief Module is not initialized. */ -#define GateMP_E_INVALIDSTATE -7 +#define GateMP_E_INVALIDSTATE (-7) /*! * @brief A failure occurred in an OS-specific call */ -#define GateMP_E_OSFAILURE -8 +#define GateMP_E_OSFAILURE (-8) /*! * @brief Specified resource is not available */ -#define GateMP_E_RESOURCE -9 +#define GateMP_E_RESOURCE (-9) /*! * @brief Operation was interrupted. Please restart the operation */ -#define GateMP_E_RESTART -10 +#define GateMP_E_RESTART (-10) /* ============================================================================= * Structures & Enums