From b5ee516575b4d2f1fd7de014230fee7cf8b6b538 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 17 Jul 2006 01:52:13 +0000 Subject: add uint and standardize on typedefs instead of unsigned --- proc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'proc.h') 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; -- cgit v1.2.3