[Cbe-oss-dev] [PATCH 06/11]MARS: Add task exit code support

Kazunori Asayama asayama at sm.sony.co.jp
Fri Sep 12 18:15:46 EST 2008


Yuji Mano wrote:
> This adds support for the MARS task API to be able to return the exit_code
> returned by mars_task_main or passed into mars_task_exit, to the user. The
> exit_code can be obtained when calling mars_task_wait. It is left up to the
> user how they will handle any errors returned by the task program.
> 
> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>

Acked-by: Kazunori Asayama <asayama at sm.sony.co.jp>

> 
> ---
>  include/common/mars/mars_task_types.h  |    3 +-
>  include/host/mars/mars_task.h          |    6 +++-
>  include/mpu/mars/mars_task.h           |   10 +++++--
>  src/host/lib/mars_task.c               |   12 +++++++--
>  src/mpu/kernel/mars_kernel_scheduler.c |   11 +++-----
>  src/mpu/lib/mars_entry.S               |    2 -
>  src/mpu/lib/mars_task.c                |   42 ++++++++++++++++++++++++++++-----
>  7 files changed, 64 insertions(+), 22 deletions(-)
> 
-- 
(ASAYAMA Kazunori
  (asayama at sm.sony.co.jp))
t



More information about the cbe-oss-dev mailing list