aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall.c
blob: 68750e186e8eca5f97b0a9def5a2e2d884627d3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <kernel/syscall.h>

/**
 * DEFINITIONS
 */
DEFN_SYSCALL0(halt, 0);

DEFN_SYSCALL1(write, 1, const char *);

DEFN_SYSCALL1(read, 2, const char *);

DEFN_SYSCALL1(writec, 3, char);

DEFN_SYSCALL0(readc, 4);

DEFN_SYSCALL0(get_pointers, 5);

DEFN_SYSCALL1(alloc, 6, uint32_t);

DEFN_SYSCALL1(free, 7, uint32_t);