summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-08 08:38:11 +0000
committerrsc <rsc>2007-08-08 08:38:11 +0000
commit7366e042d9a7a21397115ca49c0d9344a9365ada (patch)
treeb7012b4ddb0dfbb292fe62c23bdaecb1f2616b83 /proc.h
parent7e89fb90bd0beb91e5d67af362d6a8a3a1b4c626 (diff)
downloadxv6-labs-7366e042d9a7a21397115ca49c0d9344a9365ada.tar.gz
xv6-labs-7366e042d9a7a21397115ca49c0d9344a9365ada.tar.bz2
xv6-labs-7366e042d9a7a21397115ca49c0d9344a9365ada.zip
save process name for debugging
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proc.h b/proc.h
index 3f0c006..2848ecd 100644
--- a/proc.h
+++ b/proc.h
@@ -40,6 +40,7 @@ struct proc {
struct inode *cwd; // Current directory
struct jmpbuf jmpbuf; // Jump here to run process
struct trapframe *tf; // Trap frame for current interrupt
+ char name[16]; // Process name (debugging)
};
// Process memory is laid out contiguously: