libspe2  0.9a
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;
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;
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;
68 
69 typedef struct spe_sig_notify_1_area {
70  unsigned char reserved_0_B[12];
71  unsigned int SPU_Sig_Notify_1;
73 
74 typedef struct spe_sig_notify_2_area {
75  unsigned char reserved_0_B[12];
76  unsigned int SPU_Sig_Notify_2;
78 
79 
80 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif
86 
unsigned char reserved_208_21B[20]
Definition: cbea_map.h:48
unsigned int MFC_Size_Tag
Definition: cbea_map.h:39
unsigned int SPU_Mbox_Stat
Definition: cbea_map.h:60
unsigned int SPU_In_Mbox
Definition: cbea_map.h:58
unsigned char reserved_0_3[4]
Definition: cbea_map.h:35
unsigned char reserved_18_103[236]
Definition: cbea_map.h:44
unsigned int MFC_EAH
Definition: cbea_map.h:37
unsigned char reserved_20_23[4]
Definition: cbea_map.h:63
unsigned int SPU_Out_Mbox
Definition: cbea_map.h:56
unsigned char reserved_0_B[12]
Definition: cbea_map.h:75
unsigned int SPU_RunCntl
Definition: cbea_map.h:62
unsigned char reserved_28_33[12]
Definition: cbea_map.h:65
unsigned int Prxy_QueryType
Definition: cbea_map.h:47
unsigned char reserved_220_22B[12]
Definition: cbea_map.h:50
struct spe_mfc_command_area spe_mfc_command_area_t
unsigned char reserved_0_B[12]
Definition: cbea_map.h:70
unsigned int MFC_MSSync
Definition: cbea_map.h:31
unsigned int MFC_CMDStatus
Definition: cbea_map.h:42
unsigned int SPU_Sig_Notify_1
Definition: cbea_map.h:71
unsigned int SPU_NPC
Definition: cbea_map.h:66
unsigned char reserved_8_B[4]
Definition: cbea_map.h:57
unsigned char reserved_18_1B[4]
Definition: cbea_map.h:61
struct spe_sig_notify_2_area spe_sig_notify_2_area_t
unsigned char reserved_10_13[4]
Definition: cbea_map.h:59
struct spe_mssync_area spe_mssync_area_t
struct spe_sig_notify_1_area spe_sig_notify_1_area_t
unsigned int MFC_EAL
Definition: cbea_map.h:38
unsigned int MFC_QStatus
Definition: cbea_map.h:45
unsigned int MFC_LSA
Definition: cbea_map.h:36
unsigned char reserved_0_3[4]
Definition: cbea_map.h:55
unsigned int SPU_Status
Definition: cbea_map.h:64
unsigned int MFC_ClassID_CMD
Definition: cbea_map.h:41
unsigned int Prxy_QueryMask
Definition: cbea_map.h:49
unsigned int SPU_Sig_Notify_2
Definition: cbea_map.h:76
struct spe_spu_control_area spe_spu_control_area_t
unsigned int Prxy_TagStatus
Definition: cbea_map.h:51
unsigned char reserved_108_203[252]
Definition: cbea_map.h:46