Changeset 0f44f04 in mainline


Ignore:
Timestamp:
2008-06-02T12:56:18Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d6c468
Parents:
d68253a4
Message:

Fix register-constraint typo in ia32 memstr.h and add two '&'s for symmetry's sake. (None were really causing trouble)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/memstr.h

    rd68253a4 r0f44f04  
    9595                "addl $1, %0\n\t"
    9696                "1:\n"
    97                 : "=a" (ret), "=%S" (d0), "=&D" (d1), "=&c" (d2)
     97                : "=a" (ret), "=&S" (d0), "=&D" (d1), "=&c" (d2)
    9898                : "0" (0), "1" ((unative_t) src), "2" ((unative_t) dst), "3" ((unative_t) cnt)
    9999        );
     
    117117        asm volatile (
    118118                "rep stosw\n\t"
    119                 : "=&D" (d0), "=&c" (d1), "=a" (x)
     119                : "=&D" (d0), "=&c" (d1), "=&a" (x)
    120120                : "0" (dst), "1" (cnt), "2" (x)
    121121                : "memory"
     
    139139        asm volatile (
    140140                "rep stosb\n\t"
    141                 : "=&D" (d0), "=&c" (d1), "=a" (x)
     141                : "=&D" (d0), "=&c" (d1), "=&a" (x)
    142142                : "0" (dst), "1" (cnt), "2" (x)
    143143                : "memory"
Note: See TracChangeset for help on using the changeset viewer.