/******************************************************************************\ * Authors: Iconoclast * * Release: 2013.12.12 * * License: CC0 Public Domain Dedication * * * * To the extent possible under law, the author(s) have dedicated all copyright * * and related and neighboring rights to this software to the public domain * * worldwide. This software is distributed without any warranty. * * * * You should have received a copy of the CC0 Public Domain Dedication along * * with this software. * * If not, see . * \******************************************************************************/ #ifndef _RSP_H_ #define _RSP_H_ #ifdef _MSC_VER #define INLINE __inline #define NOINLINE __declspec(noinline) #define ALIGNED _declspec(align(16)) #else #define INLINE __attribute__((always_inline)) #define NOINLINE __attribute__((noinline)) #define ALIGNED __attribute__((aligned(16))) #endif /* * Streaming SIMD Extensions version import management */ #ifdef ARCH_MIN_SSSE3 #define ARCH_MIN_SSE2 #include #endif #ifdef ARCH_MIN_SSE2 #include #endif typedef unsigned char byte; #ifndef RCPREG_DEFINED #define RCPREG_DEFINED typedef uint32_t RCPREG; #endif NOINLINE void message(const char* body, int priority) { (void)body; (void)priority; } /* * Update RSP configuration memory from local file resource. */ #define CHARACTERS_PER_LINE (80) /* typical standard DOS text file limit per line */ NOINLINE void update_conf(const char* source) { (void)source; } #include "su.h" #include "vu/vu.h" /* Allocate the RSP CPU loop to its own functional space. */ NOINLINE extern void run_task(usf_state_t * state); #include "execute.h" #endif