changeset 236:b698734107d0

l1tm_func.c: l1tm_initialize() reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jan 2017 07:24:53 +0000
parents 02de4cb4c573
children 8a351ce20c81
files chipsetsw/layer1/tm_cfile/l1tm_func.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/tm_cfile/l1tm_func.c	Sun Jan 15 07:08:20 2017 +0000
+++ b/chipsetsw/layer1/tm_cfile/l1tm_func.c	Sun Jan 15 07:24:53 2017 +0000
@@ -1222,9 +1222,13 @@
   Cust_tm_special_enable(tm_return, prim->u.tm_params.index);
 }
 
+/* TCS211 function missing in LoCosto, reconstructed from disassembly */
 void l1tm_initialize(T_TM_RETURN *tm_return)
 {
-/* TCS211 function missing in LoCosto, to be reconstructed from disasm */
+  Cust_tm_init();
+  tm_return->status = E_OK;
+  tm_return->size = 0;
+  tm_return->index = 0;
 }
 
 void l1tm_ffs(T_TESTMODE_PRIM *prim, T_TM_RETURN *tm_return)