pgtable-bits.h 980 B

1234567891011121314151617181920212223242526
  1. #ifndef _ASM_SCORE_PGTABLE_BITS_H
  2. #define _ASM_SCORE_PGTABLE_BITS_H
  3. #define _PAGE_ACCESSED (1<<5) /* implemented in software */
  4. #define _PAGE_READ (1<<6) /* implemented in software */
  5. #define _PAGE_WRITE (1<<7) /* implemented in software */
  6. #define _PAGE_PRESENT (1<<9) /* implemented in software */
  7. #define _PAGE_MODIFIED (1<<10) /* implemented in software */
  8. #define _PAGE_FILE (1<<10)
  9. #define _PAGE_GLOBAL (1<<0)
  10. #define _PAGE_VALID (1<<1)
  11. #define _PAGE_SILENT_READ (1<<1) /* synonym */
  12. #define _PAGE_DIRTY (1<<2) /* Write bit */
  13. #define _PAGE_SILENT_WRITE (1<<2)
  14. #define _PAGE_CACHE (1<<3) /* cache */
  15. #define _CACHE_MASK (1<<3)
  16. #define _PAGE_BUFFERABLE (1<<4) /*Fallow Spec. */
  17. #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED)
  18. #define __WRITEABLE (_PAGE_WRITE | _PAGE_SILENT_WRITE | _PAGE_MODIFIED)
  19. #define _PAGE_CHG_MASK \
  20. (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_CACHE)
  21. #endif /* _ASM_SCORE_PGTABLE_BITS_H */