Changeset 5bb20ec in mainline


Ignore:
Timestamp:
2005-12-10T15:18:26Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
91c78c9
Parents:
72f5866d
Message:

Fix IA-64 ski_getchar().
Output operand vs. input operand.
Now the characters are read correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/ski/ski.c

    r72f5866d r5bb20ec  
    7474       
    7575        __asm__ (
    76                 "mov r15=%0\n"
     76                "mov r15=%1\n"
    7777                "break 0x80000;;\n"     /* modifies r8 */
    78                 "mov %1=r8;;\n"         
     78                "mov %0=r8;;\n"         
    7979
    80                 :
    81                 : "i" (SKI_GETCHAR), "r" (ch)
     80                : "=r" (ch)
     81                : "i" (SKI_GETCHAR)
    8282                : "r15",  "r8"
    8383        );
    8484
    85         return (__s32)ch;
     85        return (__s32) ch;
    8686}
    8787
Note: See TracChangeset for help on using the changeset viewer.