patch-2.3.48 linux/arch/mips/mm/tfp.c
Next file: linux/arch/mips/mm/umap.c
Previous file: linux/arch/mips/mm/r6000.c
Back to the patch index
Back to the overall index
- Lines: 121
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.3.47/linux/arch/mips/mm/tfp.c
- Orig date:
Tue Aug 31 17:29:12 1999
diff -u --recursive --new-file v2.3.47/linux/arch/mips/mm/tfp.c linux/arch/mips/mm/tfp.c
@@ -1,120 +0,0 @@
-/* $Id: tfp.c,v 1.6 1999/01/04 16:03:55 ralf Exp $
- *
- * tfp.c: MMU and cache routines specific to the r8000 (TFP).
- *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
- *
- */
-#include <linux/init.h>
-#include <linux/kernel.h>
-#include <linux/sched.h>
-#include <linux/mm.h>
-
-#include <asm/page.h>
-#include <asm/pgtable.h>
-#include <asm/system.h>
-#include <asm/sgialib.h>
-#include <asm/mmu_context.h>
-
-extern unsigned long mips_tlb_entries;
-
-/* Cache operations. XXX Write these dave... */
-static inline void tfp_flush_cache_all(void)
-{
- /* XXX */
-}
-
-static void tfp_flush_cache_mm(struct mm_struct *mm)
-{
- /* XXX */
-}
-
-static void tfp_flush_cache_range(struct mm_struct *mm,
- unsigned long start,
- unsigned long end)
-{
- /* XXX */
-}
-
-static void tfp_flush_cache_page(struct vm_area_struct *vma,
- unsigned long page)
-{
- /* XXX */
-}
-
-static void tfp_flush_page_to_ram(unsigned long page)
-{
- /* XXX */
-}
-
-static void tfp_flush_cache_sigtramp(unsigned long page)
-{
- /* XXX */
-}
-
-/* TLB operations. XXX Write these dave... */
-static inline void tfp_flush_tlb_all(void)
-{
- /* XXX */
-}
-
-static void tfp_flush_tlb_mm(struct mm_struct *mm)
-{
- /* XXX */
-}
-
-static void tfp_flush_tlb_range(struct mm_struct *mm, unsigned long start,
- unsigned long end)
-{
- /* XXX */
-}
-
-static void tfp_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
-{
- /* XXX */
-}
-
-static void tfp_load_pgd(unsigned long pg_dir)
-{
-}
-
-static void tfp_pgd_init(unsigned long page)
-{
-}
-
-static void tfp_add_wired_entry(unsigned long entrylo0, unsigned long entrylo1,
- unsigned long entryhi, unsigned long pagemask)
-{
- /* XXX */
-}
-
-static int tfp_user_mode(struct pt_regs *regs)
-{
- return (regs->cp0_status & ST0_KSU) == KSU_USER;
-}
-
-void __init ld_mmu_tfp(void)
-{
- flush_cache_all = tfp_flush_cache_all;
- flush_cache_mm = tfp_flush_cache_mm;
- flush_cache_range = tfp_flush_cache_range;
- flush_cache_page = tfp_flush_cache_page;
- flush_cache_sigtramp = tfp_flush_cache_sigtramp;
- flush_page_to_ram = tfp_flush_page_to_ram;
-
- flush_tlb_all = tfp_flush_tlb_all;
- flush_tlb_mm = tfp_flush_tlb_mm;
- flush_tlb_range = tfp_flush_tlb_range;
- flush_tlb_page = tfp_flush_tlb_page;
- tfp_asid_setup();
-
- add_wired_entry = tfp_add_wired_entry;
-
- user_mode = tfp_user_mode;
-
- load_pgd = tfp_load_pgd;
- pgd_init = tfp_pgd_init;
-
- flush_cache_all();
- flush_tlb_all();
-}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)