diff options
author | Robert Morris <[email protected]> | 2023-09-08 09:24:27 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2023-09-08 09:24:27 -0400 |
commit | 18998096701a1d4695b2097006d7afc2a539bd89 (patch) | |
tree | 48ea20d4e59827b69a647e7e3823f40465351909 /user/user.h | |
parent | 74c1eba516fdb0ec1a17b16be7e76613ccba92bf (diff) | |
download | xv6-labs-18998096701a1d4695b2097006d7afc2a539bd89.tar.gz xv6-labs-18998096701a1d4695b2097006d7afc2a539bd89.tar.bz2 xv6-labs-18998096701a1d4695b2097006d7afc2a539bd89.zip |
3rd lab
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); |