47 #include "sdl_types.h" 78 typedef struct SDL_OSAL_hwipParams_s
135 typedef void* (*pSDL_OSAL_addrTranslateFunction)(uint64_t addr, uint32_t size);
142 typedef struct SDL_OSAL_Interface_s
pSDL_OSAL_printFunction printFxn
Definition: sdl_osal.h:157
int32_t SDL_OSAL_globalDisableInterrupts(uintptr_t *key)
OSAL globally disable interrupts.
void(* pSDL_OSAL_interruptCallbackFunction)(uintptr_t arg)
Prototype for the interrupt callback function
Definition: sdl_osal.h:71
int32_t SDL_OSAL_init(SDL_OSAL_Interface *osalInterface)
OSAL init.
int32_t SDL_OSAL_enableInterrupt(int32_t intNum)
OSAL enable interrupt.
void * SDL_OSAL_addrTranslate(uint64_t addr, uint32_t size)
OSAL Address translation function.
pSDL_OSAL_deregisterFunction deregisterInterrupt
Definition: sdl_osal.h:151
pSDL_OSAL_delayFunction delay
Definition: sdl_osal.h:159
pSDL_OSAL_interruptFunction disableInterrupt
Definition: sdl_osal.h:147
pSDL_OSAL_hwipHandle(* pSDL_OSAL_registerFunction)(SDL_OSAL_hwipParams *pParams)
Prototype for the interrupt registration function
Definition: sdl_osal.h:100
int32_t SDL_OSAL_disableInterrupt(int32_t intNum)
OSAL disable interrupt.
pSDL_OSAL_addrTranslateFunction addrTranslate
Definition: sdl_osal.h:161
pSDL_OSAL_registerFunction registerInterrupt
Definition: sdl_osal.h:149
int32_t(* pSDL_OSAL_globalDisableInterruptsFunction)(uintptr_t *key)
Prototype for the interrupt global disable function
Definition: sdl_osal.h:112
uintptr_t callbackArg
Definition: sdl_osal.h:84
int32_t(* pSDL_OSAL_delayFunction)(int32_t ndelay)
Prototype for the delay function
Definition: sdl_osal.h:130
This structure contains the parameters for interrupt registration.
Definition: sdl_osal.h:78
pSDL_OSAL_globalRestoreInterruptsFunction globalRestoreInterrupts
Definition: sdl_osal.h:155
void *(* pSDL_OSAL_addrTranslateFunction)(uint64_t addr, uint32_t size)
Prototype for address translation function.
Definition: sdl_osal.h:135
pSDL_OSAL_interruptFunction enableInterrupt
Definition: sdl_osal.h:145
int32_t intNum
Definition: sdl_osal.h:80
This structure contains the pointers for the OSAL interfaces.
Definition: sdl_osal.h:142
int32_t SDL_OSAL_deregisterInterrupt(pSDL_OSAL_hwipHandle handle)
OSAL deregister interrupt.
int32_t SDL_OSAL_globalRestoreInterrupts(uintptr_t key)
OSAL globally enable interrupts.
int32_t(* pSDL_OSAL_globalRestoreInterruptsFunction)(uintptr_t key)
Prototype for the interrupt global restore function
Definition: sdl_osal.h:118
void(* pSDL_OSAL_printFunction)(const char *traceBuf)
Prototype for the print function
Definition: sdl_osal.h:124
int32_t SDL_OSAL_registerInterrupt(SDL_OSAL_hwipParams *pParams, pSDL_OSAL_hwipHandle *handle)
OSAL register interrupt.
void SDL_OSAL_printf(const char *traceBuf)
OSAL print function.
pSDL_OSAL_interruptCallbackFunction callback
Definition: sdl_osal.h:82
void * pSDL_OSAL_hwipHandle
Definition: sdl_osal.h:88
pSDL_OSAL_globalDisableInterruptsFunction globalDisableInterrupts
Definition: sdl_osal.h:153
int32_t SDL_OSAL_delay(int32_t ndelay)
OSAL delay.
int32_t(* pSDL_OSAL_interruptFunction)(int32_t intNum)
Prototype for the interrupt enable/disable functions
Definition: sdl_osal.h:94
int32_t(* pSDL_OSAL_deregisterFunction)(pSDL_OSAL_hwipHandle handle)
Prototype for the interrupt de-register function
Definition: sdl_osal.h:106