12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- #pragma once
- #include "mm.h"
- #define __VMA_MERGED 1
- void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, struct vm_area_struct *prev);
- void __vma_unlink_list(struct mm_struct *mm, struct vm_area_struct *vma);
- uint64_t __mm_get_paddr(struct mm_struct *mm, uint64_t vaddr);
- struct anon_vma_t *__anon_vma_create_alloc(struct Page *page, bool lock_page);
- int __anon_vma_free(struct anon_vma_t *anon_vma);
- int __anon_vma_add(struct anon_vma_t *anon_vma, struct vm_area_struct *vma);
- int __anon_vma_del(struct vm_area_struct *vma);
- struct Page* __create_mmio_page_struct(uint64_t paddr);
- #define CROSS_2M_BOUND(val1, val2) ((val1 & PAGE_2M_MASK) != (val2 & PAGE_2M_MASK))
|