summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
authorRuss Cox <[email protected]>2011-01-11 13:51:40 -0500
committerRuss Cox <[email protected]>2011-01-11 13:51:40 -0500
commit417c37115e0c7fc3b2a65c3c4d213e566cbc8807 (patch)
treecfeb8340b4f382261b12f1be447632ec5fbe5532 /defs.h
parent89bfdd4db183cbe75a3a0c2254ca48a50e37276f (diff)
downloadxv6-labs-417c37115e0c7fc3b2a65c3c4d213e566cbc8807.tar.gz
xv6-labs-417c37115e0c7fc3b2a65c3c4d213e566cbc8807.tar.bz2
xv6-labs-417c37115e0c7fc3b2a65c3c4d213e566cbc8807.zip
more trivial cleanup
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/defs.h b/defs.h
index 43f35d2..8ea46d6 100644
--- a/defs.h
+++ b/defs.h
@@ -161,11 +161,11 @@ int allocuvm(pde_t*, uint, uint);
int deallocuvm(pde_t*, uint, uint);
void freevm(pde_t*);
void inituvm(pde_t*, char*, uint);
-int loaduvm(pde_t*, char*, struct inode *, uint, uint);
-pde_t* copyuvm(pde_t*,uint);
+int loaduvm(pde_t*, char*, struct inode*, uint, uint);
+pde_t* copyuvm(pde_t*, uint);
void switchuvm(struct proc*);
void switchkvm(void);
-int copyout(pde_t *pgdir, uint va, void *buf, uint len);
+int copyout(pde_t*, uint, void*, uint);
// number of elements in fixed-size array
#define NELEM(x) (sizeof(x)/sizeof((x)[0]))