Sound Open Firmware
Loading...
Searching...
No Matches
mailbox.h File Reference
Include dependency graph for mailbox.h:

Go to the source code of this file.

Macros

#define mailbox_get_exception_base()    MAILBOX_EXCEPTION_BASE
 
#define mailbox_get_exception_size()    MAILBOX_EXCEPTION_SIZE
 
#define mailbox_get_dspbox_base()    MAILBOX_DSPBOX_BASE
 
#define mailbox_get_dspbox_size()    MAILBOX_DSPBOX_SIZE
 
#define mailbox_get_hostbox_base()    MAILBOX_HOSTBOX_BASE
 
#define mailbox_get_hostbox_size()    MAILBOX_HOSTBOX_SIZE
 
#define mailbox_get_debug_base()    MAILBOX_DEBUG_BASE
 
#define mailbox_get_debug_size()    MAILBOX_DEBUG_SIZE
 

Functions

static void mailbox_dspbox_write (size_t offset, const void *src, size_t bytes)
 
static void mailbox_dspbox_read (void *dest, size_t dest_size, size_t offset, size_t bytes)
 
static void mailbox_hostbox_write (size_t offset, const void *src, size_t bytes)
 
static void mailbox_hostbox_read (void *dest, size_t dest_size, size_t offset, size_t bytes)
 
static void mailbox_stream_write (size_t offset, const void *src, size_t bytes)
 

Macro Definition Documentation

◆ mailbox_get_debug_base

#define mailbox_get_debug_base ( )     MAILBOX_DEBUG_BASE

◆ mailbox_get_debug_size

#define mailbox_get_debug_size ( )     MAILBOX_DEBUG_SIZE

◆ mailbox_get_dspbox_base

#define mailbox_get_dspbox_base ( )     MAILBOX_DSPBOX_BASE

◆ mailbox_get_dspbox_size

#define mailbox_get_dspbox_size ( )     MAILBOX_DSPBOX_SIZE

◆ mailbox_get_exception_base

#define mailbox_get_exception_base ( )     MAILBOX_EXCEPTION_BASE

◆ mailbox_get_exception_size

#define mailbox_get_exception_size ( )     MAILBOX_EXCEPTION_SIZE

◆ mailbox_get_hostbox_base

#define mailbox_get_hostbox_base ( )     MAILBOX_HOSTBOX_BASE

◆ mailbox_get_hostbox_size

#define mailbox_get_hostbox_size ( )     MAILBOX_HOSTBOX_SIZE

Function Documentation

◆ mailbox_dspbox_read()

static void mailbox_dspbox_read ( void *  dest,
size_t  dest_size,
size_t  offset,
size_t  bytes 
)
inlinestatic

◆ mailbox_dspbox_write()

static void mailbox_dspbox_write ( size_t  offset,
const void *  src,
size_t  bytes 
)
inlinestatic

◆ mailbox_hostbox_read()

static void mailbox_hostbox_read ( void *  dest,
size_t  dest_size,
size_t  offset,
size_t  bytes 
)
inlinestatic

◆ mailbox_hostbox_write()

static void mailbox_hostbox_write ( size_t  offset,
const void *  src,
size_t  bytes 
)
inlinestatic

◆ mailbox_stream_write()

static void mailbox_stream_write ( size_t  offset,
const void *  src,
size_t  bytes 
)
inlinestatic