Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit ada9d59

Browse files
authored
Update process.h
added comments to explain stuff
1 parent 82750b4 commit ada9d59

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

kernel/core/process.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ typedef enum {
1717
} proc_state_t;
1818

1919
typedef struct {
20-
int pid;
21-
int ppid;
22-
int cpid[100];
23-
int nchild;
24-
int exitc;
20+
int pid; // process id
21+
int ppid; // parent process id
22+
int cpid[100]; // child process id
23+
int nchild; // number of children processes
24+
int exitc; // exit code
2525
u32 usp; // user stack pointer
2626
u32 ksp; // kernel stack pointer.
2727
u32 entry;

0 commit comments

Comments
 (0)