X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/69777bdcab284335651a8002e2896f3862fa423d..669e8fc63dd1aa7fe4c830b1d40371a1ab47fc4f:/lunaix-os/includes/lunaix/mm/procvm.h diff --git a/lunaix-os/includes/lunaix/mm/procvm.h b/lunaix-os/includes/lunaix/mm/procvm.h index 820bf1e..f75cb96 100644 --- a/lunaix-os/includes/lunaix/mm/procvm.h +++ b/lunaix-os/includes/lunaix/mm/procvm.h @@ -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 * @@ -108,4 +111,14 @@ procvm_copy_remote(struct remote_vmctx* rvmctx, void procvm_exit_remote(struct remote_vmctx* rvmctx); +/* + architecture-specific +*/ + +void +procvm_link_kernel(ptr_t dest_mnt); + +void +procvm_unlink_kernel(ptr_t dest_mnt); + #endif /* __LUNAIX_PROCVM_H */