summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorrsc <rsc>2006-07-16 15:41:47 +0000
committerrsc <rsc>2006-07-16 15:41:47 +0000
commitef2bd07ae4cb2e27d62cfdcb7e71d82948fb80ed (patch)
tree3c5f126bb04d4c6c26dcb8295959fad224dfbf5d /proc.h
parent6b765c480f8c810fc495a32baa696bbeb75adc09 (diff)
downloadxv6-labs-ef2bd07ae4cb2e27d62cfdcb7e71d82948fb80ed.tar.gz
xv6-labs-ef2bd07ae4cb2e27d62cfdcb7e71d82948fb80ed.tar.bz2
xv6-labs-ef2bd07ae4cb2e27d62cfdcb7e71d82948fb80ed.zip
standardize on not using foo_ prefix in struct foo
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/proc.h b/proc.h
index 60ef7f5..72bdcf3 100644
--- a/proc.h
+++ b/proc.h
@@ -22,15 +22,15 @@ struct jmpbuf {
// they are constant across kernel contexts
// save all the regular registers so we don't care which are caller save
// don't save eax because that's the return register
- // layout known to swtch.S
- int jb_ebx;
- int jb_ecx;
- int jb_edx;
- int jb_esi;
- int jb_edi;
- int jb_esp;
- int jb_ebp;
- int jb_eip;
+ // layout known to setjmp.S
+ int ebx;
+ int ecx;
+ int edx;
+ int esi;
+ int edi;
+ int esp;
+ int ebp;
+ int eip;
};
enum proc_state { UNUSED, EMBRYO, SLEEPING, RUNNABLE, RUNNING, ZOMBIE };