mmu_32.h 314 B

123456789101112131415161718
  1. #ifndef __i386_MMU_H
  2. #define __i386_MMU_H
  3. #include <asm/semaphore.h>
  4. /*
  5. * The i386 doesn't have a mmu context, but
  6. * we put the segment information here.
  7. *
  8. * cpu_vm_mask is used to optimize ldt flushing.
  9. */
  10. typedef struct {
  11. int size;
  12. struct semaphore sem;
  13. void *ldt;
  14. void *vdso;
  15. } mm_context_t;
  16. #endif