FreeCalypso > hg > ffs-editor
changeset 14:4f94a09e0a6a
ETM patches for passing link
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 15 May 2020 04:31:50 +0000 |
parents | c07376e250c1 |
children | 41e50f700ee2 |
files | src/cs/services/etm/etm_task.c src/cs/services/etm/etm_tmcore.c |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/services/etm/etm_task.c Fri May 15 04:25:10 2020 +0000 +++ b/src/cs/services/etm/etm_task.c Fri May 15 04:31:50 2020 +0000 @@ -114,10 +114,12 @@ /* Entity registration to ETM */ /* This should be in the individual SWE init. function*/ status = etm_core_init(); +#if 0 /* FC FFS editor */ status = etm_audio_init(); #ifdef RVM_LCC_SWE status = etm_pwr_init(); #endif +#endif while (1) {
--- a/src/cs/services/etm/etm_tmcore.c Fri May 15 04:25:10 2020 +0000 +++ b/src/cs/services/etm/etm_tmcore.c Fri May 15 04:31:50 2020 +0000 @@ -354,13 +354,17 @@ extern uint16 etm_task_revision; int error, fid, ffs_tm_version; volatile int revision = 0; +#if 0 /* FC FFS editor */ T_VERSION *l1s_version; +#endif fid = etm_get32(buf); tr_etm(TgTrCore, "ETM CORE: _version: fid(0x%x)", fid); +#if 0 /* FC FFS editor */ l1s_version = (T_VERSION*) l1s_get_version(); +#endif switch (fid) { // Code Versions related to ETM modules @@ -392,6 +396,7 @@ // Code Versions related to L1, see in l1_defty.h // Get the version on this way "revision = l1s.version.dsp_code_version;" // doesn't work because of struct aligment -> compile flag -mw !!!! +#if 0 /* FC FFS editor */ case SW_DSP_CODE_VERSION: revision = ((T_VERSION*) l1s_version)->dsp_code_version; error = etm_pkt_put32(pkt, revision); @@ -416,6 +421,7 @@ revision = ((T_VERSION*) l1s_version)->mcu_tm_version; error = etm_pkt_put32(pkt, revision); break; +#endif default: error = ETM_NOSYS; }