This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ARM stub tweak tweak


*sigh*

Fixed the typo is the last checkin.

--Mark


Index: arm_stub.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c,v
retrieving revision 1.25
diff -u -p -5 -c -r1.25 arm_stub.c
cvs server: conflicting specifications of output style
*** arm_stub.c	12 Nov 2002 21:45:49 -0000	1.25
--- arm_stub.c	12 Nov 2002 21:50:20 -0000
*************** target_ins(unsigned long *pc, unsigned l
*** 378,388 ****
          new_pc = (unsigned long)(pc+1);
          if ((ins & 0x0000F000) == 0x0000F000) {
              // Destination register is PC
              if ((ins & 0x0FBF0000) != 0x010F0000) {
                  Rn = (unsigned long)get_register((ins & 0x000F0000) >> 16);
! +		if ((ins & 0x000F0000) == 0x000F0000) Rn += 8;  // PC prefetch!
                  if ((ins & 0x02000000) == 0) {
                      op2 = RmShifted(ins & 0x00000FFF);
                  } else {
                      op2 = ins & 0x000000FF;
                      i = (ins & 0x00000F00) >> 8;  // Rotate count                
--- 378,388 ----
          new_pc = (unsigned long)(pc+1);
          if ((ins & 0x0000F000) == 0x0000F000) {
              // Destination register is PC
              if ((ins & 0x0FBF0000) != 0x010F0000) {
                  Rn = (unsigned long)get_register((ins & 0x000F0000) >> 16);
!                 if ((ins & 0x000F0000) == 0x000F0000) Rn += 8;  // PC prefetch!
                  if ((ins & 0x02000000) == 0) {
                      op2 = RmShifted(ins & 0x00000FFF);
                  } else {
                      op2 = ins & 0x000000FF;
                      i = (ins & 0x00000F00) >> 8;  // Rotate count                


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]