1 /* $Id: nosrmmu.c,v 1.3 1999/08/31 06:54:35 davem Exp $
2 * nosrmmu.c: This file is a bunch of dummies for sun4 compiles,
3 * so that it does not need srmmu and avoid ifdefs.
5 * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
8 #include <linux/kernel.h>
10 #include <linux/init.h>
13 static char shouldnothappen
[] __initdata
= "SUN4 kernel can only run on SUN4\n";
15 enum mbus_module srmmu_modtype
;
17 static void __init
should_not_happen(void)
19 prom_printf(shouldnothappen
);
23 void __init
srmmu_frob_mem_map(unsigned long start_mem
)
28 unsigned long __init
srmmu_paging_init(unsigned long start_mem
, unsigned long end_mem
)
34 void __init
ld_mmu_srmmu(void)
39 void srmmu_mapioaddr(unsigned long physaddr
, unsigned long virt_addr
, int bus_type
, int rdonly
)
43 void srmmu_unmapioaddr(unsigned long virt_addr
)
47 void __init
srmmu_end_memory(unsigned long memory_size
, unsigned long *mem_end_p
)
52 __u32
iounit_map_dma_init(struct linux_sbus
*sbus
, int size
)
57 __u32
iounit_map_dma_page(__u32 vaddr
, void *addr
, struct linux_sbus
*sbus
)