summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2012-02-12 23:43:05 +0100
committerSteve Markgraf <steve@steve-m.de>2012-02-12 23:43:05 +0100
commit978ec28b718597b57344761a2423f4967c9343d3 (patch)
tree031f22f517c704a150e618c2f691d387129340d5
parent05e9b142c38321b45a23d6495d1a92b9cbae326b (diff)
firmware: add missing includes
This fixes all 'implicit-function-declaration'-warnings. Signed-off-by: Steve Markgraf <steve@steve-m.de>
-rw-r--r--src/target/firmware/apps/chainload/main.c1
-rw-r--r--src/target/firmware/apps/layer1/main.c1
-rw-r--r--src/target/firmware/apps/loader/main.c1
-rw-r--r--src/target/firmware/board/compal_e86/init.c1
-rw-r--r--src/target/firmware/board/compal_e99/init.c1
-rw-r--r--src/target/firmware/board/se_j100/init.c1
-rw-r--r--src/target/firmware/comm/msgb.c1
-rw-r--r--src/target/firmware/include/layer1/async.h3
-rw-r--r--src/target/firmware/layer1/l23_api.c4
-rw-r--r--src/target/firmware/layer1/prim_fbsb.c2
-rw-r--r--src/target/firmware/layer1/prim_freq.c1
-rw-r--r--src/target/firmware/layer1/prim_rach.c1
-rw-r--r--src/target/firmware/layer1/prim_rx_nb.c2
-rw-r--r--src/target/firmware/layer1/tpu_window.c1
14 files changed, 19 insertions, 2 deletions
diff --git a/src/target/firmware/apps/chainload/main.c b/src/target/firmware/apps/chainload/main.c
index 5121837..9dfa217 100644
--- a/src/target/firmware/apps/chainload/main.c
+++ b/src/target/firmware/apps/chainload/main.c
@@ -29,6 +29,7 @@
#include <delay.h>
#include <calypso/clock.h>
+#include <calypso/timer.h>
/* Main Program */
diff --git a/src/target/firmware/apps/layer1/main.c b/src/target/firmware/apps/layer1/main.c
index 0513d62..a8d4f5d 100644
--- a/src/target/firmware/apps/layer1/main.c
+++ b/src/target/firmware/apps/layer1/main.c
@@ -47,6 +47,7 @@
#include <layer1/sync.h>
#include <layer1/async.h>
#include <layer1/tpu_window.h>
+#include <layer1/l23_api.h>
#include <fb/framebuffer.h>
diff --git a/src/target/firmware/apps/loader/main.c b/src/target/firmware/apps/loader/main.c
index 2ff6f9c..c55c56c 100644
--- a/src/target/firmware/apps/loader/main.c
+++ b/src/target/firmware/apps/loader/main.c
@@ -45,6 +45,7 @@
#include <calypso/tsp.h>
#include <calypso/irq.h>
#include <calypso/misc.h>
+#include <calypso/backlight.h>
#include <uart.h>
#include <calypso/timer.h>
diff --git a/src/target/firmware/board/compal_e86/init.c b/src/target/firmware/board/compal_e86/init.c
index 3659de6..2d463cb 100644
--- a/src/target/firmware/board/compal_e86/init.c
+++ b/src/target/firmware/board/compal_e86/init.c
@@ -41,6 +41,7 @@
#include <calypso/backlight.h>
#include <comm/sercomm.h>
+#include <comm/timer.h>
#include <abb/twl3025.h>
#include <rf/trf6151.h>
diff --git a/src/target/firmware/board/compal_e99/init.c b/src/target/firmware/board/compal_e99/init.c
index 1d587fa..31eb978 100644
--- a/src/target/firmware/board/compal_e99/init.c
+++ b/src/target/firmware/board/compal_e99/init.c
@@ -41,6 +41,7 @@
#include <calypso/backlight.h>
#include <comm/sercomm.h>
+#include <comm/timer.h>
#include <abb/twl3025.h>
#include <rf/trf6151.h>
diff --git a/src/target/firmware/board/se_j100/init.c b/src/target/firmware/board/se_j100/init.c
index c8697dd..2a3de0e 100644
--- a/src/target/firmware/board/se_j100/init.c
+++ b/src/target/firmware/board/se_j100/init.c
@@ -41,6 +41,7 @@
#include <calypso/backlight.h>
#include <comm/sercomm.h>
+#include <comm/timer.h>
#include <abb/twl3025.h>
#include <rf/trf6151.h>
diff --git a/src/target/firmware/comm/msgb.c b/src/target/firmware/comm/msgb.c
index 4215d24..3524ba5 100644
--- a/src/target/firmware/comm/msgb.c
+++ b/src/target/firmware/comm/msgb.c
@@ -26,6 +26,7 @@
#include <debug.h>
#include <delay.h>
+#include <console.h>
#include <osmocom/core/msgb.h>
diff --git a/src/target/firmware/include/layer1/async.h b/src/target/firmware/include/layer1/async.h
index a9fa08d..de996a6 100644
--- a/src/target/firmware/include/layer1/async.h
+++ b/src/target/firmware/include/layer1/async.h
@@ -44,6 +44,9 @@ void l1a_mftask_enable(enum mframe_task task);
/* Disable a repeating multiframe task */
void l1a_mftask_disable(enum mframe_task task);
+/* Set the mask for repeating multiframe tasks */
+void l1a_mftask_set(uint32_t tasks);
+
/* Set TCH mode */
uint8_t l1a_tch_mode_set(uint8_t mode);
diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c
index 659f317..1c4459e 100644
--- a/src/target/firmware/layer1/l23_api.c
+++ b/src/target/firmware/layer1/l23_api.c
@@ -40,10 +40,12 @@
#include <layer1/mframe_sched.h>
#include <layer1/prim.h>
#include <layer1/tpu_window.h>
+#include <layer1/sched_gsmtime.h>
#include <abb/twl3025.h>
#include <rf/trf6151.h>
#include <calypso/sim.h>
+#include <calypso/dsp.h>
#include <l1ctl_proto.h>
@@ -564,8 +566,6 @@ static void l1ctl_rx_traffic_req(struct msgb *msg)
l1a_txq_msgb_enq(&l1s.tx_queue[L1S_CHAN_TRAFFIC], msg);
}
-void sim_apdu(uint16_t len, uint8_t *data);
-
static void l1ctl_sim_req(struct msgb *msg)
{
uint16_t len = msg->len - sizeof(struct l1ctl_hdr);
diff --git a/src/target/firmware/layer1/prim_fbsb.c b/src/target/firmware/layer1/prim_fbsb.c
index 7affd75..e849240 100644
--- a/src/target/firmware/layer1/prim_fbsb.c
+++ b/src/target/firmware/layer1/prim_fbsb.c
@@ -30,6 +30,7 @@
#include <debug.h>
#include <memory.h>
#include <byteorder.h>
+#include <rffe.h>
#include <osmocom/gsm/gsm_utils.h>
#include <osmocom/core/msgb.h>
#include <calypso/dsp_api.h>
@@ -47,6 +48,7 @@
#include <layer1/mframe_sched.h>
#include <layer1/tpu_window.h>
#include <layer1/l23_api.h>
+#include <layer1/agc.h>
#include <l1ctl_proto.h>
diff --git a/src/target/firmware/layer1/prim_freq.c b/src/target/firmware/layer1/prim_freq.c
index 88bc453..ca6dc9e 100644
--- a/src/target/firmware/layer1/prim_freq.c
+++ b/src/target/firmware/layer1/prim_freq.c
@@ -45,6 +45,7 @@
#include <layer1/tdma_sched.h>
#include <layer1/tpu_window.h>
#include <layer1/l23_api.h>
+#include <layer1/sched_gsmtime.h>
#include <l1ctl_proto.h>
diff --git a/src/target/firmware/layer1/prim_rach.c b/src/target/firmware/layer1/prim_rach.c
index 9370589..27e89ab 100644
--- a/src/target/firmware/layer1/prim_rach.c
+++ b/src/target/firmware/layer1/prim_rach.c
@@ -46,6 +46,7 @@
#include <layer1/tdma_sched.h>
#include <layer1/tpu_window.h>
#include <layer1/l23_api.h>
+#include <layer1/sched_gsmtime.h>
#include <l1ctl_proto.h>
diff --git a/src/target/firmware/layer1/prim_rx_nb.c b/src/target/firmware/layer1/prim_rx_nb.c
index 7eb4548..ade23a0 100644
--- a/src/target/firmware/layer1/prim_rx_nb.c
+++ b/src/target/firmware/layer1/prim_rx_nb.c
@@ -29,6 +29,7 @@
#include <debug.h>
#include <memory.h>
#include <byteorder.h>
+#include <rffe.h>
#include <osmocom/gsm/gsm_utils.h>
#include <osmocom/core/msgb.h>
#include <calypso/dsp_api.h>
@@ -48,6 +49,7 @@
#include <layer1/l23_api.h>
#include <layer1/rfch.h>
#include <layer1/prim.h>
+#include <layer1/agc.h>
#include <l1ctl_proto.h>
diff --git a/src/target/firmware/layer1/tpu_window.c b/src/target/firmware/layer1/tpu_window.c
index 2fdb048..f4e76c1 100644
--- a/src/target/firmware/layer1/tpu_window.c
+++ b/src/target/firmware/layer1/tpu_window.c
@@ -33,6 +33,7 @@
#include <layer1/sync.h>
#include <layer1/tpu_window.h>
+#include <layer1/rfch.h>
/* all units in GSM quarter-bits (923.1ns) */
#define L1_TDMA_LENGTH_Q 5000