FreeCalypso > hg > freecalypso-sw
changeset 602:5f93a9a8f9a0
L1: [rt]x_tch_data() stubs implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Aug 2014 21:35:23 +0000 |
parents | 05bcd5618c9a |
children | d638de8cc6b8 |
files | gsm-fw/L1/cfile/Makefile gsm-fw/L1/cfile/dummy_tch_data.c |
diffstat | 2 files changed, 25 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/L1/cfile/Makefile Sun Aug 17 21:15:32 2014 +0000 +++ b/gsm-fw/L1/cfile/Makefile Sun Aug 17 21:35:23 2014 +0000 @@ -10,7 +10,7 @@ IOBJS= l1_api_hisr.o l1_cmplx_intram.o l1_ctl.o l1_drive.o l1_func.o \ l1_mfmgr.o l1_small_asm.o l1_sync_intram.o l1_isr_glue.o XOBJS= l1_afunc.o l1_async.o l1_cmplx.o l1_init.o l1_pwmgr.o l1_small_defs.o \ - l1_sync.o l1_trace.o + l1_sync.o l1_trace.o dummy_tch_data.o all: iramcode.o xipcode.o
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/L1/cfile/dummy_tch_data.c Sun Aug 17 21:35:23 2014 +0000 @@ -0,0 +1,24 @@ +/* + * [rt]x_tch_data() calls appear to be some old API for passing CSD payloads + * between L1 and the higher layers. If this API was ever used at all, + * it is so old that even the TSM30 code does not use it; the new API that + * took its place is dll_data_[du]l(). However, the code in l1_cmplx.c + * still calls the old API, thus stub functions are needed. TSM30 and + * Leonardo versions have these stubs in the dl1_com module, but that + * module no longer exists in our version - see l1_isr_glue.c for the + * explanation. The LoCosto version has a stub (in sys_dummy.c) only + * for tx_tch_data() - the other function gets called only when IDS + * is not enabled. + * + * This module provides the necessary stubs for our version. + */ + +void rx_tch_data() +{ + return; +} + +char *tx_tch_data() +{ + return(0); +}