[Cbe-oss-dev] [PATCH 01/10]MARS: Add to from ea static inline functions
Kazunori Asayama
asayama at sm.sony.co.jp
Fri Oct 3 14:43:12 EST 2008
Yuji Mano wrote:
> This adds static inline functions mars_ptr_to_ea and mars_ea_to_ptr to replace
> the direct casting when converting back and forth from a pointer to 64-bit int.
>
> 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 | 10 ++++++++++
> src/host/lib/mars_context.c | 4 ++--
> src/host/lib/mars_task.c | 19 +++++++++----------
> src/host/lib/mars_task_barrier.c | 3 ++-
> src/host/lib/mars_task_event_flag.c | 5 ++---
> src/host/lib/mars_task_queue.c | 20 +++++++++-----------
> src/host/lib/mars_task_semaphore.c | 3 ++-
> src/host/lib/mars_task_signal.c | 3 +--
> src/host/lib/mars_workload_queue.c | 5 +++--
> 9 files changed, 40 insertions(+), 32 deletions(-)
--
(ASAYAMA Kazunori
(asayama at sm.sony.co.jp))
t
More information about the cbe-oss-dev
mailing list