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
vmMpuLib.c
Package: vxwork_src.rar [view]
Upload User: nvosite88
Upload Date: 2007-01-17
Package Size: 4983k
Code Size: 1k
Category:
VxWorks
Development Platform:
C/C++
- /* vmMpuLib.c - MPU virtual memory support library */
- /* Copyright 1984-1998 Wind River Systems, Inc. */
- #include "copyright_wrs.h"
- /*
- modification history
- --------------------
- 01a,02jul98,jpd written.
- */
- /*
- This library provides MMU (Memory Management Unit) support on a
- processor with a Protection Unit style of MMU (MPU) rather than a full
- page-table based MMU.
- INTERNAL
- The file defines the MACRO BUILD_MPU_LIB and includes the file
- vmBaseLib.c, which is then compiled to produce routines with different
- names (to avoid clashes with vmBaseLib.c). This is because the
- libraries are very similar, and we wish to avoid having two copies of
- the file, which do not differ greatly.
- CONFIGURATION
- To include the MPU support library in VxWorks, define INCLUDE_MMU_MPU
- in config.h. Note that the three options INCLUDE_MMU_MPU,
- INCLUDE_MMU_BASIC and INCLUDE_MMU_FULL are mutually exclusive: only
- one of the three can be selected.
- SEE ALSO: vmBaseLib, vmLib, vmShow,
- .pG "Virtual Memory"
- */
- /* compile conditionally for MPUs */
- #define BUILD_MPU_LIB
- /* ensure the non-static routines will have different names */
- #define vmBaseLibInit vmMpuLibInit
- #define vmBaseGlobalMapInit vmMpuGlobalMapInit
- #define vmBasePageSizeGet vmMpuPageSizeGet
- #define vmBaseStateSet vmMpuStateSet
- #define mutexOptionsVmBaseLib mutexOptionsVmMpuLib
- #include "vmBaseLib.c"