2008-09-12 07:19:21 +00:00
|
|
|
#ifndef _SPARC64_MM_INIT_H
|
|
|
|
#define _SPARC64_MM_INIT_H
|
|
|
|
|
2013-09-18 22:39:06 +00:00
|
|
|
#include <asm/page.h>
|
|
|
|
|
2008-09-12 07:19:21 +00:00
|
|
|
/* Most of the symbols in this file are defined in init.c and
|
|
|
|
* marked non-static so that assembler code can get at them.
|
|
|
|
*/
|
|
|
|
|
2013-09-18 22:39:06 +00:00
|
|
|
#define MAX_PHYS_ADDRESS (1UL << MAX_PHYS_ADDRESS_BITS)
|
2008-09-12 07:19:21 +00:00
|
|
|
|
2012-09-07 01:13:58 +00:00
|
|
|
extern unsigned long kern_linear_pte_xor[4];
|
2008-09-12 07:19:21 +00:00
|
|
|
extern unsigned int sparc64_highest_unlocked_tlb_ent;
|
|
|
|
extern unsigned long sparc64_kern_pri_context;
|
|
|
|
extern unsigned long sparc64_kern_pri_nuc_bits;
|
|
|
|
extern unsigned long sparc64_kern_sec_context;
|
2014-05-16 21:25:51 +00:00
|
|
|
void mmu_info(struct seq_file *m);
|
2008-09-12 07:19:21 +00:00
|
|
|
|
|
|
|
struct linux_prom_translation {
|
|
|
|
unsigned long virt;
|
|
|
|
unsigned long size;
|
|
|
|
unsigned long data;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Exported for kernel TLB miss handling in ktlb.S */
|
|
|
|
extern struct linux_prom_translation prom_trans[512];
|
|
|
|
extern unsigned int prom_trans_ents;
|
|
|
|
|
|
|
|
/* Exported for SMP bootup purposes. */
|
|
|
|
extern unsigned long kern_locked_tte_data;
|
|
|
|
|
2014-05-16 21:25:51 +00:00
|
|
|
void prom_world(int enter);
|
2008-09-12 07:19:21 +00:00
|
|
|
|
|
|
|
#endif /* _SPARC64_MM_INIT_H */
|