Newsgroups: comp.sys.sgi
Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!physics.utoronto.ca!chlebana
From: chlebana@physics.utoronto.ca (Frank Chlebana)
Subject: How to access VME space.
Message-ID: <1991Feb14.212914.4760@helios.physics.utoronto.ca>
Sender: news@helios.physics.utoronto.ca (News Administrator)
Nntp-Posting-Host: helios.physics.utoronto.ca
Organization: University of Toronto Physics/Astronomy/CITA
Date: Thu, 14 Feb 1991 21:29:14 GMT

The easiest way to access VME space is through the mmap call. Use man mmap
for more info. You will have to tell your computer what memory is allowed
to be mapped. This is done in the /usr/sysgen/master.d/mem file. You have
to fill in the structure with the address and reconfigure the kernel.

SGI also has a manual called something like "writing device drivers". It
has some examples of writing drivers to access VME space among others.
Also, a useful book to look at is "mips R2000 risc architecture" by 
Gerry Kane, Prentice Hall. It has usefull things like virtual to physical
memory maps.

Frank Chlebana
chlebana@oldkat.physics.utoronto.ca
