Mercurial > hg > Game > Cerium
changeset 303:ad413540eeec draft
spu worked. Makefile warning remains.
author | kono@localhost.localdomain |
---|---|
date | Mon, 08 Jun 2009 18:21:01 +0900 |
parents | 40db021f6272 |
children | df3d65ae7d12 |
files | TaskManager/Makefile.cell TaskManager/kernel/schedule/SchedTaskImpl.cc include/TaskManager/SchedTaskImpl.h |
diffstat | 3 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Makefile.cell Mon Jun 08 18:07:26 2009 +0900 +++ b/TaskManager/Makefile.cell Mon Jun 08 18:21:01 2009 +0900 @@ -12,7 +12,7 @@ $(CELL_SPE_DIR)/SchedNop.cc \ $(CELL_SPE_DIR)/SchedTaskImpl.cc \ $(CELL_SPE_DIR)/TaskGroup.cc -CELL_SPE_SCHEDULE_OBJ = $(CELL_SPE_SCHEDULE_SRC: .cc=.o) +CELL_SPE_SCHEDULE_OBJ = $(CELL_SPE_SCHEDULE_SRC:.cc=.o) CELL_SPE_DIR = $(IMPL_CELL_DIR)/spe CELL_SPE_SRCS = $(wildcard $(CELL_SPE_DIR)/*.cc) @@ -26,7 +26,7 @@ all: default -default: $(TARGET) $(SPETARGET) +default: $(CELL_SPE_SCHEDULE_SRC) $(TARGET) $(SPETARGET) PPE_ALL_OBJS = $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(IMPL_CELL_OBJS) @@ -39,12 +39,12 @@ $(SPETARGET): $(CELL_SPE_OBJS) ar crus $@ $(CELL_SPE_OBJS) +$(CELL_SPE_SCHEDULE_SRC): kernel/schedule/*.cc + cp kernel/schedule/*.cc $(CELL_SPE_DIR)/ + $(CELL_SPE_OBJS): %.o : %.cc $(SPUCC) $(CFLAGS) $(SPE_CFLAGS) $(INCLUDE) -c $< -o $@ -$(CELL_SPE_SCHEDULE_SRC): kernel/schedule/*.cc - cp kernel/schedule/*.cc $(CELL_SPE_DIR)/ - celldistclean: cellclean rm -f $(TARGET) rm -f $(SPETARGET)
--- a/TaskManager/kernel/schedule/SchedTaskImpl.cc Mon Jun 08 18:07:26 2009 +0900 +++ b/TaskManager/kernel/schedule/SchedTaskImpl.cc Mon Jun 08 18:21:01 2009 +0900 @@ -49,7 +49,7 @@ * Scheduler の持つ、使い回しの buffer ではなく * 新たに allocate されたものなので、ここで free する */ -SchedTaskImpl::~SchedTask(void) +SchedTaskImpl::~SchedTaskImpl(void) { if (__flag_renewTask == SCHED_TASK_RENEW) { free(__inListData);