Mercurial > hg > Game > Cerium
view TaskManager/Cell/PpeScheduler.cc @ 501:7ddbe22d4cdb draft
Cell inData/outData DMA removal
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 11 Oct 2009 18:20:33 +0900 (2009-10-11) |
parents | 028ffc9c0375 |
children |
line wrap: on
line source
#include <stdlib.h> #include <string.h> #include "PpeScheduler.h" void* PpeScheduler::allocate(int size) { void *buff; posix_memalign(&buff, DEFAULT_ALIGNMENT, size); bzero(buff, size); return buff; }