init_64.h 930 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _SPARC64_MM_INIT_H
  2. #define _SPARC64_MM_INIT_H
  3. #include <asm/page.h>
  4. /* Most of the symbols in this file are defined in init.c and
  5. * marked non-static so that assembler code can get at them.
  6. */
  7. #define MAX_PHYS_ADDRESS (1UL << MAX_PHYS_ADDRESS_BITS)
  8. extern unsigned long kern_linear_pte_xor[4];
  9. extern unsigned int sparc64_highest_unlocked_tlb_ent;
  10. extern unsigned long sparc64_kern_pri_context;
  11. extern unsigned long sparc64_kern_pri_nuc_bits;
  12. extern unsigned long sparc64_kern_sec_context;
  13. void mmu_info(struct seq_file *m);
  14. struct linux_prom_translation {
  15. unsigned long virt;
  16. unsigned long size;
  17. unsigned long data;
  18. };
  19. /* Exported for kernel TLB miss handling in ktlb.S */
  20. extern struct linux_prom_translation prom_trans[512];
  21. extern unsigned int prom_trans_ents;
  22. /* Exported for SMP bootup purposes. */
  23. extern unsigned long kern_locked_tte_data;
  24. void prom_world(int enter);
  25. #endif /* _SPARC64_MM_INIT_H */