diff options
author | Robert Morris <[email protected]> | 2019-06-05 14:31:13 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2019-06-05 14:31:13 -0400 |
commit | 5684556c19c50d38ad3873686d893481ea7d5509 (patch) | |
tree | bc309b61d99202013f6f6af175c9c0dd679e1465 /defs.h | |
parent | 5eb1cb49722cce9afee48886a8db138d5f58d0ff (diff) | |
download | xv6-labs-5684556c19c50d38ad3873686d893481ea7d5509.tar.gz xv6-labs-5684556c19c50d38ad3873686d893481ea7d5509.tar.bz2 xv6-labs-5684556c19c50d38ad3873686d893481ea7d5509.zip |
clean up -Wall
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -122,8 +122,8 @@ void userinit(void); int wait(void); void wakeup(void*); void yield(void); -int either_copyout(int user_dst, uint64 dst, char *src, uint64 len); -int either_copyin(char *dst, int user_src, uint64 src, uint64 len); +int either_copyout(int user_dst, uint64 dst, void *src, uint64 len); +int either_copyin(void *dst, int user_src, uint64 src, uint64 len); // swtch.S void swtch(struct context*, struct context*); @@ -181,7 +181,7 @@ int uartgetc(void); void kvminit(void); void kvminithart(void); pagetable_t uvmcreate(void); -void uvminit(pagetable_t, char *, uint); +void uvminit(pagetable_t, uchar *, uint); uint64 uvmalloc(pagetable_t, uint64, uint64); uint64 uvmdealloc(pagetable_t, uint64, uint64); void uvmcopy(pagetable_t, pagetable_t, uint64); |