pat.h 365 B

123456789101112131415161718
  1. #ifndef _ASM_X86_PAT_H
  2. #define _ASM_X86_PAT_H
  3. #include <linux/types.h>
  4. #ifdef CONFIG_X86_PAT
  5. extern int pat_enabled;
  6. #else
  7. static const int pat_enabled;
  8. #endif
  9. extern void pat_init(void);
  10. extern int reserve_memtype(u64 start, u64 end,
  11. unsigned long req_type, unsigned long *ret_type);
  12. extern int free_memtype(u64 start, u64 end);
  13. #endif /* _ASM_X86_PAT_H */