aboutsummaryrefslogtreecommitdiff
path: root/src/shared/common.h
blob: aa9b2812634961673f132640eb5c1097fa8ca698 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef MELVIX_COMMON_H
#define MELVIX_COMMON_H

// Syscalls
#define SYS_HALT 0
#define SYS_EXIT 1
#define SYS_FORK 2
#define SYS_READ 3
#define SYS_WRITE 4
#define SYS_EXEC 5
#define SYS_GET_PID 6
#define SYS_MALLOC 7
#define SYS_FREE 8

// Registration
#define REG_KEYBOARD 0
#define REG_MOUSE 1

#endif