mmu.h 521 B

12345678910111213141516171819202122
  1. #ifndef __ASM_MMU_H
  2. #define __ASM_MMU_H
  3. #include <linux/atomic.h>
  4. #include <linux/spinlock.h>
  5. #include <linux/wait.h>
  6. typedef struct {
  7. unsigned long asid[NR_CPUS];
  8. void *vdso;
  9. atomic_t fp_mode_switching;
  10. /* lock to be held whilst modifying fp_bd_emupage_allocmap */
  11. spinlock_t bd_emupage_lock;
  12. /* bitmap tracking allocation of fp_bd_emupage */
  13. unsigned long *bd_emupage_allocmap;
  14. /* wait queue for threads requiring an emuframe */
  15. wait_queue_head_t bd_emupage_queue;
  16. } mm_context_t;
  17. #endif /* __ASM_MMU_H */