summaryrefslogtreecommitdiff
path: root/cesar/interface/src
diff options
context:
space:
mode:
authorschodet2008-09-16 11:25:39 +0000
committerschodet2008-09-16 11:25:39 +0000
commit9f004d6deaf0393cef17815bd491e0e53634abf0 (patch)
tree9ae0f753394ffda31023909d73db0702f3f7b9cf /cesar/interface/src
parent54255f96e8bdaa9eedf9ecbaaaae5c1b87f530c3 (diff)
* interface:
- fixed compilation problems when interface is stubbed. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2982 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/interface/src')
-rw-r--r--cesar/interface/src/interface.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/cesar/interface/src/interface.c b/cesar/interface/src/interface.c
index 1f5f29139a..8bdb6c5959 100644
--- a/cesar/interface/src/interface.c
+++ b/cesar/interface/src/interface.c
@@ -52,6 +52,21 @@ interface_thread_process (cyg_addrword_t data)
}
#endif
+#if CONFIG_INTERFACE_FCALL
+
+/**
+ * Called by the interface fcall module when the buffer has been used.
+ * This allows the HLE to know which buffer is newly available to be used or
+ * give it back to the ARM. (the buffer is borrowed by the linux).
+ *
+ * \param ctx the interface context.
+ * \param buffer the buffer used to send the data.
+ */
+static void
+interface_hle_send_done (interface_t *ctx, u8 *buffer);
+
+#endif
+
/**
* Initialise the interface module.
@@ -368,7 +383,7 @@ interface_hle_send (interface_t *ctx, uint *data, uint length)
* \param ctx the interface context.
* \param buffer the buffer used to send the data.
*/
-void
+static void
interface_hle_send_done (interface_t *ctx, u8 *buffer)
{
dbg_assert (ctx);