[Cbe-oss-dev] [PATCH 3/9]MARS: Partial context save
Kazunori Asayama
asayama at sm.sony.co.jp
Mon Oct 20 16:42:03 EST 2008
Yuji Mano wrote:
> This adds support for partial context saves of tasks.
> The mars_task_create function now accepts a new input parameter which is a
> pointer to a list of mars_task_context_save_unit structures that specify
> what blocks of the task context to save/restore during a task context switch.
>
> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
Acked-by: Kazunori Asayama <asayama at sm.sony.co.jp>
>
> ---
> include/common/mars/task_types.h | 52 +++++++++++++++-----
> include/host/mars/task.h | 43 +++++++++++-----
> src/host/lib/task.c | 100 ++++++++++++++++++++++++++++-----------
> src/mpu/kernel/kernel_task.c | 56 +++++++++++++++++++--
> src/mpu/lib/task.c | 4 -
> src/mpu/lib/task_barrier.c | 4 -
> src/mpu/lib/task_event_flag.c | 2
> src/mpu/lib/task_queue.c | 11 +++-
> src/mpu/lib/task_semaphore.c | 2
> src/mpu/lib/task_signal.c | 2
> 10 files changed, 210 insertions(+), 66 deletions(-)
>
--
(ASAYAMA Kazunori
(asayama at sm.sony.co.jp))
t
More information about the cbe-oss-dev
mailing list