set_memory.h 516 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. #ifndef _ASM_ARM64_SET_MEMORY_H
  3. #define _ASM_ARM64_SET_MEMORY_H
  4. #include <asm/mem_encrypt.h>
  5. #include <asm-generic/set_memory.h>
  6. bool can_set_direct_map(void);
  7. #define can_set_direct_map can_set_direct_map
  8. int set_memory_valid(unsigned long addr, int numpages, int enable);
  9. int set_direct_map_invalid_noflush(struct page *page);
  10. int set_direct_map_default_noflush(struct page *page);
  11. bool kernel_page_present(struct page *page);
  12. #endif /* _ASM_ARM64_SET_MEMORY_H */