# HG changeset patch # User Shinji KONO # Date 1279162793 -32400 # Node ID a5ccf763fc3fe1716462345b758342c7343bccc5 # Parent 5f5301028e296f8e7cc9a41d19e21e7a3fc09bf9 minor fix. possible schedTaskArray overrun diff -r 5f5301028e29 -r a5ccf763fc3f TaskManager/Makefile.def --- a/TaskManager/Makefile.def Thu Jul 15 00:29:52 2010 +0900 +++ b/TaskManager/Makefile.def Thu Jul 15 11:59:53 2010 +0900 @@ -30,7 +30,7 @@ ABIBIT = 32 #OPT = -O9 -OPT = -g # -DTASK_LIST_MAIL +OPT = -g -O9 -DTASK_LIST_MAIL CC = g++ CFLAGS = -Wall `sdl-config --cflags` -m$(ABIBIT) $(OPT) diff -r 5f5301028e29 -r a5ccf763fc3f TaskManager/kernel/schedule/SchedTaskArray.h --- a/TaskManager/kernel/schedule/SchedTaskArray.h Thu Jul 15 00:29:52 2010 +0900 +++ b/TaskManager/kernel/schedule/SchedTaskArray.h Thu Jul 15 11:59:53 2010 +0900 @@ -17,10 +17,6 @@ virtual ~SchedTaskArray(); - - SchedTaskBase *savedTask; - Task *array; - private: /* variables */ diff -r 5f5301028e29 -r a5ccf763fc3f TaskManager/kernel/schedule/SchedTaskArrayLoad.h --- a/TaskManager/kernel/schedule/SchedTaskArrayLoad.h Thu Jul 15 00:29:52 2010 +0900 +++ b/TaskManager/kernel/schedule/SchedTaskArrayLoad.h Thu Jul 15 11:59:53 2010 +0900 @@ -13,8 +13,6 @@ BASE_NEW_DELETE(SchedTaskArrayLoad); - SchedTaskBase *savedTask; - private: /* variables */ diff -r 5f5301028e29 -r a5ccf763fc3f TaskManager/kernel/schedule/SchedTaskArrayNop.cc --- a/TaskManager/kernel/schedule/SchedTaskArrayNop.cc Thu Jul 15 00:29:52 2010 +0900 +++ b/TaskManager/kernel/schedule/SchedTaskArrayNop.cc Thu Jul 15 11:59:53 2010 +0900 @@ -56,7 +56,7 @@ savedTask ->write(); free(atask); delete savedTask; - + savedTask = 0; } SchedTaskBase* diff -r 5f5301028e29 -r a5ccf763fc3f TaskManager/kernel/schedule/SchedTaskBase.h --- a/TaskManager/kernel/schedule/SchedTaskBase.h Thu Jul 15 00:29:52 2010 +0900 +++ b/TaskManager/kernel/schedule/SchedTaskBase.h Thu Jul 15 11:59:53 2010 +0900 @@ -53,7 +53,7 @@ memaddr params_addr; memaddr waiter; - memaddr dummy; + Task *array; /** * read データ、write 用のバッファ