cleanup: replace magic 1024 page limit with ProcessMemory::DEFAULT_PAGE_LIMIT

This commit is contained in:
2026-10-18 22:43:18 +02:00
parent 73eed4e5b7
commit cbabe2abfe
3 changed files with 5 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ impl<P: Platform> Kernel<P> {
};
self.process_memory[new_pid.raw() as usize] =
Some(domain::memory::process_memory::ProcessMemory::new(new_pid, 1024));
Some(domain::memory::process_memory::ProcessMemory::new(new_pid, domain::memory::process_memory::ProcessMemory::DEFAULT_PAGE_LIMIT));
match self.grant_cap(
caller_pid,