aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/syscall.h
blob: 229cf041c2d959242df882bc8dda91185d930637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MELVIX_SYSCALL_H
#define MELVIX_SYSCALL_H

extern void idt_syscall();

void syscalls_install();

uint32_t sys_write(char *buf);

uint32_t sys_writec(char ch);

uint32_t sys_read();

uint32_t sys_readc(char *ch);

uint32_t sys_get_pointers();

uint32_t sys_alloc(uint32_t count);

uint32_t sys_free(uint32_t ptr);

#endif