[Cbe-oss-dev] [PATCH 16/17]MARS/modules/task: DMA api compatibility
Yuji Mano
yuji.mano at am.sony.com
Wed Dec 3 13:59:24 EST 2008
Use new dma API inside task module code.
Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
---
modules/task/src/mpu/module/task_module.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/modules/task/src/mpu/module/task_module.c
+++ b/modules/task/src/mpu/module/task_module.c
@@ -208,7 +208,7 @@ static void __attribute__((noinline)) co
break;
/* request dma put of the context save unit specified */
- mars_dma_large_put((void *)(MARS_TASK_BASE_ADDR + list[i].addr),
+ mars_dma_put((void *)(MARS_TASK_BASE_ADDR + list[i].addr),
task->context_save_area_ea + offset,
list[i].size, MARS_DMA_TAG);
@@ -235,7 +235,7 @@ static void __attribute__((noinline)) co
break;
/* request dma get of the context save unit specified */
- mars_dma_large_get((void *)(MARS_TASK_BASE_ADDR + list[i].addr),
+ mars_dma_get((void *)(MARS_TASK_BASE_ADDR + list[i].addr),
task->context_save_area_ea + offset,
list[i].size, MARS_DMA_TAG);
@@ -424,7 +424,7 @@ void mars_module_main(void)
/* if stack pointer is uninitialized run fresh, otherwise resume */
if (!task->stack) {
/* dma the exec code into mpu storage from host storage */
- mars_dma_large_get_and_wait((void *)MARS_TASK_BASE_ADDR,
+ mars_dma_get_and_wait((void *)MARS_TASK_BASE_ADDR,
task->exec_ea, task->exec_size, MARS_DMA_TAG);
/* 0 the bss section */
More information about the cbe-oss-dev
mailing list