|
AM64x MCU+ SDK
10.00.00
|
|
Go to the documentation of this file.
137 uint32_t coreIntrNum,
138 uint32_t intrPriority,
139 uint32_t triggerType,
155 typedef void *(*EnetOsal_CreateMutex)(void);
222 typedef struct EnetOsal_Cfg_s
324 uint32_t coreIntrNum,
325 uint32_t intrPriority,
326 uint32_t intrTrigType,
EnetOsal_TimerRead timerRead
Definition: enet_osal.h:267
void(* EnetOsal_CacheWb)(const void *addr, int32_t size)
Enet OSAL cache writeback function prototype.
Definition: enet_osal.h:200
EnetOsal_RestoreIntr restoreIntr
Definition: enet_osal.h:234
EnetOsal_RestoreAllIntr restoreAllIntr
Definition: enet_osal.h:228
uintptr_t(* EnetOsal_DisableAllIntr)(void)
Enet OSAL intr disable function prototype.
Definition: enet_osal.h:94
uint16_t size
Definition: tisci_boardcfg.h:1
void(* EnetOsal_RestoreAllIntr)(uintptr_t cookie)
Enet OSAL intr restore function prototype.
Definition: enet_osal.h:101
uint32_t EnetOsal_timerGetDiff(uint32_t startTime)
Get the time difference with respect to timestamp.
uint32_t EnetOsal_timerRead(void)
Read current timer value.
@ ENETOSAL_ARM_GIC_TRIG_TYPE_HIGH_LEVEL
Definition: enet_osal.h:76
void *(* EnetOsal_RegisterIntr)(EnetOsal_Isr isrFxn, uint32_t coreIntrNum, uint32_t intrPriority, uint32_t triggerType, void *arg)
Enet OSAL ISR register function prototype.
Definition: enet_osal.h:136
EnetOsal_UnlockMutex unlockMutex
Definition: enet_osal.h:252
EnetOsal_DisableAllIntr disableAllIntr
Definition: enet_osal.h:225
void(* EnetOsal_RestoreIntr)(uint32_t coreIntrNum)
Enet OSAL intr restore function prototype.
Definition: enet_osal.h:108
void(* EnetOsal_LockMutex)(void *hMutex)
Enet OSAL mutex lock function prototype.
Definition: enet_osal.h:169
void EnetOsal_cacheWbInv(const void *addr, int32_t size)
Write-back and invalidate cache.
void EnetOsal_disableIntr(uint32_t coreIntrNum)
Disable interrupt.
uint64_t addr
Definition: csl_udmap_tr.h:3
void EnetOsal_cacheWb(const void *addr, int32_t size)
Write-back cache.
EnetOsal_CacheWbInv cacheWbInv
Definition: enet_osal.h:264
@ ENETOSAL_ARM_GIC_TRIG_TYPE_EDGE
Definition: enet_osal.h:73
void(* EnetOsal_CacheWbInv)(const void *addr, int32_t size)
Enet OSAL cache writeback invalidate function prototype.
Definition: enet_osal.h:209
@ ENETOSAL_ARM_GIC_TRIG_TYPE_FALLING_EDGE
Definition: enet_osal.h:85
uint32_t(* EnetOsal_TimerRead)(void)
Enet OSAL timer read function prototype.
Definition: enet_osal.h:217
EnetOsal_DeleteMutex deleteMutex
Definition: enet_osal.h:246
Enet OSAL configuration paramters.
Definition: enet_osal.h:223
void * EnetOsal_registerIntr(EnetOsal_Isr isrFxn, uint32_t coreIntrNum, uint32_t intrPriority, uint32_t intrTrigType, void *arg)
Register an ISR for an interrupt.
void EnetOsal_deleteMutex(void *hMutex)
Delete a mutex.
void EnetOsal_unlockMutex(void *hMutex)
Unlock a mutex.
EnetOsal_CreateMutex createMutex
Definition: enet_osal.h:243
void EnetOsal_cacheInv(const void *addr, int32_t size)
Invalidate cache.
void EnetOsal_init(const EnetOsal_Cfg *cfg)
Initialize OSAL with provided configuration.
EnetOsal_UnregisterIntr unregisterIntr
Definition: enet_osal.h:240
void EnetOsal_deinit(void)
Deinitialize OSAL.
@ ENETOSAL_ARM_GIC_TRIG_TYPE_RISING_EDGE
Definition: enet_osal.h:82
bool(* EnetOsal_IsCacheCoherent)(void)
Enet OSAL cache coherency check function prototype.
Definition: enet_osal.h:183
EnetOsal_DisableIntr disableIntr
Definition: enet_osal.h:231
void *(* EnetOsal_CreateMutex)(void)
Enet OSAL mutex create function prototype to protect critical section.
Definition: enet_osal.h:155
@ ENETOSAL_ARM_GIC_TRIG_TYPE_LEVEL
Definition: enet_osal.h:70
void(* EnetOsal_UnregisterIntr)(void *hHwi)
Enet OSAL ISR unregister function prototype.
Definition: enet_osal.h:147
EnetOSAL_armGicTrigType_t
Enumerates the types different trigger types. Please refer to Section 4.3.13 Interrupt Configuration ...
Definition: enet_osal.h:69
void(* EnetOsal_UnlockMutex)(void *hMutex)
Enet OSAL mutex lock function prototype.
Definition: enet_osal.h:176
EnetOsal_LockMutex lockMutex
Definition: enet_osal.h:249
EnetOsal_CacheInv cacheInv
Definition: enet_osal.h:258
uintptr_t EnetOsal_disableAllIntr(void)
Enet OSAL intr disable function prototype.
void EnetOsal_lockMutex(void *hMutex)
Lock a mutex.
void EnetOsal_enableIntr(uint32_t coreIntrNum)
Enable interrupt.
void EnetOsal_unregisterIntr(void *hHwi)
Unregister an interrupt.
void(* EnetOsal_Isr)(uintptr_t arg)
Enet OSAL ISR callback function prototype.
Definition: enet_osal.h:122
EnetOsal_IsCacheCoherent isCacheCoherent
Definition: enet_osal.h:255
void(* EnetOsal_DeleteMutex)(void *hMutex)
Enet OSAL mutex delete function prototype.
Definition: enet_osal.h:162
void EnetOsal_restoreAllIntr(uintptr_t cookie)
Enet OSAL intr restore function prototype.
void(* EnetOsal_CacheInv)(const void *addr, int32_t size)
Enet OSAL cache invalidate function prototype.
Definition: enet_osal.h:191
EnetOsal_CacheWb cacheWb
Definition: enet_osal.h:261
EnetOsal_RegisterIntr registerIntr
Definition: enet_osal.h:237
void * EnetOsal_createMutex(void)
Create a mutex.
void(* EnetOsal_DisableIntr)(uint32_t coreIntrNum)
Enet OSAL intr disable function prototype.
Definition: enet_osal.h:115
@ ENETOSAL_ARM_GIC_TRIG_TYPE_LOW_LEVEL
Definition: enet_osal.h:79