Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _SPARC64_MM_INIT_H
0003 #define _SPARC64_MM_INIT_H
0004 
0005 #include <asm/page.h>
0006 
0007 /* Most of the symbols in this file are defined in init.c and
0008  * marked non-static so that assembler code can get at them.
0009  */
0010 
0011 #define MAX_PHYS_ADDRESS    (1UL << MAX_PHYS_ADDRESS_BITS)
0012 
0013 extern unsigned long kern_linear_pte_xor[4];
0014 extern unsigned int sparc64_highest_unlocked_tlb_ent;
0015 extern unsigned long sparc64_kern_pri_context;
0016 extern unsigned long sparc64_kern_pri_nuc_bits;
0017 extern unsigned long sparc64_kern_sec_context;
0018 void mmu_info(struct seq_file *m);
0019 
0020 struct linux_prom_translation {
0021     unsigned long virt;
0022     unsigned long size;
0023     unsigned long data;
0024 };
0025 
0026 /* Exported for kernel TLB miss handling in ktlb.S */
0027 extern struct linux_prom_translation prom_trans[512];
0028 extern unsigned int prom_trans_ents;
0029 
0030 /* Exported for SMP bootup purposes. */
0031 extern unsigned long kern_locked_tte_data;
0032 
0033 void prom_world(int enter);
0034 
0035 #endif /* _SPARC64_MM_INIT_H */