Changeset da349da0 in mainline for kernel/arch/mips32/src/asm.S


Ignore:
Timestamp:
2008-08-10T15:28:42Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9d4d2c
Parents:
d2e9c47
Message:

memcpy(), memmove() and similar functions return dst instead of src.
Fix all implementations, including those in assembly. ppc32 assembly
version didn't seem to be affected by this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/asm.S

    rd2e9c47 rda349da0  
    7272        beq     $a1,$v0,3f
    7373        move    $t0,$a0
     74        move    $t2,$a0                 # save dst
    7475
    75760:
     
    87882:
    8889        jr      $ra
    89         move    $v0,$a1
     90        move    $v0,$t2
    9091
    91923:
     
    127128
    128129        jr      $ra
    129         move    $v0,$a1
     130        move    $v0,$t2
    130131
    131132memcpy_from_uspace_failover_address:
Note: See TracChangeset for help on using the changeset viewer.