From 9a652bf4cfc943a5a59d23ea19c1efb202af5286 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 12 Aug 2025 21:49:20 -0400 Subject: 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 --- sys/include/vm/physmem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include/vm') 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); -- cgit v1.2.3