comparison TaskManager/Cell/spe/CellDmaManager.h @ 895:bed529c55eda

add alignment of classes in SPU width and height are automatically set in frame buffer API
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 16 Jul 2010 17:23:49 +0900
parents 31d0a5baafdf
children 586b4f825f24
comparison
equal deleted inserted replaced
894:bfc61d38c004 895:bed529c55eda
16 BASE_NEW_DELETE(CellDmaManager); 16 BASE_NEW_DELETE(CellDmaManager);
17 17
18 typedef struct dma_list { 18 typedef struct dma_list {
19 uint32 addr; // should be memaddr, but in Cell's specification... 19 uint32 addr; // should be memaddr, but in Cell's specification...
20 uint32 size; 20 uint32 size;
21 } DmaList, *DmaListPtr; 21 } __attribute__ ((aligned (DEFAULT_ALIGNMENT))) DmaList, *DmaListPtr;
22 22
23 23
24 CellDmaManager() ; 24 CellDmaManager() ;
25 25
26 /* variables */ 26 /* variables */
51 void null_start_dmawait_profile(); 51 void null_start_dmawait_profile();
52 void null_end_dmawait_profile(unsigned long long *counter); 52 void null_end_dmawait_profile(unsigned long long *counter);
53 53
54 54
55 /* end */ 55 /* end */
56 }; 56 } __attribute__ ((aligned (DEFAULT_ALIGNMENT)));
57 57
58 #endif 58 #endif