OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
spursConfiguration.h
1/* [SCE CONFIDENTIAL DOCUMENT]
2 * PLAYSTATION(R)3 SPU Optimized Bullet Physics Library (http://bulletphysics.com)
3 * Copyright (C) 2007 Sony Computer Entertainment Inc.
4 * All Rights Reserved.
5 */
6
7#ifndef __CELL_SPU_CONFIG
8#define __CELL_SPU_CONFIG
9
10#include <cell/spurs.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#define CELL_SPURS_DEFAULT_SPU_COUNT 1
17
18// "-Wl,--whole-archive -lprof_stub -Wl,--no-whole-archive"
19
20enum CellSpursReturn {
21 CELL_SPURS_OK=0,
22 CELL_SPURS_EBUSY,
23 CELL_SPURS_EINVAL,
24 CELL_SPURS_EMISC
25};
26
53
64int spursConfiguration_initWithSpurs(CellSpurs *pSpurs, int iSPUCount, uint8_t auiPriorities[8]);
65
75int spursConfiguration_initWithSpuCount(int iSPUCount);
76
84int spursConfiguration_terminate();
85
90bool spursConfiguration_isSpursInitialized();
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif //__CELL_SPU_CONFIG