changeset 638:250c7353ddaf draft

hmmmm
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 19 Nov 2009 18:18:20 +0900
parents 20665e4060ea
children 91d03774c407
files .hgignore .hgtags Document/Cerium_2009.mm Document/Cerium_Framework.mm Document/OSC2009/OSC2009_Hash_LRU.pdf Document/OSC2009/OSC2009_HowtoProgrammingwithCerium.pdf Document/OSC2009/OSC2009_panel_cellarch.pdf Document/OSC2009/SG_onSPU_Panel.pdf Document/SceneGraph.mm Document/fig/DoubleBuffering.graffle Document/fig/PolygonPack2SpanPack.graffle Document/manual/Blender/How_to_create_xml.graffle/data.plist Document/manual/Blender/How_to_create_xml.graffle/image2.png Document/manual/Blender/How_to_create_xml.graffle/image3.png Document/manual/Blender/How_to_create_xml.graffle/image4.png Document/manual/Blender/How_to_create_xml.graffle/image5.png Document/manual/Blender/How_to_create_xml.graffle/image6.png Document/manual/Blender/How_to_create_xml.pdf Document/manual/Blender/img/BlenderLibps3.png Document/manual/Blender/img/Image_open.png Document/manual/Blender/img/Make_parent.png Document/manual/Blender/img/Object_name.png Document/manual/Blender/img/UV_Face_Select.png Document/scenegraph modifier.png Renderer/Engine/Application.cc Renderer/Engine/Application.h Renderer/Engine/Button.cc Renderer/Engine/Button.h Renderer/Engine/Camera.cc Renderer/Engine/Camera.h Renderer/Engine/ChangeLog Renderer/Engine/Func.h Renderer/Engine/Joystick.cc Renderer/Engine/Joystick.h Renderer/Engine/KeyStat.h Renderer/Engine/Keyboard.cc Renderer/Engine/Keyboard.h Renderer/Engine/Light.cc Renderer/Engine/Light.h Renderer/Engine/MainLoop.h Renderer/Engine/Makefile Renderer/Engine/Makefile.cell Renderer/Engine/Makefile.def Renderer/Engine/Makefile.linux Renderer/Engine/Makefile.macosx Renderer/Engine/Pad.cc Renderer/Engine/Pad.h Renderer/Engine/SceneGraph.cc Renderer/Engine/SceneGraph.h Renderer/Engine/SceneGraphArray.h Renderer/Engine/SceneGraphIterator.cc Renderer/Engine/SceneGraphIterator.h Renderer/Engine/SceneGraphRoot.cc Renderer/Engine/SceneGraphRoot.h Renderer/Engine/Span.h Renderer/Engine/SpanC.cc Renderer/Engine/SpanC.h Renderer/Engine/SpanPack.h Renderer/Engine/TODO Renderer/Engine/Tapestry.h Renderer/Engine/TextureHash.cc Renderer/Engine/TextureHash.h Renderer/Engine/base64_de.cc Renderer/Engine/fb.h Renderer/Engine/global_alloc.h Renderer/Engine/hash_texture.h Renderer/Engine/lindaapi.cc Renderer/Engine/lindaapi.h Renderer/Engine/main.cc Renderer/Engine/polygon.cc Renderer/Engine/polygon.h Renderer/Engine/polygon_pack.h Renderer/Engine/scene.h Renderer/Engine/scene_graph_pack.h Renderer/Engine/show_time.cc Renderer/Engine/show_time.h Renderer/Engine/spe/ChainCal.cc Renderer/Engine/spe/ChainCal.h Renderer/Engine/spe/ChainInit.cc Renderer/Engine/spe/ChainInit.h Renderer/Engine/spe/CreateSpan.cc Renderer/Engine/spe/CreateSpan.h Renderer/Engine/spe/DrawBack.cc Renderer/Engine/spe/DrawBack.h Renderer/Engine/spe/DrawSpan.cc Renderer/Engine/spe/DrawSpan.h Renderer/Engine/spe/InitKey.cc Renderer/Engine/spe/InitKey.h Renderer/Engine/spe/Load_Texture.cc Renderer/Engine/spe/Load_Texture.h Renderer/Engine/spe/Makefile Renderer/Engine/spe/Set_Texture.cc Renderer/Engine/spe/Set_Texture.h Renderer/Engine/spe/ShowTime.cc Renderer/Engine/spe/ShowTime.h Renderer/Engine/spe/UpdateKey.cc Renderer/Engine/spe/UpdateKey.h Renderer/Engine/spe/spe-main.cc Renderer/Engine/spe/texture.h Renderer/Engine/spe/viewer_types.cc Renderer/Engine/sys.cc Renderer/Engine/sys.h Renderer/Engine/task/ChainMove.cc Renderer/Engine/task/ChainMove.h Renderer/Engine/task/CreatePolygonFromSceneGraph.cc Renderer/Engine/task/CreatePolygonFromSceneGraph.h Renderer/Engine/task/CreateSpan.cc Renderer/Engine/task/CreateSpan.h Renderer/Engine/task/Draw.cc Renderer/Engine/task/Draw.h Renderer/Engine/task/DrawBack.cc Renderer/Engine/task/DrawBack.h Renderer/Engine/task/DrawSpan.cc Renderer/Engine/task/DrawSpan.h Renderer/Engine/task/InitKey.cc Renderer/Engine/task/InitKey.h Renderer/Engine/task/Load_Texture.cc Renderer/Engine/task/Load_Texture.h Renderer/Engine/task/Move.cc Renderer/Engine/task/Move.h Renderer/Engine/task/SendKey.cc Renderer/Engine/task/SendKey.h Renderer/Engine/task/Set_Texture.cc Renderer/Engine/task/Set_Texture.h Renderer/Engine/task/ShowTime.cc Renderer/Engine/task/ShowTime.h Renderer/Engine/task/Switch.cc Renderer/Engine/task/Switch.h Renderer/Engine/task/UpdateKey.cc Renderer/Engine/task/UpdateKey.h Renderer/Engine/task/create_sgp.cc Renderer/Engine/task/create_sgp.h Renderer/Engine/task/dummy.cc Renderer/Engine/task/dummy.h Renderer/Engine/task/task_init.cc Renderer/Engine/task/texture.h Renderer/Engine/task/update_sgp.cc Renderer/Engine/task/update_sgp.h Renderer/Engine/texture.cc Renderer/Engine/texture.h Renderer/Engine/triangle.cc Renderer/Engine/triangle.h Renderer/Engine/vertex.cc Renderer/Engine/vertex.h Renderer/Engine/viewer.cc Renderer/Engine/viewer.h Renderer/Engine/viewerFB.cc Renderer/Engine/viewerFB.h Renderer/Engine/viewerSDL.cc Renderer/Engine/viewerSDL.h Renderer/Engine/viewer_types.cc Renderer/Engine/viewer_types.h Renderer/Engine/xml.cc Renderer/Engine/xml.h Renderer/Test/Chain.h Renderer/Test/Makefile Renderer/Test/Makefile.cell Renderer/Test/Makefile.def Renderer/Test/Makefile.macosx Renderer/Test/back_action.cc Renderer/Test/back_action.h Renderer/Test/ball_action.cc Renderer/Test/ball_action.h Renderer/Test/ball_bound.cc Renderer/Test/ball_bound.h Renderer/Test/boss1_action.cc Renderer/Test/boss1_action.h Renderer/Test/bullet_action.cc Renderer/Test/bullet_action.h Renderer/Test/camera_action.cc Renderer/Test/camera_action.h Renderer/Test/chain.cc Renderer/Test/chain_old.cc Renderer/Test/cube.cc Renderer/Test/cube_action.cc Renderer/Test/demonstration.h Renderer/Test/direction.cc Renderer/Test/direction.h Renderer/Test/dynamic_create.cc Renderer/Test/dynamic_create.h Renderer/Test/enemy_action.cc Renderer/Test/enemy_action.h Renderer/Test/game_over.cc Renderer/Test/gaplant.cc Renderer/Test/gaplant.h Renderer/Test/gaplant_action.cc Renderer/Test/gaplant_action.h Renderer/Test/hit_judge.cc Renderer/Test/hit_judge.h Renderer/Test/icon.png Renderer/Test/ieshoot.cc Renderer/Test/ieshoot.h Renderer/Test/init_position.cc Renderer/Test/init_position.h Renderer/Test/long_cube.cc Renderer/Test/long_cube.h Renderer/Test/node.cc Renderer/Test/node.h Renderer/Test/panel.cc Renderer/Test/panel.h Renderer/Test/player_action.cc Renderer/Test/player_action.h Renderer/Test/send_linda.cc Renderer/Test/send_linda.h Renderer/Test/title.cc Renderer/Test/universe.cc Renderer/Test/universe.h Renderer/Test/untitled.cc Renderer/Test/untitled.h Renderer/Test/vacuum.cc Renderer/Test/vacuum.h Renderer/Test/viewer.cc Renderer/Test/viewer.h Renderer/Test/writer.c Renderer/Test/xml_file/Ball.xml Renderer/Test/xml_file/LongCube.xml Renderer/Test/xml_file/Venus.xml Renderer/Test/xml_file/blast.xml Renderer/Test/xml_file/blend/Ball.blend Renderer/Test/xml_file/blend/LongCube.blend Renderer/Test/xml_file/blend/blast.blend Renderer/Test/xml_file/blend/boss1.blend Renderer/Test/xml_file/blend/direction.blend Renderer/Test/xml_file/blend/gap_plane_test2.blend Renderer/Test/xml_file/blend/ieboss.blend Renderer/Test/xml_file/blend/iejiki.blend Renderer/Test/xml_file/blend/ietama.blend Renderer/Test/xml_file/blend/images/ball.jpg Renderer/Test/xml_file/blend/images/boss1_organ.png Renderer/Test/xml_file/blend/images/icon.jpg Renderer/Test/xml_file/blend/images/iejiki.jpg Renderer/Test/xml_file/blend/images/ietama.jpg Renderer/Test/xml_file/blend/images/laser_1.png Renderer/Test/xml_file/blend/images/panel_1024.jpg Renderer/Test/xml_file/blend/images/panel_2048.jpg Renderer/Test/xml_file/blend/images/panel_512.jpg Renderer/Test/xml_file/blend/images/player_idle.png Renderer/Test/xml_file/blend/images/player_leftmove.png Renderer/Test/xml_file/blend/images/player_rightmove.png Renderer/Test/xml_file/blend/images/player_turntoleft.png Renderer/Test/xml_file/blend/images/player_turntoright.png Renderer/Test/xml_file/blend/images/redbomb_anim_0.png Renderer/Test/xml_file/blend/images/redbomb_anim_1.png Renderer/Test/xml_file/blend/images/redbomb_anim_2.png Renderer/Test/xml_file/blend/images/redbomb_anim_3.png Renderer/Test/xml_file/blend/images/redbomb_anim_4.png Renderer/Test/xml_file/blend/images/redbomb_anim_5.png Renderer/Test/xml_file/blend/images/redbomb_anim_6.png Renderer/Test/xml_file/blend/images/redbomb_anim_7.png Renderer/Test/xml_file/blend/p_shot.blend Renderer/Test/xml_file/blend/panel_1024.blend Renderer/Test/xml_file/blend/panel_2048.blend Renderer/Test/xml_file/blend/panel_512.blend Renderer/Test/xml_file/blend/player.blend Renderer/Test/xml_file/boss1.xml Renderer/Test/xml_file/chain.xml Renderer/Test/xml_file/cube.xml Renderer/Test/xml_file/cube_big.xml Renderer/Test/xml_file/direction.xml Renderer/Test/xml_file/gamecube.xml Renderer/Test/xml_file/gameover.xml Renderer/Test/xml_file/gap_plane_test.xml Renderer/Test/xml_file/gaplant.xml Renderer/Test/xml_file/ieboss.xml Renderer/Test/xml_file/iejiki.xml Renderer/Test/xml_file/ietama.xml Renderer/Test/xml_file/mcube.xml Renderer/Test/xml_file/p_shot.xml Renderer/Test/xml_file/panel_1024.xml Renderer/Test/xml_file/panel_2048.xml Renderer/Test/xml_file/panel_512.xml Renderer/Test/xml_file/player.xml Renderer/Test/xml_file/player1.xml Renderer/Test/xml_file/sphere.xml Renderer/Test/xml_file/sphere_big.xml Renderer/Test/xml_file/title.xml Renderer/Test/xml_file/universe.xml SceneGraph/BlenderScript/create_mesh.py SceneGraph/BlenderScript/export_xml.py TaskManager/Cell/CellHTaskInfo.cc TaskManager/Cell/CellHTaskInfo.h TaskManager/Cell/CellTaskListInfo.cc TaskManager/Cell/CellTaskListInfo.h TaskManager/Cell/CellTaskManagerImpl.cc TaskManager/Cell/CellTaskManagerImpl.h TaskManager/Cell/SchedNop2Ready.h TaskManager/Cell/SpeThreads.cc TaskManager/Cell/SpeThreads.h TaskManager/Cell/spe/CellDmaManager.cc TaskManager/Cell/spe/CellDmaManager.h TaskManager/Cell/spe/CellScheduler.cc TaskManager/Cell/spe/CellScheduler.h TaskManager/Cell/spe/SpeTaskManagerImpl.cc TaskManager/Cell/spe/SpeTaskManagerImpl.h TaskManager/Cell/spe/main.cc TaskManager/ChangeLog TaskManager/Doxyfile TaskManager/Fifo/FifoDmaManager.cc TaskManager/Fifo/FifoDmaManager.h TaskManager/Fifo/FifoTaskManagerImpl.cc TaskManager/Fifo/FifoTaskManagerImpl.h TaskManager/Fifo/MainScheduler.cc TaskManager/Fifo/MainScheduler.h TaskManager/Makefile TaskManager/Makefile.cell TaskManager/Makefile.def TaskManager/Makefile.fifo TaskManager/include/base.h TaskManager/include/error.h TaskManager/include/types.h TaskManager/kernel/main.cc TaskManager/kernel/memory/MemHash.cc TaskManager/kernel/memory/MemHash.h TaskManager/kernel/memory/MemList.cc TaskManager/kernel/memory/MemList.h TaskManager/kernel/memory/MemorySegment.h TaskManager/kernel/ppe/DmaBuffer.cc TaskManager/kernel/ppe/DmaBuffer.h TaskManager/kernel/ppe/HTask.cc TaskManager/kernel/ppe/HTask.h TaskManager/kernel/ppe/HTaskInfo.cc TaskManager/kernel/ppe/HTaskInfo.h TaskManager/kernel/ppe/MailManager.cc TaskManager/kernel/ppe/MailManager.h TaskManager/kernel/ppe/SimpleTask.h TaskManager/kernel/ppe/Task.cc TaskManager/kernel/ppe/Task.h TaskManager/kernel/ppe/TaskList.h TaskManager/kernel/ppe/TaskListInfo.cc TaskManager/kernel/ppe/TaskListInfo.h TaskManager/kernel/ppe/TaskManager.cc TaskManager/kernel/ppe/TaskManager.h TaskManager/kernel/ppe/TaskManagerImpl.cc TaskManager/kernel/ppe/TaskManagerImpl.h TaskManager/kernel/ppe/TaskQueue.cc TaskManager/kernel/ppe/TaskQueue.h TaskManager/kernel/ppe/TaskQueueInfo.cc TaskManager/kernel/ppe/TaskQueueInfo.h TaskManager/kernel/schedule/DmaManager.h TaskManager/kernel/schedule/ListData.h TaskManager/kernel/schedule/SchedExit.cc TaskManager/kernel/schedule/SchedExit.h TaskManager/kernel/schedule/SchedMail.cc TaskManager/kernel/schedule/SchedMail.h TaskManager/kernel/schedule/SchedNop.cc TaskManager/kernel/schedule/SchedNop.h TaskManager/kernel/schedule/SchedNop2Ready.cc TaskManager/kernel/schedule/SchedTask.cc TaskManager/kernel/schedule/SchedTask.h TaskManager/kernel/schedule/SchedTaskBase.h TaskManager/kernel/schedule/SchedTaskList.cc TaskManager/kernel/schedule/SchedTaskList.h TaskManager/kernel/schedule/Scheduler.cc TaskManager/kernel/schedule/Scheduler.h TaskManager/kernel/sys_task/Finish.cc TaskManager/kernel/sys_task/Finish.h TaskManager/kernel/sys_task/Start.cc TaskManager/kernel/sys_task/Start.h TaskManager/kernel/sys_task/SysFunc.h TaskManager/kernel/sys_task/SysTask.h TaskManager/kernel/sys_task/SysTasks.h TaskManager/kernel/sys_task/systask_register.cc bin/cell_fixpic.pl bin/cell_ovly_table.pl example/HelloWorld/Func.h example/HelloWorld/Makefile example/HelloWorld/Makefile.cell example/HelloWorld/Makefile.def example/HelloWorld/Makefile.linux example/HelloWorld/Makefile.macosx example/HelloWorld/README example/HelloWorld/main.cc example/HelloWorld/ppe/.#Hello.cc example/HelloWorld/ppe/Hello.cc example/HelloWorld/ppe/Hello.h example/HelloWorld/ppe/task_init.cc example/HelloWorld/spe/Hello.cc example/HelloWorld/spe/Hello.h example/HelloWorld/spe/Makefile example/HelloWorld/spe/spe-main.cc example/MemList/Func.h example/MemList/Makefile example/MemList/Makefile.cell example/MemList/Makefile.def example/MemList/Makefile.linux example/MemList/Makefile.macosx example/MemList/README example/MemList/main.cc example/MemList/spe/Hello.cc example/MemList/spe/Hello.h example/MemList/spe/Makefile example/MemList/spe/ld.script example/MemList/spe/ldscript.ed example/MemList/spe/spe-main.cc example/README example/Simple/ChangeLog example/Simple/Func.h example/Simple/Makefile example/Simple/Makefile.cell example/Simple/Makefile.def example/Simple/Makefile.linux example/Simple/Makefile.macosx example/Simple/README example/Simple/main.cc example/Simple/ppe/Twice.cc example/Simple/ppe/Twice.h example/Simple/ppe/task_init.cc example/Simple/spe/Makefile example/Simple/spe/Twice.cc example/Simple/spe/Twice.h example/Simple/spe/spe-main.cc example/basic/ChangeLog example/basic/Func.h example/basic/Makefile example/basic/Makefile.cell example/basic/Makefile.def example/basic/Makefile.linux example/basic/Makefile.macosx example/basic/README example/basic/main.cc example/basic/ppe/Twice.cc example/basic/ppe/Twice.h example/basic/ppe/task_init.cc example/basic/spe/Makefile example/basic/spe/Twice.cc example/basic/spe/Twice.h example/basic/spe/spe-main.cc example/dependency_task/Func.h example/dependency_task/Makefile example/dependency_task/Makefile.cell example/dependency_task/Makefile.def example/dependency_task/Makefile.linux example/dependency_task/Makefile.macosx example/dependency_task/README example/dependency_task/main.cc example/dependency_task/ppe/Exec.cc example/dependency_task/ppe/Exec.h example/dependency_task/ppe/Print.cc example/dependency_task/ppe/Print.h example/dependency_task/ppe/RunFinish.cc example/dependency_task/ppe/RunFinish.h example/dependency_task/ppe/task_init.cc example/dependency_task/spe/Exec.cc example/dependency_task/spe/Exec.h example/dependency_task/spe/Makefile example/dependency_task/spe/Print.cc example/dependency_task/spe/Print.h example/dependency_task/spe/spe-main.cc example/get_segment/.gdbinit example/get_segment/Func.h example/get_segment/Makefile example/get_segment/Makefile.cell example/get_segment/Makefile.def example/get_segment/Makefile.linux example/get_segment/Makefile.macosx example/get_segment/README example/get_segment/main.cc example/get_segment/ppe/Hello.cc example/get_segment/ppe/Hello.h example/get_segment/ppe/Hello1.cc example/get_segment/ppe/Hello1.h example/get_segment/ppe/task_init.cc example/get_segment/spe/Hello.cc example/get_segment/spe/Hello.h example/get_segment/spe/Hello1.cc example/get_segment/spe/Hello1.h example/get_segment/spe/Makefile example/get_segment/spe/fixpic.pl example/get_segment/spe/ld.script.ed example/get_segment/spe/ld.script.orig example/get_segment/spe/ovly_table.pl example/get_segment/spe/spe-main.cc example/mainMem/Func.h example/mainMem/Makefile example/mainMem/Makefile.cell example/mainMem/Makefile.def example/mainMem/Makefile.linux example/mainMem/Makefile.macosx example/mainMem/README example/mainMem/main.cc example/mainMem/ppe/.#Hello.cc example/mainMem/ppe/Hello.cc example/mainMem/ppe/Hello.h example/mainMem/ppe/task_init.cc example/mainMem/spe/Hello.cc example/mainMem/spe/Hello.h example/mainMem/spe/Makefile example/mainMem/spe/spe-main.cc example/many_task/Func.h example/many_task/Makefile example/many_task/Makefile.cell example/many_task/Makefile.def example/many_task/Makefile.linux example/many_task/Makefile.macosx example/many_task/README example/many_task/main.cc example/many_task/ppe/QuickSort.cc example/many_task/ppe/QuickSort.h example/many_task/ppe/mymethod.cc example/many_task/sort.cc example/many_task/sort.h example/many_task/spe/Makefile example/many_task/spe/QuickSort.cc example/many_task/spe/QuickSort.h example/many_task/spe/SpeProfile.cc example/many_task/spe/SpeProfile.h example/many_task/spe/spe-main.cc example/many_task/task_init.cc example/post_function/Func.h example/post_function/Makefile example/post_function/Makefile.cell example/post_function/Makefile.def example/post_function/Makefile.linux example/post_function/Makefile.macosx example/post_function/README example/post_function/main.cc example/post_function/ppe/Hello.cc example/post_function/ppe/Hello.h example/post_function/ppe/task_init.cc example/post_function/spe/Hello.cc example/post_function/spe/Hello.h example/post_function/spe/Makefile example/post_function/spe/spe-main.cc example/renew_task/ChangeLog example/renew_task/Func.h example/renew_task/Makefile example/renew_task/Makefile.cell example/renew_task/Makefile.def example/renew_task/Makefile.linux example/renew_task/Makefile.macosx example/renew_task/README example/renew_task/main.cc example/renew_task/ppe/Renew1.cc example/renew_task/ppe/Renew1.h example/renew_task/ppe/Renew2.cc example/renew_task/ppe/Renew2.h example/renew_task/ppe/Renew3.cc example/renew_task/ppe/Renew3.h example/renew_task/ppe/Renew4.cc example/renew_task/ppe/Renew4.h example/renew_task/ppe/RenewStart.cc example/renew_task/ppe/RenewStart.h example/renew_task/ppe/task_init.cc example/renew_task/spe/Makefile example/renew_task/spe/Renew1.cc example/renew_task/spe/Renew1.h example/renew_task/spe/Renew2.cc example/renew_task/spe/Renew2.h example/renew_task/spe/Renew3.cc example/renew_task/spe/Renew3.h example/renew_task/spe/Renew4.cc example/renew_task/spe/Renew4.h example/renew_task/spe/RenewStart.cc example/renew_task/spe/RenewStart.h example/renew_task/spe/SpeProfile.cc example/renew_task/spe/SpeProfile.h example/renew_task/spe/spe-main.cc example/share_task/Func.h example/share_task/Makefile example/share_task/Makefile.cell example/share_task/Makefile.def example/share_task/Makefile.linux example/share_task/Makefile.macosx example/share_task/README example/share_task/main.cc example/share_task/ppe/Exec.cc example/share_task/ppe/Exec.h example/share_task/ppe/Load.cc example/share_task/ppe/Load.h example/share_task/ppe/RunFinish.cc example/share_task/ppe/RunFinish.h example/share_task/ppe/task_init.cc example/share_task/spe/Exec.cc example/share_task/spe/Exec.h example/share_task/spe/Load.cc example/share_task/spe/Load.h example/share_task/spe/Makefile example/share_task/spe/spe-main.cc example/task_config/Changes example/task_config/tasks.xml example/task_queue/Func.h example/task_queue/Makefile example/task_queue/Makefile.cell example/task_queue/Makefile.def example/task_queue/Makefile.linux example/task_queue/Makefile.macosx example/task_queue/README example/task_queue/main.cc example/task_queue/main.h example/task_queue/ppe/.#Hello.cc example/task_queue/ppe/Hello.cc example/task_queue/ppe/Hello.h example/task_queue/ppe/task_init.cc example/task_queue/spe/Hello.cc example/task_queue/spe/Hello.h example/task_queue/spe/Makefile example/task_queue/spe/spe-main.cc example/word_count/Func.h example/word_count/Makefile example/word_count/Makefile.cell example/word_count/Makefile.def example/word_count/Makefile.linux example/word_count/Makefile.macosx example/word_count/README example/word_count/a.txt example/word_count/c.txt example/word_count/main.cc example/word_count/ppe/Exec.cc example/word_count/ppe/Exec.h example/word_count/ppe/Print.cc example/word_count/ppe/Print.h example/word_count/ppe/RunFinish.cc example/word_count/ppe/RunFinish.h example/word_count/ppe/task_init.cc example/word_count/spe/Exec.cc example/word_count/spe/Exec.h example/word_count/spe/Makefile example/word_count/spe/Print.cc example/word_count/spe/Print.h example/word_count/spe/spe-main.cc example/word_count3/Func.h example/word_count3/Makefile example/word_count3/Makefile.cell example/word_count3/Makefile.def example/word_count3/Makefile.linux example/word_count3/Makefile.macosx example/word_count3/README example/word_count3/main.cc example/word_count3/ppe/Exec.cc example/word_count3/ppe/Exec.h example/word_count3/ppe/Hello.cc example/word_count3/ppe/Hello.h example/word_count3/ppe/Print.cc example/word_count3/ppe/Print.h example/word_count3/ppe/RunFinish.cc example/word_count3/ppe/RunFinish.h example/word_count3/ppe/Wait.cc example/word_count3/ppe/Wait.h example/word_count3/ppe/task_init.cc example/word_count3/spe/Exec.cc example/word_count3/spe/Exec.h example/word_count3/spe/Hello.cc example/word_count3/spe/Hello.h example/word_count3/spe/Makefile example/word_count3/spe/Print.cc example/word_count3/spe/Print.h example/word_count3/spe/Wait.cc example/word_count3/spe/Wait.h example/word_count3/spe/spe-main.cc lib/ld.script.orig lib/tasks.xml old/simple_pack/base64_de.cpp old/simple_pack/cube-p.xml old/simple_pack/cube.h old/simple_pack/cube.xml old/simple_pack/cube_tes.xml old/simple_pack/cylinder.xml old/simple_pack/demonstration.h old/simple_pack/fb.cpp old/simple_pack/icon.png old/simple_pack/main.cpp old/simple_pack/out.txt old/simple_pack/pad.h old/simple_pack/panel.xml old/simple_pack/panel_texture.xml old/simple_pack/polygon.cpp old/simple_pack/polygon.h old/simple_pack/polygon_pack.h old/simple_pack/scene.h old/simple_pack/scene_graph_pack.h old/simple_pack/span.cpp old/simple_pack/span.h old/simple_pack/span_pack.h old/simple_pack/spu_span.h old/simple_pack/sys.cpp old/simple_pack/sys.h old/simple_pack/task/create_pp.cpp old/simple_pack/task/create_sgp.cpp old/simple_pack/task/create_span.cpp old/simple_pack/task/spu_draw.cpp old/simple_pack/task/spu_span.cpp old/simple_pack/task/task_init.cpp old/simple_pack/task/update_sgp.cpp old/simple_pack/tes.xml old/simple_pack/texture.cpp old/simple_pack/texture.h old/simple_pack/trash/demonstration.cpp old/simple_pack/trash/mygl.cpp old/simple_pack/trash/pad.cpp old/simple_pack/trash/scene.cpp old/simple_pack/trash/scene_graph_to_polygon_pack.cpp old/simple_pack/trash/scene_graph_update.cpp old/simple_pack/triangle.cpp old/simple_pack/triangle.h old/simple_pack/vertex.cpp old/simple_pack/vertex.h old/simple_pack/viewer.cpp old/simple_pack/viewer.h old/simple_pack/xml.cpp old/simple_pack/xml.h old/simple_render/Func.h old/simple_render/Span.h old/simple_render/SpanC.cpp old/simple_render/SpanC.h old/simple_render/SpanPack.cpp old/simple_render/SpanPack.h old/simple_render/SpanPackList.h old/simple_render/SpuSpan.cpp old/simple_render/SpuSpan.h old/simple_render/base64_de.cpp old/simple_render/cube-p.xml old/simple_render/cube.h old/simple_render/cube.xml old/simple_render/cube_big.h old/simple_render/cube_big.xml old/simple_render/cube_tes.xml old/simple_render/cylinder.xml old/simple_render/demonstration.h old/simple_render/fb.cpp old/simple_render/fb.h old/simple_render/icon.png old/simple_render/main.cpp old/simple_render/out.txt old/simple_render/pad.h old/simple_render/panel.xml old/simple_render/panel_texture.xml old/simple_render/polygon.cpp old/simple_render/polygon.h old/simple_render/polygon_pack.h old/simple_render/scene.h old/simple_render/scene_graph_pack.h old/simple_render/spe/CreatePolygonPack.cpp old/simple_render/spe/CreatePolygonPack.h old/simple_render/spe/Load_Texture.cpp old/simple_render/spe/Load_Texture.h old/simple_render/spe/SpuDraw.cpp old/simple_render/spe/SpuDraw.h old/simple_render/spe/spe-main.cpp old/simple_render/sys.cpp old/simple_render/sys.h old/simple_render/task/create_pp.cpp old/simple_render/task/create_sgp.cpp old/simple_render/task/create_span.cpp old/simple_render/task/dummy.cpp old/simple_render/task/span_pack_draw.cpp old/simple_render/task/task_init.cpp old/simple_render/task/update_sgp.cpp old/simple_render/tes.xml old/simple_render/test/LoadTexture/Makefile old/simple_render/test/LoadTexture/base64_de.cpp old/simple_render/test/LoadTexture/cube.xml old/simple_render/test/LoadTexture/fb.cpp old/simple_render/test/LoadTexture/main.cpp old/simple_render/test/LoadTexture/polygon.cpp old/simple_render/test/LoadTexture/polygon.h old/simple_render/test/LoadTexture/spe/Load_Texture.cpp old/simple_render/test/LoadTexture/spe/Load_Texture.h old/simple_render/test/LoadTexture/spe/Makefile old/simple_render/test/LoadTexture/spe/spe-main.cpp old/simple_render/test/LoadTexture/viewer.cpp old/simple_render/test/LoadTexture/viewer.h old/simple_render/texture.cpp old/simple_render/texture.h old/simple_render/trash/demonstration.cpp old/simple_render/trash/mygl.cpp old/simple_render/trash/pad.cpp old/simple_render/trash/scene.cpp old/simple_render/trash/scene_graph_to_polygon_pack.cpp old/simple_render/trash/scene_graph_update.cpp old/simple_render/triangle.cpp old/simple_render/triangle.h old/simple_render/vertex.cpp old/simple_render/vertex.h old/simple_render/viewer.cpp old/simple_render/viewer.h old/simple_render/viewer_types.h old/simple_render/xml.cpp old/simple_render/xml.h old/tmp/outer.pl old/tmp/revers.pl old/tmp/test.c
diffstat 5 files changed, 89 insertions(+), 81 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Cell/CellTaskManagerImpl.cc	Thu Nov 19 11:13:42 2009 +0900
+++ b/TaskManager/Cell/CellTaskManagerImpl.cc	Thu Nov 19 18:18:20 2009 +0900
@@ -55,7 +55,6 @@
     ppeManager = new FifoTaskManagerImpl(machineNum);
     // 大半のTaskQueueInfoは、共有される
     MainScheduler *mscheduler = new MainScheduler;
