Lines Matching refs:uint64_t
190 uint64_t default_access_right;
198 uint64_t pgentry_present_mask;
206 bool (*large_page_support)(enum _page_table_level level, uint64_t prot);
208 void (*tweak_exe_right)(uint64_t *entry); /**< Function to tweak execution rights for an entry. */
209 …void (*recover_exe_right)(uint64_t *entry); /**< Function to recover execution rights for an entry…
234 static inline bool pgentry_present(const struct pgtable *table, uint64_t pte) in pgentry_present()
259 static inline void *hpa2hva_early(uint64_t x) in hpa2hva_early()
284 static inline uint64_t hva2hpa_early(void *x) in hva2hpa_early()
286 return (uint64_t)x; in hva2hpa_early()
308 static inline void *hpa2hva(uint64_t x) in hpa2hva()
332 static inline uint64_t hva2hpa(const void *x) in hva2hpa()
334 return (uint64_t)x; in hva2hpa()
337 static inline uint64_t pml4e_index(uint64_t address) in pml4e_index()
342 static inline uint64_t pdpte_index(uint64_t address) in pdpte_index()
347 static inline uint64_t pde_index(uint64_t address) in pde_index()
352 static inline uint64_t pte_index(uint64_t address) in pte_index()
357 static inline uint64_t *pml4e_page_vaddr(uint64_t pml4e) in pml4e_page_vaddr()
362 static inline uint64_t *pdpte_page_vaddr(uint64_t pdpte) in pdpte_page_vaddr()
367 static inline uint64_t *pde_page_vaddr(uint64_t pde) in pde_page_vaddr()
392 static inline uint64_t *pml4e_offset(uint64_t *pml4_page, uint64_t addr) in pml4e_offset()
417 static inline uint64_t *pdpte_offset(const uint64_t *pml4e, uint64_t addr) in pdpte_offset()
442 static inline uint64_t *pde_offset(const uint64_t *pdpte, uint64_t addr) in pde_offset()
467 static inline uint64_t *pte_offset(const uint64_t *pde, uint64_t addr) in pte_offset()
475 static inline uint64_t get_pgentry(const uint64_t *pte) in get_pgentry()
483 static inline void set_pgentry(uint64_t *ptep, uint64_t pte, const struct pgtable *table) in set_pgentry()
509 static inline uint64_t pde_large(uint64_t pde) in pde_large()
534 static inline uint64_t pdpte_large(uint64_t pdpte) in pdpte_large()
539 void init_sanitized_page(uint64_t *sanitized_page, uint64_t hpa);
543 void *nworld_pml4_page, uint64_t prot_table_present, uint64_t prot_clr);
547 const uint64_t *pgtable_lookup_entry(uint64_t *pml4_page, uint64_t addr,
548 uint64_t *pg_size, const struct pgtable *table);
550 void pgtable_add_map(uint64_t *pml4_page, uint64_t paddr_base,
551 uint64_t vaddr_base, uint64_t size,
552 uint64_t prot, const struct pgtable *table);
553 void pgtable_modify_or_del_map(uint64_t *pml4_page, uint64_t vaddr_base,
554 uint64_t size, uint64_t prot_set, uint64_t prot_clr,