mmu.h 946 B

1234567891011121314151617181920
  1. /*
  2. * This file is part of the UCB release of Plan 9. It is subject to the license
  3. * terms in the LICENSE file found in the top-level directory of this
  4. * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
  5. * part of the UCB release of Plan 9, including this file, may be copied,
  6. * modified, propagated, or distributed except according to the terms contained
  7. * in the LICENSE file.
  8. */
  9. /* PML4E/PDPE/PDE/PTE */
  10. #define PteP 0x0000000000000001 /* Valid */
  11. #define PteR 0x0000000000000002 /* Read */
  12. #define PteW 0x0000000000000004 /* Write */
  13. #define PteRW 0x0000000000000006 /* Read/Write */
  14. #define PteX 0x0000000000000008 /* Read */
  15. #define PteFinal 0x0000000000000002 /* Last PTE in the chain */
  16. #define PteU 0x0000000000000010 /* User/Supervisor */
  17. #define PteA 0x0000000000000040 /* Accessed */
  18. #define PteD 0x0000000000000080 /* Dirty */
  19. #define PteG 0x0000000000000020 /* Global */