summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/maximus
diff options
context:
space:
mode:
authorburet2010-04-07 08:59:46 +0000
committerburet2010-04-07 08:59:46 +0000
commit2a4faccf597ab82e24fc120bc6d390f811ba54a5 (patch)
tree8d5a54b8fe83e6b2296311b3fc9e93600d6cb03a /cesar/hal/phy/maximus
parent1cde53a480053aef2d5bab338509a07e99efb2ac (diff)
cesar/hal/phy/maximus: add ecos declarations in maximus, refs #1412
Add decalrations of used ECOS functions in HAL PHY Maximus. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6894 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/hal/phy/maximus')
-rw-r--r--cesar/hal/phy/maximus/src/maximus_phy_ctrl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/cesar/hal/phy/maximus/src/maximus_phy_ctrl.c b/cesar/hal/phy/maximus/src/maximus_phy_ctrl.c
index 68bcbc5f97..665e911f9e 100644
--- a/cesar/hal/phy/maximus/src/maximus_phy_ctrl.c
+++ b/cesar/hal/phy/maximus/src/maximus_phy_ctrl.c
@@ -29,6 +29,12 @@
#include <errno.h>
#ifdef ECOS
+externC void
+cyg_interrupt_call_pending_DSRs (void);
+
+externC void
+cyg_interrupt_post_dsr (CYG_ADDRWORD data);
+
static cyg_uint32 _phy_ecos_isr(cyg_vector_t vector, cyg_addrword_t data)
{
int is_call_dsr;
@@ -2189,7 +2195,7 @@ phy_deferred_schedule (phy_t *ctx)
#ifdef ECOS
/* Post DSR. Same DSR is used for phy and pbdma interrupts. */
- cyg_interrupt_post_dsr (ctx->control.phy_interrupt);
+ cyg_interrupt_post_dsr ((CYG_ADDRWORD) &ctx->control.phy_interrupt);
/* Call DSR-s. */
cyg_interrupt_call_pending_DSRs ();
#endif /* ECOS */