# HG changeset patch # User yutaka@localhost.localdomain # Date 1292972698 -32400 # Node ID 49f404f9d51c764d230822c0e85fcdf30293e1a2 # Parent c5797afaaff1e3754880d70b9495a792917533ff minor fix diff -r c5797afaaff1 -r 49f404f9d51c TaskManager/Cell/spe/CellDmaManager.cc --- a/TaskManager/Cell/spe/CellDmaManager.cc Wed Dec 22 08:00:42 2010 +0900 +++ b/TaskManager/Cell/spe/CellDmaManager.cc Wed Dec 22 08:04:58 2010 +0900 @@ -16,17 +16,16 @@ */ void CellDmaManager::dma_load(void *buf, memaddr addr, uint32 size, uint32 mask) { - /* + if ((unsigned long)addr&0xf) { printf("dma_load is not aligned. addr = 0x%lx, size = %d\n", (unsigned long)addr, size); return ; - } - */ + } + if (size == 0) return ; mfc_get((volatile void *)buf, addr, size, mask, 0, 0); - } /** diff -r c5797afaaff1 -r 49f404f9d51c TaskManager/kernel/ppe/TaskManagerImpl.h --- a/TaskManager/kernel/ppe/TaskManagerImpl.h Wed Dec 22 08:00:42 2010 +0900 +++ b/TaskManager/kernel/ppe/TaskManagerImpl.h Wed Dec 22 08:04:58 2010 +0900 @@ -7,7 +7,6 @@ #include "TaskQueue.h" #include "HTask.h" #include "Scheduler.h" -#include class MemList; extern QueueInfo *taskQueuePool ;