diff options
author | Sanjit Bhat <[email protected]> | 2023-10-25 19:42:59 -0400 |
---|---|---|
committer | Sanjit Bhat <[email protected]> | 2023-10-25 19:42:59 -0400 |
commit | 1ed40716eb54e371df9d1814b9129666b3fe4f09 (patch) | |
tree | 84666aacb6d6a9554b09500c0b0420870af2e19e /user/user.h | |
parent | 74c1eba516fdb0ec1a17b16be7e76613ccba92bf (diff) | |
download | xv6-labs-1ed40716eb54e371df9d1814b9129666b3fe4f09.tar.gz xv6-labs-1ed40716eb54e371df9d1814b9129666b3fe4f09.tar.bz2 xv6-labs-1ed40716eb54e371df9d1814b9129666b3fe4f09.zip |
release lab net
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); |