void sys_call(struct trapframe *frame)
#define SPIN_LOCK_INITIALIZER
void kpanic(const char *fmt,...)
print panic message and halt system
void * memcpy(const void *dst, const void *src, size_t length)
struct syscall_entry systemCalls[]
Turn on debugging for the call.
void sys_call_posix(struct trapframe *frame)
void die_if_kernel(char *str, struct trapframe *regs, long err)
int kprintf(const char *,...)
struct syscall_entry systemCalls_posix[]