changeset 188:81064b792cc8

tpudrv.c: passes compilation, started disasm diffing
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 Jun 2016 03:05:09 +0000
parents 7b2986d6f272
children 8ab19f00e40d
files chipsetsw/layer1/tpu_drivers/source/tpudrv.c g23m/objdiff/tpudrv/disasm-list g23m/objdiff/tpudrv/disasm.sh
diffstat 3 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/tpu_drivers/source/tpudrv.c	Wed Jun 08 02:57:31 2016 +0000
+++ b/chipsetsw/layer1/tpu_drivers/source/tpudrv.c	Wed Jun 08 03:05:09 2016 +0000
@@ -311,6 +311,7 @@
 }
 
 
+#if 0	/* FreeCalypso: function not present in TCS211 */
 /*-----------------------------------------------------------------------*/
 /*   Function name: TPU_wait_idle                                        */
 /*-----------------------------------------------------------------------*/
@@ -330,6 +331,7 @@
     wait_ARM_cycles(convert_nanosec_to_cycles(3000));
   }
 }
+#endif
 
 
 /*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/g23m/objdiff/tpudrv/disasm-list	Wed Jun 08 03:05:09 2016 +0000
@@ -0,0 +1,3 @@
+p_tpudr12
+tpudrv
+tpudrv12
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/g23m/objdiff/tpudrv/disasm.sh	Wed Jun 08 03:05:09 2016 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+for i in `cat disasm-list`
+do
+	tiobjd ../../blobs/tpudrv/$i.obj disasm -gl > $i.orig
+	tiobjd ../../__out__/gsm*/obj/tpudrv/$i.obj disasm -gl > $i.new
+	tiobjd ../../__out__/gsm*/obj/tpudrv/$i.obj disasm -gll > $i.newln
+done