patch-2.3.39 linux/arch/ppc/mm/4xx_tlb.h

Next file: linux/arch/ppc/mm/init.c
Previous file: linux/arch/ppc/mm/4xx_tlb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/arch/ppc/mm/4xx_tlb.h linux/arch/ppc/mm/4xx_tlb.h
@@ -0,0 +1,35 @@
+/*
+ *
+ *    Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu>
+ *
+ *    Module name: 4xx_tlb.h
+ *
+ *    Description:
+ *      Routines for manipulating the TLB on PowerPC 400-class processors.
+ *
+ */
+
+#ifndef __4XX_TLB_H__
+#define __4XX_TLB_H__
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Function Prototypes */
+
+extern void	 PPC4xx_tlb_pin(unsigned long va, unsigned long pa,
+				int pagesz, int cache);
+extern void	 PPC4xx_tlb_unpin(unsigned long va, unsigned long pa,
+				  int size);
+extern void	 PPC4xx_tlb_flush_all(void);
+extern void	 PPC4xx_tlb_flush(unsigned long va, int pid);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __4XX_TLB_H__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)