[Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/imote2 binarymover.s, 1.5, 1.6

Robbie Adler radler at users.sourceforge.net
Mon Sep 19 13:57:21 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/imote2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21199

Modified Files:
	binarymover.s 
Log Message:
updates to help prevent against compiler optimizations causing errors

Index: binarymover.s
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/imote2/binarymover.s,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** binarymover.s	6 Sep 2005 18:10:33 -0000	1.5
--- binarymover.s	19 Sep 2005 20:57:19 -0000	1.6
***************
*** 24,29 ****
  
  __Binary_Mover:
! .func __Binary_Mover	@r1 = addr
! 						@r2 = size
  	ldr r5,=ARM_CPSR_INT_MASK		@Store int mask value
  	mrs r4,CPSR				@Store Core Program Status Reg
--- 24,33 ----
  
  __Binary_Mover:
! .func __Binary_Mover	@r0 = addr (move to r1)
! 	                @r1 = size (move to r2)
! 
! 	mov r2,r1			@Put size into r2
! 	mov r1,r0			@Put addr into r1
! 
  	ldr r5,=ARM_CPSR_INT_MASK		@Store int mask value
  	mrs r4,CPSR				@Store Core Program Status Reg



More information about the Tinyos-beta-commits mailing list