diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-12 21:49:20 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-12 22:02:13 -0400 |
commit | 9a652bf4cfc943a5a59d23ea19c1efb202af5286 (patch) | |
tree | e30fffa19143440da0d60cbbe8c5c741bdb483bf /sys/include/vm | |
parent | feab44d461465f19a8fda7250a422ff75fef3929 (diff) |
kernel: vm: Add total system memory in vmstat
This commit introduces reporting of total system memory supported
through the vmstat subsystem
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm')
-rw-r--r-- | sys/include/vm/physmem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/vm/physmem.h b/sys/include/vm/physmem.h index e16bcf9..3f1da61 100644 --- a/sys/include/vm/physmem.h +++ b/sys/include/vm/physmem.h @@ -34,6 +34,7 @@ uint32_t vm_mem_used(void); uint32_t vm_mem_free(void); +size_t vm_mem_total(void); void vm_physmem_init(void); uintptr_t vm_alloc_frame(size_t count); |