patch-2.1.16 linux/include/asm-sparc/pgtable.h
Next file: linux/include/asm-sparc/pgtsun4c.h
Previous file: linux/include/asm-sparc/page.h
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Fri Dec 13 11:37:40 1996
- Orig file:
v2.1.15/linux/include/asm-sparc/pgtable.h
- Orig date:
Tue Nov 12 15:56:13 1996
diff -u --recursive --new-file v2.1.15/linux/include/asm-sparc/pgtable.h linux/include/asm-sparc/pgtable.h
@@ -1,4 +1,4 @@
-/* $Id: pgtable.h,v 1.51 1996/10/27 08:55:32 davem Exp $ */
+/* $Id: pgtable.h,v 1.54 1996/12/03 02:38:31 davem Exp $ */
#ifndef _SPARC_PGTABLE_H
#define _SPARC_PGTABLE_H
@@ -255,6 +255,8 @@
extern pgd_t * (*pgd_alloc)(void);
+extern void (*pgd_flush)(pgd_t *);
+
/* Fine grained cache/tlb flushing. */
#ifdef __SMP__
@@ -272,6 +274,8 @@
extern void (*local_flush_page_to_ram)(unsigned long address);
+extern void (*local_flush_sig_insns)(struct mm_struct *mm, unsigned long insn_addr);
+
extern void smp_flush_cache_all(void);
extern void smp_flush_cache_mm(struct mm_struct *mm);
extern void smp_flush_cache_range(struct mm_struct *mm,
@@ -286,6 +290,7 @@
unsigned long end);
extern void smp_flush_tlb_page(struct vm_area_struct *mm, unsigned long page);
extern void smp_flush_page_to_ram(unsigned long page);
+extern void smp_flush_sig_insns(struct mm_struct *mm, unsigned long insn_addr);
#endif
extern void (*flush_cache_all)(void);
@@ -301,6 +306,8 @@
extern void (*flush_page_to_ram)(unsigned long page);
+extern void (*flush_sig_insns)(struct mm_struct *mm, unsigned long insn_addr);
+
/* The permissions for pgprot_val to make a page mapped on the obio space */
extern unsigned int pg_iobits;
@@ -329,9 +336,9 @@
extern int invalid_segment;
-#define SWP_TYPE(entry) (((entry)>>2) & 0x7f)
-#define SWP_OFFSET(entry) (((entry) >> 9) & 0x7ffff)
-#define SWP_ENTRY(type,offset) (((type) << 2) | ((offset) << 9))
+#define SWP_TYPE(entry) (((entry) >> 2) & 0x7f)
+#define SWP_OFFSET(entry) (((entry) >> 9) & 0x3ffff)
+#define SWP_ENTRY(type,offset) ((((type) & 0x7f) << 2) | (((offset) & 0x3ffff) << 9))
struct ctx_list {
struct ctx_list *next;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov