mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
kernel: syscalls
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
struct proc_t;
|
||||
|
||||
typedef struct thread_t {
|
||||
void *kernelstacktop;
|
||||
struct thread_t *next;
|
||||
struct thread_t *prev;
|
||||
struct proc_t *proc;
|
||||
@@ -21,7 +22,6 @@ typedef struct thread_t {
|
||||
context_t context;
|
||||
extracontext_t extracontext;
|
||||
void *kernelstack;
|
||||
void *kernelstacktop;
|
||||
size_t kernelstacksize;
|
||||
vmmcontext_t *vmmctx;
|
||||
tid_t tid;
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef _SYSCALLS_H
|
||||
#define _SYSCALLS_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
uint64_t ret;
|
||||
uint64_t errno;
|
||||
} syscallret_t;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user