Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50625 Library:50543 in /sites/rockbox.org/flyspray/adodb/drivers/adodb-mysqli.inc.php on line 108 #ifndef IPC_H #define IPC_H /* Inter-Processor Communication */ /* Meant to be included by both DSP and ARM code. */ #ifdef __GNUC__ /* aligned(2) is VERY IMPORTANT. It ensures gcc generates code with "STRH" instead of with "STRB". STRB in the DSP memory range is broken because the HPI is in 16-bit mode. */ #define PACKED __attribute__((packed)) __attribute__((aligned (2))) #else #define PACKED #endif #define PCM_SIZE 32768 /* bytes */ struct sdram_buffer { unsigned long addr; unsigned short bytes; } PACKED; #define SDRAM_BUFFERS 4 struct ipc_message { unsigned short msg; union { #define MSG_INIT 1 struct msg_init { unsigned short sdem_addrl; unsigned short sdem_addrh; } init PACKED; #define MSG_DEBUGF 2 struct { short buffer[80]; } debugf PACKED; #define MSG_REFILL 3 struct { unsigned short topbottom; /* byte offset to unlocked half-buffer */ unsigned short _DMA_TRG; unsigned short _SDEM_ADDRH; unsigned short _SDEM_ADDRL; unsigned short _DSP_ADDRH; unsigned short _DSP_ADDRL; unsigned short _DMA_SIZE; } refill PACKED; } payload PACKED; } PACKED; #endif