SDL API Guide for J7200
sdl_osal.h File Reference

Introduction

This file contains the SDL OSAL API's.

Go to the source code of this file.

Data Structures

struct  SDL_OSAL_hwipParams
 This structure contains the parameters for interrupt registration

through the SDL OSAL interface.

More...
 
struct  SDL_OSAL_Interface
 This structure contains the pointers for the OSAL interfaces

provided by the application to SDL_OSAL_init.

More...
 

Typedefs

typedef void(* pSDL_OSAL_interruptCallbackFunction) (uintptr_t arg)
 

Prototype for the interrupt callback function

More...
 
typedef void * pSDL_OSAL_hwipHandle
 
typedef int32_t(* pSDL_OSAL_interruptFunction) (int32_t intNum)
 

Prototype for the interrupt enable/disable functions

More...
 
typedef pSDL_OSAL_hwipHandle(* pSDL_OSAL_registerFunction) (SDL_OSAL_hwipParams *pParams)
 

Prototype for the interrupt registration function

More...
 
typedef int32_t(* pSDL_OSAL_deregisterFunction) (pSDL_OSAL_hwipHandle handle)
 

Prototype for the interrupt de-register function

More...
 
typedef int32_t(* pSDL_OSAL_globalDisableInterruptsFunction) (uintptr_t *key)
 

Prototype for the interrupt global disable function

More...
 
typedef int32_t(* pSDL_OSAL_globalRestoreInterruptsFunction) (uintptr_t key)
 

Prototype for the interrupt global restore function

More...
 
typedef void(* pSDL_OSAL_printFunction) (const char *traceBuf)
 

Prototype for the print function

More...
 
typedef int32_t(* pSDL_OSAL_delayFunction) (int32_t ndelay)
 

Prototype for the delay function

More...
 
typedef void *(* pSDL_OSAL_addrTranslateFunction) (uint64_t addr, uint32_t size)
 Prototype for address translation function. More...
 

Functions

int32_t SDL_OSAL_init (SDL_OSAL_Interface *osalInterface)
 OSAL init. More...
 
int32_t SDL_OSAL_enableInterrupt (int32_t intNum)
 OSAL enable interrupt. More...
 
int32_t SDL_OSAL_disableInterrupt (int32_t intNum)
 OSAL disable interrupt. More...
 
int32_t SDL_OSAL_registerInterrupt (SDL_OSAL_hwipParams *pParams, pSDL_OSAL_hwipHandle *handle)
 OSAL register interrupt. More...
 
int32_t SDL_OSAL_deregisterInterrupt (pSDL_OSAL_hwipHandle handle)
 OSAL deregister interrupt. More...
 
int32_t SDL_OSAL_globalDisableInterrupts (uintptr_t *key)
 OSAL globally disable interrupts. More...
 
int32_t SDL_OSAL_globalRestoreInterrupts (uintptr_t key)
 OSAL globally enable interrupts. More...
 
void SDL_OSAL_printf (const char *traceBuf)
 OSAL print function. More...
 
int32_t SDL_OSAL_delay (int32_t ndelay)
 OSAL delay. More...
 
void * SDL_OSAL_addrTranslate (uint64_t addr, uint32_t size)
 OSAL Address translation function. More...