[Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/pxa27x
barecrt.s, 1.1, 1.2
Robbie Adler
radler at users.sourceforge.net
Tue Sep 6 10:53:48 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20435
Modified Files:
barecrt.s
Log Message:
changed base-level interrupt behavior. Default undefined behavior is to infinite loop. Release undefined behavior is to properly return from the handler after modifying the return address to return through the reset handler
Index: barecrt.s
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x/barecrt.s,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** barecrt.s 4 Aug 2005 22:34:25 -0000 1.1
--- barecrt.s 6 Sep 2005 17:53:45 -0000 1.2
***************
*** 135,153 ****
b .L1
!
hplarmv_undef:
! b start
hplarmv_swi:
! b start
hplarmv_pabort:
! b start
hplarmv_dabort:
! b start
hplarmv_reserved:
! b start
! hplarmv_irq:
hplarmv_fiq:
! b start
!
.weak hplarmv_undef, hplarmv_swi, hplarmv_pabort, hplarmv_dabort, hplarmv_reserved, hplarmv_irq, hplarmv_fiq
--- 135,174 ----
b .L1
! @if we receive and interrupt that we don't handle, behavior will depend on whether we're in release or not
! .ifdef RELEASE
! @reboot...assumes that we started out in supervisor mode..and that we'll be returning
hplarmv_undef:
! movs PC, #0
hplarmv_swi:
! movs PC, #0
hplarmv_pabort:
! movs PC, #0
hplarmv_dabort:
! movs PC, #0
hplarmv_reserved:
! movs PC, #0
! hplarmv_irq:
! movs PC, #0
hplarmv_fiq:
! movs PC, #0
! .else
! @infinite loop so that we can detect what happened with a debugger
! @in future, we'll want to blink specific LED patter or something for the USER...or perhaps blue light of death
! hplarmv_undef:
! b hplarmv_undef
! hplarmv_swi:
! b hplarmv_swi
! hplarmv_pabort:
! b hplarmv_pabort
! hplarmv_dabort:
! b hplarmv_dabort
! hplarmv_reserved:
! b hplarmv_reserved
! hplarmv_irq:
! b hplarmv_irq
! hplarmv_fiq:
! b hplarmv_fiq
! .endif
!
.weak hplarmv_undef, hplarmv_swi, hplarmv_pabort, hplarmv_dabort, hplarmv_reserved, hplarmv_irq, hplarmv_fiq
***************
*** 162,163 ****
--- 183,188 ----
b hplarmv_fiq
+ .end
+
+
+
\ No newline at end of file
More information about the Tinyos-beta-commits
mailing list