Subversion Repositories HelenOS

Rev

Rev 2541 | Rev 3222 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2541 Rev 2605
Line 37... Line 37...
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
#include <libarch/syscall.h>
40
#include <libarch/syscall.h>
41
 
41
 
42
#define __SYSCALL0(id) __syscall(0, 0, 0, 0, id)
42
#define __SYSCALL0(id) __syscall(0, 0, 0, 0, 0, 0, id)
43
#define __SYSCALL1(id, p1) __syscall(p1, 0, 0, 0, id)
43
#define __SYSCALL1(id, p1) __syscall(p1, 0, 0, 0, 0, 0, id)
44
#define __SYSCALL2(id, p1, p2) __syscall(p1, p2, 0, 0, id)
44
#define __SYSCALL2(id, p1, p2) __syscall(p1, p2, 0, 0, 0, 0, id)
45
#define __SYSCALL3(id, p1, p2, p3) __syscall(p1, p2, p3, 0, id)
45
#define __SYSCALL3(id, p1, p2, p3) __syscall(p1, p2, p3, 0, 0, 0, id)
46
#define __SYSCALL4(id, p1, p2, p3, p4) __syscall(p1, p2, p3, p4, id)
46
#define __SYSCALL4(id, p1, p2, p3, p4) __syscall(p1, p2, p3, p4, 0, 0, id)
-
 
47
#define __SYSCALL5(id, p1, p2, p3, p4, p5) __syscall(p1, p2, p3, p4, p5, 0, id)
-
 
48
#define __SYSCALL6(id, p1, p2, p3, p4, p5, p6) \
-
 
49
    __syscall(p1, p2, p3, p4, p5, p6,id)
47
 
50
 
48
extern void __main(void);
51
extern void __main(void);
49
extern void __io_init(void);
52
extern void __io_init(void);
50
extern void __exit(void);
53
extern void __exit(void);
51
 
54