diff options
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index 27327c4..e7946b2 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -20,6 +20,9 @@ enum process_state { struct process { struct pagedir *pages; + /* if NULL, refcount == 1. kmalloc'd */ + uint64_t *pages_refcount; + struct registers regs; struct process *sibling, *child, *parent; |