CE process watching WIP
This commit is contained in:
@@ -27,9 +27,11 @@ uintptr_t syscall_dispatch (void* stack_ptr) {
|
||||
|
||||
spin_lock (&thiscpu->lock, &fc);
|
||||
struct proc* caller = thiscpu->proc_current;
|
||||
int caller_pid = caller->pid;
|
||||
|
||||
spin_lock (&caller->lock, &fp);
|
||||
|
||||
int caller_pid = caller->pid;
|
||||
|
||||
memcpy (&caller->pdata.regs, regs, sizeof (struct saved_regs));
|
||||
|
||||
fx_save (caller->pdata.fx_env);
|
||||
|
||||
Reference in New Issue
Block a user