[Cbe-oss-dev] [PATCH 04/10]MARS: Dynamic allocation api change

Kazunori Asayama asayama at sm.sony.co.jp
Fri Oct 3 15:17:20 EST 2008


Yuji Mano wrote:
> This changes all API so that objects instances are dynamically allocated
> internally by the API calls. It replaces the *_initialize functions with
> *_create and *_destroy functions.
> 
> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>

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

> 
> ---
>  include/host/mars/mars_context.h         |    4 -
>  include/host/mars/mars_mutex.h           |    6 ++
>  include/host/mars/mars_task.h            |    4 -
>  include/host/mars/mars_task_barrier.h    |    6 +-
>  include/host/mars/mars_task_event_flag.h |    6 +-
>  include/host/mars/mars_task_queue.h      |    7 +-
>  include/host/mars/mars_task_semaphore.h  |   25 +++++++---
>  include/host/mars/mars_workload_queue.h  |    4 -
>  include/mpu/mars/mars_mutex.h            |   15 ------
>  include/mpu/mars/mars_task_barrier.h     |   14 -----
>  include/mpu/mars/mars_task_event_flag.h  |   17 ------
>  include/mpu/mars/mars_task_queue.h       |   24 ---------
>  include/mpu/mars/mars_task_semaphore.h   |   14 -----
>  src/host/lib/mars_context.c              |   77 ++++++++++++++++---------------
>  src/host/lib/mars_mutex.c                |   36 +++++++++++---
>  src/host/lib/mars_task.c                 |   36 +++++++-------
>  src/host/lib/mars_task_barrier.c         |   30 ++++++++----
>  src/host/lib/mars_task_event_flag.c      |   37 ++++++++------
>  src/host/lib/mars_task_queue.c           |   37 ++++++++++----
>  src/host/lib/mars_task_semaphore.c       |   29 ++++++++---
>  src/host/lib/mars_workload_queue.c       |   29 +++++++----
>  src/mpu/lib/mars_mutex.c                 |   14 -----
>  src/mpu/lib/mars_task_barrier.c          |   22 --------
>  src/mpu/lib/mars_task_event_flag.c       |   29 -----------
>  src/mpu/lib/mars_task_queue.c            |   39 ---------------
>  src/mpu/lib/mars_task_semaphore.c        |   20 --------
>  26 files changed, 237 insertions(+), 344 deletions(-)
> 

-- 
(ASAYAMA Kazunori
  (asayama at sm.sony.co.jp))
t



More information about the cbe-oss-dev mailing list