-    set_scheduler((Scheduler*)mscheduler);
     ppeManager->init(mscheduler, this);
     
     ppeManager->get_scheduler()->set_manager(this);
--- a/TaskManager/ChangeLog	Thu Nov 19 11:13:42 2009 +0900
+++ b/TaskManager/ChangeLog	Thu Nov 19 18:18:20 2009 +0900
@@ -17,6 +17,13 @@
 なんだが、SpeTheads は「一つしかない」らしい。spe_running 
 で、走っているものがあるかどうか見るか?
 
+Cell だと、MainScheduler と FifoScheduler の二種類の
+スケジューラがあるのか。
+
+     MainScheduler --- task list -----> FifoScheduler
+     MainScheduler <-- finish task ---- FifoScheduler
+
+というわけね。
 
 2009-11-15 Shinji KONO <kono@ie.u-ryukyu.ac.jp>
 
--- a/TaskManager/Fifo/FifoTaskManagerImpl.cc	Thu Nov 19 11:13:42 2009 +0900
+++ b/TaskManager/Fifo/FifoTaskManagerImpl.cc	Thu Nov 19 18:18:20 2009 +0900
@@ -156,22 +156,24 @@
 MailQueuePtr
 FifoTaskManagerImpl::schedule(TaskListPtr list)
 {
-    MailQueuePtr list_mail; // task list
-    MailQueuePtr sentinel;  // 番兵
-    MailQueuePtr in_mail_list = NULL;
     MailQueuePtr out_mail_list = NULL;
+    if (list) {
+	MailQueuePtr list_mail; // task list
+	MailQueuePtr sentinel;  // 番兵
+	MailQueuePtr in_mail_list = NULL;
 
-    // TaskList のアドレス
-    list_mail = mailManager->create((memaddr)list);
-    in_mail_list = MailManager::append_mailQueue(in_mail_list, list_mail);
+	// TaskList のアドレス
+	list_mail = mailManager->create((memaddr)list);
+	in_mail_list = MailManager::append_mailQueue(in_mail_list, list_mail);
 
-    // EXIT_COMMAND (番兵的な意味で)
-    sentinel  = mailManager->create((memaddr)MY_SPE_COMMAND_EXIT);
-    in_mail_list = MailManager::append_mailQueue(in_mail_list, sentinel);
+	// EXIT_COMMAND (番兵的な意味で)
+	sentinel  = mailManager->create((memaddr)MY_SPE_COMMAND_EXIT);
+	in_mail_list = MailManager::append_mailQueue(in_mail_list, sentinel);
 
-    // scheduler は受け取ったメールを元に実行する
-    scheduler->send_mailList(in_mail_list);
-    scheduler->run();
+	// scheduler は受け取ったメールを元に実行する
+	scheduler->send_mailList(in_mail_list);
+	scheduler->run();
+    }
     out_mail_list = scheduler->recv_mailList();
 
     return out_mail_list;
--- a/example/Simple/README	Thu Nov 19 11:13:42 2009 +0900
+++ b/example/Simple/README	Thu Nov 19 18:18:20 2009 +0900
@@ -2,57 +2,57 @@
  * $Id: README,v 1.5 2008/10/20 10:02:01 gongo Exp $
  */
 
-- 
+- 概要
 
-int ꡢ(Twice) ǡǤ2ܤˤ֤ޤ
+int の配列を送り、タスク(Twice) で、配列の要素を2倍にして送り返します。
 
-PPE->SPE  DMA ž main.cc  twice_init 
-񤤤ƤΤǤ狼äƤ館뤫ʤȿơ¦
-Υǡμ롣
+PPE->SPE の DMA 転送は main.cc の twice_init に
+書いてるのでわかってもらえるかなと信じて、タスク側で
+そのデータの受け取り方を説明する。
 
 -------------------------------------
-PPE Ƥǡμ
+PPE から送られてきたデータの受け取り
 -------------------------------------
 
-void *get_input(void *p, int index) Ȥ
+void *get_input(void *p, int index) を使う。
 
-p ˤ rbuf ޤΤȤʤΤǤ虜虜񤫤ɬפ̵
-index ϡcreate task  add_inData Ȼפɡν֤ˤʤޤ
+p には rbuf が入ります。今のところ確定なのでわざわざ書かせる必要も無いか。。。
+index は、create task 時に add_inData したと思うけど、その順番になります。
 
 add_inData(data1, size1);
 add_inData(data2, size2);
 
-ν֤ǵҤ硢
+の順番で記述した場合、
 
 data1 = get_input(rbuf, 0);
 data2 = get_input(rbuf, 0);
 
-Ǽޤ
+で取れます。
 
 -------------------------------------
-PPE إǡ
+PPE へデータを送る
 -------------------------------------
 
-void *get_output(void *p, int index) Ȥ
+void *get_output(void *p, int index) を使う。
 
-p  wbuf, index  input ƱǤǤ
-get_output Ǽäΰǥǡ񤱤С
-Υλˡadd_outData ǻꤷɥ쥹˽񤭹ޤޤ
+p は wbuf, index は input と同じ感じでいいです。
+get_output で受け取った領域でデータを書けば、
+このタスクが終了した後に、add_outData で指定したアドレスに書き込まれます。
 
 
-- ¹ˡ
+- 実行方法
 
 ./twice [-cpu spe_num] [-length data_length]
 
-  -cpu     Ѥ SPU ο
-           // Ϥޤ̵̣ץǤ
-           // ξ硢ʣ˿ʬƤ줾 2 ܤäƤ
-           // а̣ΤΤˤʤޤï(ry
+  -cpu     使用する SPU の数
+           // 今回はあまり意味の無いオプションです。
+           // 巨大な配列の場合、複数に振り分けてそれぞれで 2 倍させるっていう
+           // 処理を入れれば意味のあるものになります。誰か(ry
 
-  -length  Ǥο
+  -length  配列の要素の数
 
 
-- ¹
+- 実行例
 
 % ./twice
 before ---
@@ -71,17 +71,17 @@
  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 
 zsh: bus error  ./twice -length 15
 
-ξ硢PS3(SPEȤä)Ǥ bus error Фޤ
-ͳ length ˤäơǡΥХȿ
-4Х(int) x 15 = 60 Х Ǥ
-PPE <-> SPE Ǥ DMA žΥ
-1,2,4,8Х, ⤷ 16ХܿȷޤäƤޤ
-Υ˸꤬硢Τ褦 bus error Фޤ
-դξܤͤϡ
+上の場合、PS3上(SPE使った場合)では bus error が出ます。
+この理由は length にあって、送るデータのバイト数が
+4バイト(int) x 15 = 60 バイト だからです。
+PPE <-> SPE での DMA 転送のサイズは
+1,2,4,8バイト, もしくは 16バイト倍数と決まっています。
+このサイズに誤りがある場合、上のように bus error が出ます。
+この辺の詳しい仕様は、
 
-Game_project/ps3/docs ˤ PDF 
+Game_project/ps3/docs にある PDF や
 
-Fixstars Υ
-http://cell.fixstars.com/ps3linux/index.php/3.3DMAžˤǡμϤ
+Fixstars のサイト
+http://cell.fixstars.com/ps3linux/index.php/3.3 DMA転送によるデータの受け渡し
 
-ȤФ狼Ȼפޤ
+とか見ればわかると思います
--- a/example/basic/README	Thu Nov 19 11:13:42 2009 +0900
+++ b/example/basic/README	Thu Nov 19 18:18:20 2009 +0900
@@ -2,57 +2,57 @@
  * $Id: README,v 1.5 2008/10/20 10:02:01 gongo Exp $
  */
 
-- 
+- 概要
 
-int ꡢ(Twice) ǡǤ2ܤˤ֤ޤ
+int の配列を送り、タスク(Twice) で、配列の要素を2倍にして送り返します。
 
-PPE->SPE  DMA ž main.cc  twice_init 
-񤤤ƤΤǤ狼äƤ館뤫ʤȿơ¦
-Υǡμ롣
+PPE->SPE の DMA 転送は main.cc の twice_init に
+書いてるのでわかってもらえるかなと信じて、タスク側で
+そのデータの受け取り方を説明する。
 
 -------------------------------------
-PPE Ƥǡμ
+PPE から送られてきたデータの受け取り
 -------------------------------------
 
-void *get_input(void *p, int index) Ȥ
+void *get_input(void *p, int index) を使う。
 
-p ˤ rbuf ޤΤȤʤΤǤ虜虜񤫤ɬפ̵
-index ϡcreate task  add_inData Ȼפɡν֤ˤʤޤ
+p には rbuf が入ります。今のところ確定なのでわざわざ書かせる必要も無いか。。。
+index は、create task 時に add_inData したと思うけど、その順番になります。
 
 add_inData(data1, size1);
 add_inData(data2, size2);
 
-ν֤ǵҤ硢
+の順番で記述した場合、
 
 data1 = get_input(rbuf, 0);
 data2 = get_input(rbuf, 0);
 
-Ǽޤ
+で取れます。
 
 -------------------------------------
-PPE إǡ
+PPE へデータを送る
 -------------------------------------
 
-void *get_output(void *p, int index) Ȥ
+void *get_output(void *p, int index) を使う。
 
-p  wbuf, index  input ƱǤǤ
-get_output Ǽäΰǥǡ񤱤С
-Υλˡadd_outData ǻꤷɥ쥹˽񤭹ޤޤ
+p は wbuf, index は input と同じ感じでいいです。
+get_output で受け取った領域でデータを書けば、
+このタスクが終了した後に、add_outData で指定したアドレスに書き込まれます。
 
 
-- ¹ˡ
+- 実行方法
 
 ./twice [-cpu spe_num] [-length data_length]
 
-  -cpu     Ѥ SPU ο
-           // Ϥޤ̵̣ץǤ
-           // ξ硢ʣ˿ʬƤ줾 2 ܤäƤ
-           // а̣ΤΤˤʤޤï(ry
+  -cpu     使用する SPU の数
+           // 今回はあまり意味の無いオプションです。
+           // 巨大な配列の場合、複数に振り分けてそれぞれで 2 倍させるっていう
+           // 処理を入れれば意味のあるものになります。誰か(ry
 
-  -length  Ǥο
+  -length  配列の要素の数
 
 
-- ¹
+- 実行例
 
 % ./twice
 before ---
@@ -71,17 +71,17 @@
  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 
 zsh: bus error  ./twice -length 15
 
-ξ硢PS3(SPEȤä)Ǥ bus error Фޤ
-ͳ length ˤäơǡΥХȿ
-4Х(int) x 15 = 60 Х Ǥ
-PPE <-> SPE Ǥ DMA žΥ
-1,2,4,8Х, ⤷ 16ХܿȷޤäƤޤ
-Υ˸꤬硢Τ褦 bus error Фޤ
-դξܤͤϡ
+上の場合、PS3上(SPE使った場合)では bus error が出ます。
+この理由は length にあって、送るデータのバイト数が
+4バイト(int) x 15 = 60 バイト だからです。
+PPE <-> SPE での DMA 転送のサイズは
+1,2,4,8バイト, もしくは 16バイト倍数と決まっています。
+このサイズに誤りがある場合、上のように bus error が出ます。
+この辺の詳しい仕様は、
 
-Game_project/ps3/docs ˤ PDF 
+Game_project/ps3/docs にある PDF や
 
-Fixstars Υ
-http://cell.fixstars.com/ps3linux/index.php/3.3DMAžˤǡμϤ
+Fixstars のサイト
+http://cell.fixstars.com/ps3linux/index.php/3.3 DMA転送によるデータの受け渡し
 
-ȤФ狼Ȼפޤ
+とか見ればわかると思います