diff options
author | rsc <rsc> | 2006-07-16 15:41:47 +0000 |
---|---|---|
committer | rsc <rsc> | 2006-07-16 15:41:47 +0000 |
commit | ef2bd07ae4cb2e27d62cfdcb7e71d82948fb80ed (patch) | |
tree | 3c5f126bb04d4c6c26dcb8295959fad224dfbf5d /proc.h | |
parent | 6b765c480f8c810fc495a32baa696bbeb75adc09 (diff) | |
download | xv6-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.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 }; |