pte-hash64-4k.h 632 B

1234567891011121314151617
  1. /* To be include by pgtable-hash64.h only */
  2. /* PTE bits */
  3. #define _PAGE_HASHPTE 0x0400 /* software: pte has an associated HPTE */
  4. #define _PAGE_SECONDARY 0x8000 /* software: HPTE is in secondary group */
  5. #define _PAGE_GROUP_IX 0x7000 /* software: HPTE index within group */
  6. #define _PAGE_F_SECOND _PAGE_SECONDARY
  7. #define _PAGE_F_GIX _PAGE_GROUP_IX
  8. #define _PAGE_SPECIAL 0x10000 /* software: special page */
  9. /* PTE flags to conserve for HPTE identification */
  10. #define _PAGE_HPTEFLAGS (_PAGE_BUSY | _PAGE_HASHPTE | \
  11. _PAGE_SECONDARY | _PAGE_GROUP_IX)
  12. /* shift to put page number into pte */
  13. #define PTE_RPN_SHIFT (17)