Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
nosrmmu.c
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 1k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- /* $Id: nosrmmu.c,v 1.5 1999/11/19 04:11:54 davem Exp $
- * nosrmmu.c: This file is a bunch of dummies for sun4 compiles,
- * so that it does not need srmmu and avoid ifdefs.
- *
- * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
- */
- #include <linux/kernel.h>
- #include <linux/mm.h>
- #include <linux/init.h>
- #include <asm/mbus.h>
- static char shouldnothappen[] __initdata = "SUN4 kernel can only run on SUN4n";
- enum mbus_module srmmu_modtype;
- int vac_cache_size = 0;
- static void __init should_not_happen(void)
- {
- prom_printf(shouldnothappen);
- prom_halt();
- }
- void __init srmmu_frob_mem_map(unsigned long start_mem)
- {
- should_not_happen();
- }
- unsigned long __init srmmu_paging_init(unsigned long start_mem, unsigned long end_mem)
- {
- should_not_happen();
- return 0;
- }
- void __init ld_mmu_srmmu(void)
- {
- should_not_happen();
- }
- void srmmu_mapioaddr(unsigned long physaddr, unsigned long virt_addr, int bus_type, int rdonly)
- {
- }
- void srmmu_unmapioaddr(unsigned long virt_addr)
- {
- }
- void __init srmmu_end_memory(unsigned long memory_size, unsigned long *mem_end_p)
- {
- return 0;
- }
- __u32 iounit_map_dma_init(struct sbus_bus *sbus, int size)
- {
- return 0;
- }
- __u32 iounit_map_dma_page(__u32 vaddr, void *addr, struct sbus_bus *sbus)
- {
- return 0;
- }