kernel/vm: Move a number of init-related methods to a new vm_init.cpp.

This gets around 450 lines of code out of vm.cpp.

No behavioral change intended.
This commit is contained in:
Augustin Cavalier
2026-04-06 22:23:26 -04:00
parent e4f18e3cf4
commit 2448a77520
4 changed files with 463 additions and 431 deletions
+1
View File
@@ -36,6 +36,7 @@ void vm_unreserve_memory_or_swap(size_t bytes);
status_t vm_try_reserve_memory_or_swap(size_t bytes, int priority, bigtime_t timeout);
void vm_debug_init();
void vm_kernel_args_init_post_area(kernel_args* args);
status_t vm_daemon_init(void);
const char *page_state_to_string(int state);