diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-07 20:42:17 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-07 20:56:12 +0100 |
commit | 97c8b6f33b1a00ed1c138070ca14faaa6f71cfc6 (patch) | |
tree | b8951a27ae92d4924e8cca7599eafb777143e2af /src/target/firmware/include/comm | |
parent | 5f3ead20158d059d022a11e121861e14bd0674df (diff) |
start to use libosmocore within the firmware
* remove linuxlist.h copy and use osmocore
* don't put 'struct gsm_time' into l1ctl packets
* include rx_level and snr for each burst in l1ctl
* properly build libosmocore.a for target
* move gsmtime functions into libosmocore
* move ctype.h to standard location
Diffstat (limited to 'src/target/firmware/include/comm')
-rw-r--r-- | src/target/firmware/include/comm/msgb.h | 2 | ||||
-rw-r--r-- | src/target/firmware/include/comm/sercomm.h | 5 | ||||
-rw-r--r-- | src/target/firmware/include/comm/timer.h | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/src/target/firmware/include/comm/msgb.h b/src/target/firmware/include/comm/msgb.h index 07fdebd2..83e6540c 100644 --- a/src/target/firmware/include/comm/msgb.h +++ b/src/target/firmware/include/comm/msgb.h @@ -20,7 +20,7 @@ * */ -#include <linuxlist.h> +#include <osmocore/linuxlist.h> struct msgb { struct llist_head list; diff --git a/src/target/firmware/include/comm/sercomm.h b/src/target/firmware/include/comm/sercomm.h index e9f560e2..45a1e995 100644 --- a/src/target/firmware/include/comm/sercomm.h +++ b/src/target/firmware/include/comm/sercomm.h @@ -3,12 +3,9 @@ /* SERCOMM layer on UART1 (modem UART) */ -#ifdef HOST_BUILD #include <osmocore/msgb.h> -#else -#include <comm/msgb.h> + #define SERCOMM_UART_NR 1 -#endif #define HDLC_FLAG 0x7E #define HDLC_ESCAPE 0x7D diff --git a/src/target/firmware/include/comm/timer.h b/src/target/firmware/include/comm/timer.h index 184a6240..814d2c60 100644 --- a/src/target/firmware/include/comm/timer.h +++ b/src/target/firmware/include/comm/timer.h @@ -23,7 +23,7 @@ #include <sys/time.h> -#include <linuxlist.h> +#include <osmocore/linuxlist.h> /** * Timer management: |