mm: vmmcache -> mm_cache

This commit is contained in:
Matheus
2026-07-01 12:22:11 -03:00
parent 4d1caa6ede
commit d890eb5fb2
14 changed files with 81 additions and 82 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
#include <kernel/syscalls.h>
#include <kernel/vmmcache.h>
#include <kernel/mm.h>
syscallret_t syscall_sync(context_t *) {
syscallret_t ret = {0};
vmmcache_sync();
mm_cache_sync();
return ret;
}
+2 -2
View File
@@ -1,7 +1,7 @@
#include <kernel/syscalls.h>
#include <arch/cpu.h>
#include <kernel/page.h>
#include <kernel/vmmcache.h>
#include <kernel/mm.h>
#include <kernel/proc.h>
typedef struct {
@@ -33,7 +33,7 @@ syscallret_t syscall_sysinfo(context_t *, sysinfo_t *usysinfo) {
.totalram = total_pages,
.freeram = free_pages,
.sharedram = 0,
.bufferram = vmmcache_cachedpages,
.bufferram = mm_cache_cached_pages,
.totalswap = 0,
.freeswap = 0,
.procs = proc_get_count(),