summaryrefslogtreecommitdiff
path: root/cesar/interface/src/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/interface/src/interface.c')
-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);