init_64.h 969 B

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