aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/syscall.h
blob: a037d7f2d1024763515ee0de75896b65a9af2583 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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(char *buf);

uint32_t sys_readc(char *ch);

uint32_t sys_paging_alloc(uint32_t count);

uint32_t sys_paging_free(uint32_t virt, uint32_t count);

#endif