Subversion Repositories HelenOS-historic

Rev

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

Rev 499 Rev 504
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#ifndef __LIBC__LIBC_H__
29
#ifndef __LIBC__LIBC_H__
30
#define __LIBC__LIBC_H__
30
#define __LIBC__LIBC_H__
31
 
31
 
-
 
32
#include <types.h>
-
 
33
 
-
 
34
 
-
 
35
typedef enum {
-
 
36
    SYS_CTL = 0,
-
 
37
    SYS_IO  = 1
-
 
38
} syscall_t;
-
 
39
 
32
 
40
 
33
extern void __main(void);
41
extern void __main(void);
34
extern void __exit(void);
42
extern void __exit(void);
35
extern void __syscall(const unsigned int id, const unsigned int p1, const unsigned int p2, const unsigned int p3);
43
extern unsigned int __syscall(const syscall_t id, const sysarg_t p1, const sysarg_t p2, const sysarg_t p3);
36
 
44
 
37
 
45
 
38
#endif
46
#endif