From d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 6 May 2020 19:04:05 +0200 Subject: New build parameters and shared includes This changes many files but I've just applied some replace commands.. So - nothing special! --- src/kernel/syscall/syscall.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/kernel/syscall/syscall.h') diff --git a/src/kernel/syscall/syscall.h b/src/kernel/syscall/syscall.h index 9af18e8..7261afc 100644 --- a/src/kernel/syscall/syscall.h +++ b/src/kernel/syscall/syscall.h @@ -2,26 +2,26 @@ #define MELVIX_SYSCALL_H #include -#include +#include extern void idt_syscall(); void syscalls_install(); -uint32_t sys_exit(uint32_t code); +u32 sys_exit(u32 code); -uint32_t sys_fork(struct regs *r); +u32 sys_fork(struct regs *r); -uint32_t sys_read(char *path, uint32_t offset, uint32_t count, uint8_t *buf); +u32 sys_read(char *path, u32 offset, u32 count, u8 *buf); -uint32_t sys_write(char *path, uint32_t offset, uint32_t count, uint8_t *buf); +u32 sys_write(char *path, u32 offset, u32 count, u8 *buf); -uint32_t sys_exec(char *path); +u32 sys_exec(char *path); -uint32_t sys_get_pid(); +u32 sys_get_pid(); -uint32_t sys_malloc(uint32_t count); +u32 sys_malloc(u32 count); -uint32_t sys_free(uint32_t ptr); +u32 sys_free(u32 ptr); #endif \ No newline at end of file -- cgit v1.2.3