Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 63c4e28 in mainline


Ignore:
Timestamp:
2009-12-09T14:39:57Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
master
Children:
81235588
Parents:
3063d56
Message:

'swi' instruction should have an immed_24 argument (according to ARM Architecture Reference Manual)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/arch/arm32/src/syscall.c

    r3063d56 r63c4e28  
    6060        register sysarg_t __arm_reg_r5 asm("r5") = p6;
    6161        register sysarg_t __arm_reg_r6 asm("r6") = id;
    62 
    63         asm volatile ( "swi"
     62       
     63        asm volatile (
     64                "swi 0"
    6465                : "=r" (__arm_reg_r0)
    6566                : "r" (__arm_reg_r0),
     
    7172                  "r" (__arm_reg_r6)
    7273        );
    73 
     74       
    7475        return __arm_reg_r0;
    7576}
Note: See TracChangeset for help on using the changeset viewer.