🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.internals
1 messages
1 total messages Started by Alex S. Waterman Wed, 11 Nov 1992 07:19
peek()ing a location
#1459
Author: Alex S. Waterman
Date: Wed, 11 Nov 1992 07:19
19 lines
1378 bytes
All,
	I have implemented a device driver in SunOS 4.1.1 that communicates
with a 68040 on the VME backplane.  In some circumstances I would like to
use a _guarded_ access mechanism to check the memory directly on the board. 
Guarded in the sense that if I reference it it won't dump the kernel.  The
68040 is occasionally locking the VME bus and I would like to sense this
without the kernel dumping.
(the memory has been mapped in, etc.  I can access it most of the time.)

	The peek() routine is perfect for this but the Sun manual says to only
use it in the probe() routine.  I would like to use it in my strategy() 
routine.  Is there any known reason why I can't?  No reason is given.
	If I can't use peek(), is there another way to accomplish this?  


	Thanks for your help.

 - Alex Waterman
   Alex@virginia.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads