123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- #ifndef _SSI_PAL_MUTEX_H
- #define _SSI_PAL_MUTEX_H
- #include "ssi_pal_types.h"
- #include "ssi_pal_mutex_plat.h"
- #include "ssi_pal_types_plat.h"
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- #define SaSi_PalMutexCreate(a) (0)
- #define SaSi_PalMutexDestroy(a) (0)
- #define SaSi_PalMutexLock(a, b) (0)
- #define SaSi_PalMutexUnlock(a) (0)
- int32_t SaSi_PalPowerModeStatus(void);
- uint32_t SaSi_PalPowerSaveModeSelect(bool isPowerSaveMode);
- #define CC_SUCCESS SASI_SUCCESS
- #define CC_FALSE SASI_FALSE
- #define CC_TRUE SASI_TRUE
- #define CC_STATUS_GET SaSi_PalPowerSaveModeStatus()
- #define CC_IS_WAKE SaSi_PalPowerSaveModeSelect(CC_FALSE)
- #define CC_IS_IDLE SaSi_PalPowerSaveModeSelect(CC_TRUE)
- #ifdef __cplusplus
- }
- #endif
- #endif
|