[net.unix-wizards] Accessing physical memory and phys

grt@twitch.UUCP ( G.R.Tomasevich) (12/18/85)

> Phys() is nonstandard. ...
>     Mats Wichmann

One can always access device registers, physical memory, or whatever with
/dev/mem, a la Rob Warnock.  Read the memory mapping registers and do the
same calculations that the processor does.  I assume all flavors of UNIX
have some memory access system call.  Be sure to plock(2) the process, so
some process user structure does not swap into your DMA buffer (crash, tinkle).
-- 
	George Tomasevich, ihnp4!twitch!grt
	AT&T Bell Laboratories, Holmdel, NJ