summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/maximus
diff options
context:
space:
mode:
authorlaranjeiro2009-11-24 10:15:36 +0000
committerlaranjeiro2009-11-24 10:15:36 +0000
commitbc1d902cc3565664e3fba6aed83a460beaffbf1c (patch)
tree4978eeb6d23374fc6da5dff20d7275967a09e4ba /cesar/hal/phy/maximus
parent72100a01f7cf5f235404943b26e1bda0ad7b41ea (diff)
cesar/hal/phy/maximus: add missing function, closes #816
SAR needs to know the bridge DMA status to remove the jobs from its own list. This is used when the job in the SAR's list correspond to the last one processed by the bridge DMA. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6468 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/hal/phy/maximus')
-rw-r--r--cesar/hal/phy/maximus/src/maximus_bridgedma.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cesar/hal/phy/maximus/src/maximus_bridgedma.c b/cesar/hal/phy/maximus/src/maximus_bridgedma.c
index adfd4adca2..6736dbfeed 100644
--- a/cesar/hal/phy/maximus/src/maximus_bridgedma.c
+++ b/cesar/hal/phy/maximus/src/maximus_bridgedma.c
@@ -422,3 +422,9 @@ phy_bridgedma_current_job (phy_bridgedma_t *ctx)
return ctx->job_current;
}
+bool
+phy_bridgedma_status (phy_bridgedma_t *ctx)
+{
+ dbg_assert (ctx);
+ return ctx->status.running;
+}