diff options
author | Russ Cox <[email protected]> | 2011-01-11 13:51:40 -0500 |
---|---|---|
committer | Russ Cox <[email protected]> | 2011-01-11 13:51:40 -0500 |
commit | 417c37115e0c7fc3b2a65c3c4d213e566cbc8807 (patch) | |
tree | cfeb8340b4f382261b12f1be447632ec5fbe5532 /defs.h | |
parent | 89bfdd4db183cbe75a3a0c2254ca48a50e37276f (diff) | |
download | xv6-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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])) |