summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorrsc <rsc>2006-07-17 01:52:13 +0000
committerrsc <rsc>2006-07-17 01:52:13 +0000
commitb5ee516575b4d2f1fd7de014230fee7cf8b6b538 (patch)
tree158b9cf0466e66ac80c96d948a12ae67afcb1d9a /proc.h
parent857d60cb0c56df19a5125584c677aa56c4488e98 (diff)
downloadxv6-labs-b5ee516575b4d2f1fd7de014230fee7cf8b6b538.tar.gz
xv6-labs-b5ee516575b4d2f1fd7de014230fee7cf8b6b538.tar.bz2
xv6-labs-b5ee516575b4d2f1fd7de014230fee7cf8b6b538.zip
add uint and standardize on typedefs instead of unsigned
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/proc.h b/proc.h
index 9353f88..256fa7c 100644
--- a/proc.h
+++ b/proc.h
@@ -37,7 +37,7 @@ enum proc_state { UNUSED, EMBRYO, SLEEPING, RUNNABLE, RUNNING, ZOMBIE };
struct proc{
char *mem; // start of process's physical memory
- unsigned sz; // total size of mem, including kernel stack
+ uint sz; // total size of mem, including kernel stack
char *kstack; // kernel stack, separate from mem so it doesn't move
enum proc_state state;
enum proc_state newstate; // desired state after swtch()
@@ -50,8 +50,8 @@ struct proc{
struct Taskstate ts; // only to give cpu address of kernel stack
struct Segdesc gdt[NSEGS];
- unsigned esp; // kernel stack pointer
- unsigned ebp; // kernel frame pointer
+ uint esp; // kernel stack pointer
+ uint ebp; // kernel frame pointer
struct jmpbuf jmpbuf;