psl1ght
A free SDK for Sony's PS3 console
Loading...
Searching...
No Matches
spu_printf.h
Go to the documentation of this file.
1#ifndef __SPU_PRINTF_H__
2#define __SPU_PRINTF_H__
3
4#include <sys/spu_event.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10extern int _spu_call_event_va_arg(uint32_t _spup, const char *fmt, ...);
11
12#define spu_printf(fmt, args...) \
13 _spu_call_event_va_arg(EVENT_PRINTF_PORT<<EVENT_PORT_SHIFT, fmt, ##args)
14
15#ifdef __cplusplus
16 }
17#endif
18
19#endif
SPU runtime library.
int _spu_call_event_va_arg(uint32_t _spup, const char *fmt,...)