syscall lab need to finish

This commit is contained in:
2025-03-25 01:13:50 +08:00
parent e33ff43dd6
commit d92eea9e49
12 changed files with 193 additions and 87 deletions

View File

@@ -91,6 +91,7 @@ struct proc {
int killed; // If non-zero, have been killed
int xstate; // Exit status to be returned to parent's wait
int pid; // Process ID
int tracemask; // Trace Mask
// wait_lock must be held when using this:
struct proc *parent; // Parent process