projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mesa_7_7_branch'
[mesa.git]
/
src
/
gallium
/
drivers
/
cell
/
ppu
/
cell_spu.h
diff --git
a/src/gallium/drivers/cell/ppu/cell_spu.h
b/src/gallium/drivers/cell/ppu/cell_spu.h
index 137f26612e4acd1b403fc8513cba3159b77a35be..c93958a9ed52d87995ed76faed88b71b3ee812a1 100644
(file)
--- a/
src/gallium/drivers/cell/ppu/cell_spu.h
+++ b/
src/gallium/drivers/cell/ppu/cell_spu.h
@@
-30,14
+30,12
@@
#include <libspe2.h>
#include <libspe2.h>
-#include <
libmisc
.h>
+#include <
pthread
.h>
#include "cell/common.h"
#include "cell_context.h"
#include "cell/common.h"
#include "cell_context.h"
-#define MAX_SPUS 8
-
/**
* Global vars, for now anyway.
*/
/**
* Global vars, for now anyway.
*/
@@
-46,14
+44,13
@@
struct cell_global_info
/**
* SPU/SPE handles, etc
*/
/**
* SPU/SPE handles, etc
*/
- spe_context_ptr_t spe_contexts[MAX_SPUS];
- pthread_t spe_threads[MAX_SPUS];
+ spe_context_ptr_t spe_contexts[
CELL_
MAX_SPUS];
+ pthread_t spe_threads[
CELL_
MAX_SPUS];
/**
/**
- * Data sent to SPUs
+ * Data sent to SPUs
at start-up
*/
*/
- struct cell_init_info inits[MAX_SPUS];
- struct cell_command command[MAX_SPUS];
+ struct cell_init_info inits[CELL_MAX_SPUS];
};
};