[Cbe-oss-dev] [PATCH 04/22]MARS/base: Mutex cleanup
Kazunori Asayama
asayama at sm.sony.co.jp
Thu Jan 22 12:29:28 EST 2009
Yuji Mano wrote:
> This fixes cleansup the mutex implementation to reduce code size.
>
> It removes the mars_mutex_lock/unlock api that used a static mutex instance.
> Caller must always supply the pointer to an allocated mutex structure.
>
> Remove dependency on base library dma routines from the mutex implementations.
>
> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
Acked-by: Kazunori Asayama <asayama at sm.sony.co.jp>
>
> ---
> base/include/host/mars/mutex.h | 53 ++++++++++++++++++++++++++++++++++-------
> base/include/mpu/mars/mutex.h | 53 -----------------------------------------
> base/src/mpu/lib/mutex.c | 21 +++-------------
> doxygen/src/doxygen | 4 +--
> samples/mutex/mpu_task.c | 5 ++-
> 5 files changed, 55 insertions(+), 81 deletions(-)
--
(Kazunori Asayama
(asayama at sm.sony.co.jp))
t
More information about the cbe-oss-dev
mailing list