diff options
| author | ArielSzekely <arielszekely@gmail.com> | 2022-09-13 19:01:13 -0400 |
|---|---|---|
| committer | ArielSzekely <arielszekely@gmail.com> | 2022-09-13 19:01:13 -0400 |
| commit | 97223ed907bf489fd051742b0e722b1a4eb5912f (patch) | |
| tree | f8231c1751e569a00b7fc9511f31708cc972e649 /kernel | |
| parent | 3d6ce9b308399f8c49c13653bd4ac21ca2311f26 (diff) | |
| download | xv6-labs-2022-97223ed907bf489fd051742b0e722b1a4eb5912f.tar.xz xv6-labs-2022-97223ed907bf489fd051742b0e722b1a4eb5912f.zip | |
Syscall Lab
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sysinfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sysinfo.h b/kernel/sysinfo.h new file mode 100644 index 0000000..fb878e6 --- /dev/null +++ b/kernel/sysinfo.h @@ -0,0 +1,4 @@ +struct sysinfo { + uint64 freemem; // amount of free memory (bytes) + uint64 nproc; // number of process +}; |
