mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 21:58:20 +00:00
system calls
This commit is contained in:
@@ -23,6 +23,7 @@ typedef struct _thread_t{
|
||||
struct _thread_t* prev;
|
||||
struct _proc_t* proc;
|
||||
arch_regs* regs;
|
||||
arch_extraregs extraregs;
|
||||
state_t state;
|
||||
void* kernelstack;
|
||||
void* kernelstackbase;
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef _SYSCALLS_H_INCLUDE
|
||||
#define _SYSCALLS_H_INCLUDE
|
||||
|
||||
typedef struct {
|
||||
long ret;
|
||||
long errno;
|
||||
} syscallret;
|
||||
|
||||
syscallret syscall_libc_log(char* str);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user