ucu.h 531 B

123456789101112131415161718192021
  1. #define FLASHMEM (~0)
  2. #define MEM1BASE 0
  3. #define MEM1SIZE 0x02000000
  4. #define MEM2BASE 0
  5. #define MEM2SIZE 0
  6. #define PLAN9INI (~0)
  7. #define Saturn 0xf0000000
  8. #define TLBENTRIES 128
  9. /*
  10. * PTE bits for fault.c. These belong to the second PTE word. Validity is
  11. * implied for putmmu(), and we always set PTE0_V. PTEVALID is used
  12. * here to set cache policy bits on a global basis.
  13. */
  14. #define PTEVALID (PTE1_M|PTE1_W) /* write through */
  15. #define PTEWRITE (PTE1_RW|PTE1_C)
  16. #define PTERONLY PTE1_RO
  17. #define PTEUNCACHED PTE1_I