diff options
| author | Frans Kaashoek <kaashoek@mit.edu> | 2022-09-19 17:19:32 -0400 |
|---|---|---|
| committer | Frans Kaashoek <kaashoek@mit.edu> | 2022-09-19 17:19:32 -0400 |
| commit | b1083ee059a2aa0e018676f4f3790cb3bafaa1c5 (patch) | |
| tree | cfacff0e94df41b092fcfda9cdabd854b5b38945 /user/user.h | |
| parent | 4b46c0c6eb464782faa36d158246ba4e3238c970 (diff) | |
| download | xv6-labs-2022-origin/pgtbl.tar.xz xv6-labs-2022-origin/pgtbl.zip | |
pgtblorigin/pgtbl
Diffstat (limited to 'user/user.h')
| -rw-r--r-- | user/user.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/user/user.h b/user/user.h index 4d398d5..16cf173 100644 --- a/user/user.h +++ b/user/user.h @@ -22,6 +22,14 @@ int getpid(void); char* sbrk(int); int sleep(int); int uptime(void); +#ifdef LAB_NET +int connect(uint32, uint16, uint16); +#endif +#ifdef LAB_PGTBL +int pgaccess(void *base, int len, void *mask); +// usyscall region +int ugetpid(void); +#endif // ulib.c int stat(const char*, struct stat*); @@ -39,3 +47,4 @@ void free(void*); int atoi(const char*); int memcmp(const void *, const void *, uint); void *memcpy(void *, const void *, uint); +int statistics(void*, int); |
