Subversion Repositories HelenOS

Rev

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

Rev 505 Rev 713
Line 30... Line 30...
30
#define __LIBC__LIBC_H__
30
#define __LIBC__LIBC_H__
31
 
31
 
32
#include <types.h>
32
#include <types.h>
33
 
33
 
34
 
34
 
-
 
35
#define __SYSCALL0(id) __syscall(id, 0, 0, 0)
-
 
36
#define __SYSCALL1(id, p1) __syscall(id, p1, 0, 0)
-
 
37
#define __SYSCALL2(id, p1, p2) __syscall(id, p1, p2, 0)
-
 
38
 
-
 
39
 
35
typedef enum {
40
typedef enum {
36
    SYS_CTL = 0,
41
    SYS_CTL = 0,
37
    SYS_IO  = 1
42
    SYS_IO  = 1
38
} syscall_t;
43
} syscall_t;
39
 
44