cachetlb_32.h 843 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _SPARC_CACHETLB_H
  2. #define _SPARC_CACHETLB_H
  3. struct mm_struct;
  4. struct vm_area_struct;
  5. struct sparc32_cachetlb_ops {
  6. void (*cache_all)(void);
  7. void (*cache_mm)(struct mm_struct *);
  8. void (*cache_range)(struct vm_area_struct *, unsigned long,
  9. unsigned long);
  10. void (*cache_page)(struct vm_area_struct *, unsigned long);
  11. void (*tlb_all)(void);
  12. void (*tlb_mm)(struct mm_struct *);
  13. void (*tlb_range)(struct vm_area_struct *, unsigned long,
  14. unsigned long);
  15. void (*tlb_page)(struct vm_area_struct *, unsigned long);
  16. void (*page_to_ram)(unsigned long);
  17. void (*sig_insns)(struct mm_struct *, unsigned long);
  18. void (*page_for_dma)(unsigned long);
  19. };
  20. extern const struct sparc32_cachetlb_ops *sparc32_cachetlb_ops;
  21. #ifdef CONFIG_SMP
  22. extern const struct sparc32_cachetlb_ops *local_ops;
  23. #endif
  24. #endif /* SPARC_CACHETLB_H */