Ignore:
Timestamp:
2013-12-28T17:30:44Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41b735f3
Parents:
c1023bcb
Message:

code revision
coding style fixes
removal of debugging printouts and other temporary stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/sparc32/include/libarch/syscall.h

    rc1023bcb r1df1905  
    3939#include <abi/syscall.h>
    4040
    41 #define __syscall0      __syscall
    42 #define __syscall1      __syscall
    43 #define __syscall2      __syscall
    44 #define __syscall3      __syscall
    45 #define __syscall4      __syscall
    46 #define __syscall5      __syscall
    47 #define __syscall6      __syscall
     41#define __syscall0  __syscall
     42#define __syscall1  __syscall
     43#define __syscall2  __syscall
     44#define __syscall3  __syscall
     45#define __syscall4  __syscall
     46#define __syscall5  __syscall
     47#define __syscall6  __syscall
    4848
    49 static inline sysarg_t
    50 __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3,
    51     const sysarg_t p4, const sysarg_t p5, const sysarg_t p6, const syscall_t id)
     49static inline sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2,
     50    const sysarg_t p3, const sysarg_t p4, const sysarg_t p5, const sysarg_t p6,
     51    const syscall_t id)
    5252{
    5353        register uint32_t a1 asm("o0") = p1;
     
    5757        register uint32_t a5 asm("o4") = p5;
    5858        register uint32_t a6 asm("o5") = p6;
    59 
     59       
    6060        asm volatile (
    6161                "ta %7\n"
    6262                : "=r" (a1)
    63                 : "r" (a1), "r" (a2), "r" (a3), "r" (a4), "r" (a5), "r" (a6),
     63                : "r" (a1),
     64                  "r" (a2),
     65                  "r" (a3),
     66                  "r" (a4),
     67                  "r" (a5),
     68                  "r" (a6),
    6469                  "i" (id)
    6570                : "memory"
Note: See TracChangeset for help on using the changeset viewer.