aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/syscall.h
blob: 502064bae63b564624f93b3f39c26d2ba457689b (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

#include <stdint.h>

extern void idt_syscall();

void syscalls_install();

uint32_t sys_exec(char *path);

uint32_t sys_putch(char ch);

uint32_t sys_scancode();

uint32_t sys_malloc(uint32_t count);

uint32_t sys_free(uint32_t ptr);

uint32_t sys_pointers();

#endif