libspe2
0.9a
Main Page
Data Structures
Files
File List
Globals
spebase
cbea_map.h
Go to the documentation of this file.
1
/*
2
* libspe - A wrapper library to adapt the JSRE SPU usage model to SPUFS
3
* Copyright (C) 2005 IBM Corp.
4
*
5
* This library is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU Lesser General Public License as published by
7
* the Free Software Foundation; either version 2.1 of the License,
8
* or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
13
* License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this library; if not, write to the Free Software Foundation,
17
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*/
19
#ifndef _cbea_map_h_
20
#define _cbea_map_h_
21
22
#ifdef __cplusplus
23
extern
"C"
24
{
25
#endif
26
27
/* spe problem state areas
28
*/
29
30
typedef
struct
spe_mssync_area
{
31
unsigned
int
MFC_MSSync
;
32
}
spe_mssync_area_t
;
33
34
typedef
struct
spe_mfc_command_area
{
35
unsigned
char
reserved_0_3
[4];
36
unsigned
int
MFC_LSA
;
37
unsigned
int
MFC_EAH
;
38
unsigned
int
MFC_EAL
;
39
unsigned
int
MFC_Size_Tag
;
40
union
{
41
unsigned
int
MFC_ClassID_CMD
;
42
unsigned
int
MFC_CMDStatus
;
43
};
44
unsigned
char
reserved_18_103
[236];
45
unsigned
int
MFC_QStatus
;
46
unsigned
char
reserved_108_203
[252];
47
unsigned
int
Prxy_QueryType
;
48
unsigned
char
reserved_208_21B
[20];
49
unsigned
int
Prxy_QueryMask
;
50
unsigned
char
reserved_220_22B
[12];
51
unsigned
int
Prxy_TagStatus
;
52
}
spe_mfc_command_area_t
;
53
54
typedef
struct
spe_spu_control_area
{
55
unsigned
char
reserved_0_3
[4];
56
unsigned
int
SPU_Out_Mbox
;
57
unsigned
char
reserved_8_B
[4];
58
unsigned
int
SPU_In_Mbox
;
59
unsigned
char
reserved_10_13
[4];
60
unsigned
int
SPU_Mbox_Stat
;
61
unsigned
char
reserved_18_1B
[4];
62
unsigned
int
SPU_RunCntl
;
63
unsigned
char
reserved_20_23
[4];
64
unsigned
int
SPU_Status
;
65
unsigned
char
reserved_28_33
[12];
66
unsigned
int
SPU_NPC
;
67
}
spe_spu_control_area_t
;
68
69
typedef
struct
spe_sig_notify_1_area
{
70
unsigned
char
reserved_0_B
[12];
71
unsigned
int
SPU_Sig_Notify_1
;
72
}
spe_sig_notify_1_area_t
;
73
74
typedef
struct
spe_sig_notify_2_area
{
75
unsigned
char
reserved_0_B
[12];
76
unsigned
int
SPU_Sig_Notify_2
;
77
}
spe_sig_notify_2_area_t
;
78
79
80
81
#ifdef __cplusplus
82
}
83
#endif
84
85
#endif
86
Generated on Tue Sep 24 2013 18:02:50 for libspe2 by
1.8.4