Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Cell/CellTaskListInfo.cc @ 629:8843edf37c0e
Cell 64 bit tried, but not yet worked.
Cell's list DMA is 32bit.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Nov 2009 13:32:58 +0900 |
parents | 5c194c71eca8 |
children | 8a6f1fa038de |
comparison
equal
deleted
inserted
replaced
628:306c9a7717c3 | 629:8843edf37c0e |
---|---|
1 #include <stdio.h> | 1 #include <stdio.h> |
2 #include <stdlib.h> | 2 #include <stdlib.h> |
3 #include "CellTaskListInfo.h" | 3 #include "CellTaskListInfo.h" |
4 | 4 |
5 #define NEXT_ADDR(addr, size) \ | 5 #define NEXT_ADDR(addr, size) \ |
6 (TaskListPtr)((int)(addr) + (size)) | 6 (TaskListPtr)((memaddr)(addr) + (size)) |
7 | 7 |
8 int | 8 int |
9 CellTaskListInfo::extend_pool(int num) | 9 CellTaskListInfo::extend_pool(int num) |
10 { | 10 { |
11 TaskListPtr q = NULL; | 11 TaskListPtr q = NULL; |