[Cbe-oss-dev] [PATCH 09/17]MARS/core: DMA api compatibility
Yuji Mano
yuji.mano at am.sony.com
Wed Dec 3 13:59:04 EST 2008
Use new dma API inside kernel code.
Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
---
core/src/mpu/kernel/kernel.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/core/src/mpu/kernel/kernel.c
+++ b/core/src/mpu/kernel/kernel.c
@@ -38,6 +38,7 @@
#include <stddef.h>
#include <stdint.h>
#include <string.h>
+#include <spu_mfcio.h>
#include "config.h"
@@ -327,7 +328,7 @@ static int __attribute__((noinline)) sch
return MARS_KERNEL_STATUS_IDLE;
/* load the exec code into mpu storage from host storage */
- mars_dma_large_get_and_wait((void *)MARS_WORKLOAD_MODULE_BASE_ADDR,
+ mars_dma_get_and_wait((void *)MARS_WORKLOAD_MODULE_BASE_ADDR,
workload.module.exec_ea, workload.module.exec_size,
MARS_DMA_TAG);
More information about the cbe-oss-dev
mailing list