mm: add flags argument to mm_cache_get_page

This commit is contained in:
Matheus
2026-07-18 15:24:31 -03:00
parent b9531c0ec7
commit 6e5e9ecdc5
5 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ void mm_init();
extern size_t mm_cache_cached_pages;
void mm_cache_init(void);
int mm_cache_get_page(vnode_t *vnode, uintmax_t offset, page_t **res);
int mm_cache_get_page(vnode_t *vnode, uintmax_t offset, int flags, page_t **res);
int mm_cache_take_page(page_t *page);
int mm_cache_make_dirty(page_t *page);
int mm_cache_truncate(vnode_t *vnode, uintmax_t offset);