diff options
| author | Robert Morris | 2020-07-17 16:29:52 -0400 |
|---|---|---|
| committer | Robert Morris | 2020-07-17 16:29:52 -0400 |
| commit | d6dad42aaffe7460025f103ed3807f589df6b24d (patch) | |
| tree | 610285e7a543272daaea525dd3eeada3ce7e6735 /kernel/proc.h | |
| parent | 7a7cd1adefb6eb29523c8fcb762edfe489639f85 (diff) | |
rename p->tf to p->trapframe, for consistency with p->context
Diffstat (limited to 'kernel/proc.h')
| -rw-r--r-- | kernel/proc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/proc.h b/kernel/proc.h index 812c769..02e7bc3 100644 --- a/kernel/proc.h +++ b/kernel/proc.h @@ -98,7 +98,7 @@ struct proc { uint64 kstack; // Virtual address of kernel stack uint64 sz; // Size of process memory (bytes) pagetable_t pagetable; // Page table - struct trapframe *tf; // data page for trampoline.S + struct trapframe *trapframe; // data page for trampoline.S struct context context; // swtch() here to run process struct file *ofile[NOFILE]; // Open files struct inode *cwd; // Current directory |
