reduce the size of ppage by 8 bytes using signly linked list
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / procvm.h
index 82a2de35a2e252584b3c847041361ba5aeb7bdd4..f75cb965a07600d1a8de9ddb56d01f588eeba298 100644 (file)
@@ -49,6 +49,9 @@ struct proc_mm
 struct proc_mm*
 procvm_create(struct proc_info* proc);
 
+void
+procvm_prune_vmr(ptr_t vm_mnt, struct mm_region* region);
+
 /**
  * @brief Initialize and mount the vm of `proc` to duplication of current process
  * 
@@ -116,6 +119,6 @@ void
 procvm_link_kernel(ptr_t dest_mnt);
 
 void
-procvm_unlink_kernel();
+procvm_unlink_kernel(ptr_t dest_mnt);
 
 #endif /* __LUNAIX_PROCVM_H */