NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
sivc-instance.h File Reference

Go to the source code of this file.

Data Structures

struct  sivc_queue
 

Macros

#define SIVC_ALIGN_SHIFT   6U
 
#define SIVC_ALIGN   (((uint32_t)1U) << SIVC_ALIGN_SHIFT)
 

Typedefs

typedef void(* sivc_notify_function) (struct sivc_queue *queue)
 Callback: signal the remote endpoint. More...
 
typedef void(* sivc_cache_invalidate_function) (const volatile void *addr, size_t size)
 Callback: Invalidate cache for a given memory range. More...
 
typedef void(* sivc_cache_flush_function) (const volatile void *addr, size_t size)
 Callback: Flush cache for a given memory range. More...
 

Functions

uint32_t sivc_align (uint32_t value)
 Align a number. More...
 
uint32_t sivc_fifo_size (uint32_t nframes, uint32_t frame_size)
 Calculate size of the memory needed for IVC fifo. More...
 
int sivc_init (struct sivc_queue *queue, uintptr_t recv_base, uintptr_t send_base, uint32_t nframes, uint32_t frame_size, sivc_notify_function notify, sivc_cache_invalidate_function cache_invalidate, sivc_cache_flush_function sivc_cache_flush)
 Initialize IVC queue control structure. More...