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>
14 static char shouldnothappen
[] __initdata
= "SUN4 kernel can only run on SUN4\n";
16 enum mbus_module srmmu_modtype
;
17 void *srmmu_nocache_pool
;
19 int vac_cache_size
= 0;
21 static void __init
should_not_happen(void)
23 prom_printf(shouldnothappen
);
27 void __init
srmmu_frob_mem_map(unsigned long start_mem
)
32 unsigned long __init
srmmu_paging_init(unsigned long start_mem
, unsigned long end_mem
)
38 void __init
ld_mmu_srmmu(void)
43 void srmmu_mapioaddr(unsigned long physaddr
, unsigned long virt_addr
, int bus_type
, int rdonly
)
47 void srmmu_unmapioaddr(unsigned long virt_addr
)
51 __u32
iounit_map_dma_init(struct sbus_bus
*sbus
, int size
)
56 __u32
iounit_map_dma_page(__u32 vaddr
, void *addr
, struct sbus_bus
*sbus
)