Subversion Repositories HelenOS

Rev

Rev 3343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3343 Rev 3492
Line 36... Line 36...
36
#define LIBC_sparc64_SYSCALL_H_
36
#define LIBC_sparc64_SYSCALL_H_
37
 
37
 
38
#include <sys/types.h>
38
#include <sys/types.h>
39
#include <kernel/syscall/syscall.h>
39
#include <kernel/syscall/syscall.h>
40
 
40
 
-
 
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
-
 
48
 
41
static inline sysarg_t
49
static inline sysarg_t
42
__syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3,
50
__syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3,
43
    const sysarg_t p4, const sysarg_t p5, const sysarg_t p6, const syscall_t id)
51
    const sysarg_t p4, const sysarg_t p5, const sysarg_t p6, const syscall_t id)
44
{
52
{
45
    register uint64_t a1 asm("o0") = p1;
53
    register uint64_t a1 asm("o0") = p1;